Commit Graph

145 Commits

Author SHA1 Message Date
Mason Chang
ae16551328 bug 1102453. Read HwcComposer vsync status on main thread. r=mwu 2014-12-17 21:25:09 -08:00
Sotaro Ikeda
783f0617b0 Bug 1109226 - Do not use HwComposer when layer has MaskLayer r=nical 2014-12-11 07:15:52 -08:00
Sotaro Ikeda
68bb70fada Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow 2014-12-06 17:12:50 -08:00
Mason Chang
98228abf0d bug 552020 Part 3: Enable Creation of mozilla::TimeStamp from system timestamps. r=roc 2014-11-18 13:28:42 -08:00
Mason Chang
e99e2f2942 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-18 13:28:42 -08:00
Ryan VanderMeulen
53709e77d1 Backed out changesets a99bd0b3b075, a7fb851f823a, and 9fc2d99376cd (bug 552020) for non-unified bustage and OSX 10.6 tsvgr crashes.
CLOSED TREE
2014-11-14 15:57:35 -05:00
Mason Chang
e59b75720a Bug 552020. Part 3: Enable creation of mozilla::TimeStamp from system Timestamps. r=roc 2014-11-14 08:31:04 -08:00
Mason Chang
7b935a0a43 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-14 08:31:04 -08:00
Robert O'Callahan
c5dac524a3 Bug 1092543. Intersect bufferRect with visibleRect to ensure that the gralloc buffer offset is taken into account. r=sotaro
The patch in bug 1073252 assumed that the gralloc buffer is always at
(0,0,w,h) in layer coordinates, which is incorrect. When intersecting
the gralloc buffer bounds with the visible rect, we need to take the gralloc
buffer's offset (state.mOffset) into account. Fortunately bufferRect already
contains this, so let's just use that.
2014-11-06 09:59:10 +13:00
Robert O'Callahan
bb548dbf4d Bug 1073252. Part 3: Use opaque flag from LayerRenderState in HWC. r=sotaro 2014-10-30 15:32:41 +13:00
Carsten "Tomcat" Book
a7365a461e merge mozilla-inbound to mozilla-central a=merge 2014-10-30 14:45:37 +01:00
Mason Chang
a74f8c5eae bug 1083530. Part 2 Refactor GeckoTouchDispacher to use mozilla::Timestamp instead of nsecs_t. r=mwu 2014-10-29 13:37:06 -07:00
Benoit Girard
379cade444 Bug 1089040 - Fix HWC opacity check for largers with complex regions. r=sotaro 2014-10-29 16:07:11 -04:00
Mason Chang
695e5463e3 Bug 1048667. Small vsync framework. r=roc 2014-10-23 18:50:31 -07:00
Mason Chang
4fb25a05b0 Bug 1048667. Skeleton vsync framework and vsync aligned compositor. r=benwa,roc 2014-10-21 15:40:54 -07:00
Sushil Chauhan
aaa348a3eb Bug 1078189 - Back out bug 1059023 for causing regression. r=dwilson 2014-10-06 16:28:46 -07:00
Mason Chang
e48203c016 Bug 1073545 - Add Vsync Markers to SPS Profiler. r=benwa 2014-10-01 13:01:59 -07:00
Markus Stange
a15e939a69 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc 2014-09-26 13:06:08 -04:00
Sotaro Ikeda
d165de40c1 Bug 1005322 - Implement invalidate hook for HwcComposer2D r=Sushil,mwu 2014-09-24 06:50:45 -07:00
Sushil Chauhan
cf3e30ea58 Bug 1071704 - HWC hooks registration should not depend on H/W Vsync. r=sotaro 2014-09-23 11:14:39 -07:00
Jeff Muizelaar
4f3610dd6b Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.

Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.
2014-09-10 15:59:00 -04:00
Mason Chang
cf5003295a Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-31 15:38:00 -07:00
Mason Chang
eb609ec17f backout of bug 970751 for intermittent ICS Debug. 2014-08-30 17:18:29 -07:00
Mason Chang
d36d5be3af Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-30 14:04:15 -07:00
Wes Kocher
836efb1031 Backed out changeset 3ab215c50844 (bug 970751) for leaks a=backout 2014-08-29 17:43:17 -07:00
Mason Chang
c7ee984e04 Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-29 16:18:04 -07:00
Sushil Chauhan
403d9d7023 Bug 1059023 - Do not compose layer hidden under the opaque layer. r=mattwoodrow 2014-08-28 10:44:03 -07:00
Boris Chiou
fe8104f342 Bug 987527 - Register Vsync monitor to HWComposer. r=mwu
In order to enable/disable the Vsync from mHwc, we should make sure
the order of each command is correct. In this patch, I added an
interface for registering these mHwc callback functions and some
accessor/helper functions for manipulating Hwc Vsync.
2014-08-27 01:17:00 -04:00
David Zbarsky
2dbff47ace Bug 952977: Various other changes of gfx3DMatrix -> Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
Ed Morley
380445ca3c Backed out changeset 3325dc888b50 (bug 952977) for build failures 2014-08-21 16:57:44 +01:00
David Zbarsky
cbb4771267 Bug 952977: Various other changes of gfx3DMatrix -> Matrix4x4 r=nical 2014-08-21 11:35:28 -04:00
Sushil Chauhan
46bc0e4bd2 Bug 1047149 - Add check to validate acquire fence of FB layer. r=sotaro 2014-08-07 14:34:25 -07:00
Michael Wu
c668889677 Bug 1042947 - Remove Framebuffer.cpp, r=sotaro 2014-07-22 16:46:27 -04:00
Kartikaya Gupta
1beb022f93 Bug 1040906 - Follow-up to e6a2c46ad0b5 because I missed a callsite and broke some builds. r=me on a CLOSED TREE 2014-07-22 10:15:22 -04:00
Boris Chiou
7866ddcbcf Bug 975346 - Part 2: Support LayerScope for HwcComposer2D. r=dglastonbury
1. Retrieve buffer from GPU.
2. Refactor - use SenderHelper class to manage the Sender
   static function structure.
2014-07-03 01:17:00 +02:00
Sotaro Ikeda
b802f92303 Bug 1029856 - Call glClear() before blit composition r= Sushil 2014-06-30 13:01:24 -07:00
Jonathan Watt
438237ecfc Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Sotaro Ikeda
407c35f5a4 Bug 1025824 - Fix mHwcLayerMap handling r=sushil 2014-06-16 13:05:14 -07:00
Sotaro Ikeda
14194a18db Bug 1024144 - Deliver acquire fence to HwComposer r=sushil,nical 2014-06-12 18:46:25 -07:00
Ehsan Akhgari
d04e51db62 Backed out changeset 2a4cde9c1130 (bug 1015332) because it breaks the Firefox OS homescreen, among other things a=RyanVM 2014-06-04 17:27:21 -04:00
Sushil Chauhan
6e7f47e746 Bug 1015332 - Optimize frame having layers with NULL gralloc buffer. r=dwilson 2014-06-03 14:07:50 -07:00
Sushil Chauhan
865b77a446 Bug 999699 - Use GPU Composition when a frame needs intermediate surface. r=dwilson 2014-05-05 13:26:51 -07:00
Sushil Chauhan
a9e09ec084 Bug 993160 - Use GPU for children of container which needs intermediate surface. r=dwilson 2014-04-14 16:39:53 -07:00
Sushil Chauhan
1c7562babb Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow 2014-04-03 18:59:13 -07:00
Sushil Chauhan
a5890b5de8 Bug 987563 - Set correct default composition type for fake layer in GPU composition. r=sotaro 2014-03-28 11:05:43 -07:00
Sushil Chauhan
66523bc5c5 Bug 981732 - HwcComposer2D should not compose any layer below full screen Opaque layer. r=dwilson 2014-03-17 11:51:26 -07:00
Sotaro Ikeda
ae8a2b92ed Bug 974152 - Use FrameBuffer's Acquire Fence as Layer buffer's ReleaseFence on gonk r=sushil,nical 2014-03-17 18:36:56 -07:00
Sushil Chauhan
5ee78728fc Bug 983273 - HwcComposer2D should honor HWC_HINT_CLEAR_FB for bottom layer. r=dwilson 2014-03-13 14:22:18 -07:00
Thomas Zimmermann
b0705da2ca Bug 978700: Fix warning about initialization order in constructor, r=roc 2014-03-04 09:45:51 +01:00
Thomas Zimmermann
2c032b7909 Bug 978700: Fix some warnings about redefined preprocessor tokens, r=roc 2014-03-04 09:45:50 +01:00