Commit Graph

100 Commits

Author SHA1 Message Date
JerryShih
6345dac672 Bug 1123734 - Notify global VsyncSource in hwc. r=mwu, r=mchang 2015-01-20 08:21:00 -05:00
Mason Chang
548d2b21b5 Bug 1095242. Part 1: Ensure Vsync Is Enabled on b2g. r=mwu 2015-01-20 08:31:10 -08:00
Mason Chang
388c580a7f Bug 1120753 - Fallback to software vsync if hardware vsync fails to initialize on b2g. r=kats,mwu 2015-01-15 07:56:12 -08:00
Jeff Gilbert
e2cd335ec4 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Mason Chang
f19d8cf4e3 Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats 2014-12-18 08:30:06 -08:00
Mason Chang
239244bb4f bug 1102453. Read HwcComposer vsync status on main thread. r=mwu 2014-12-17 21:25:09 -08:00
Sotaro Ikeda
018c04a66a Bug 1109226 - Do not use HwComposer when layer has MaskLayer r=nical 2014-12-11 07:15:52 -08:00
Sotaro Ikeda
0fb912bbcc Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow 2014-12-06 17:12:50 -08:00
Mason Chang
a88f78597a bug 552020 Part 3: Enable Creation of mozilla::TimeStamp from system timestamps. r=roc 2014-11-18 13:28:42 -08:00
Mason Chang
e356eb5ca2 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-18 13:28:42 -08:00
Ryan VanderMeulen
57225618ce 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
97966e77aa Bug 552020. Part 3: Enable creation of mozilla::TimeStamp from system Timestamps. r=roc 2014-11-14 08:31:04 -08:00
Mason Chang
a2d6748143 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-14 08:31:04 -08:00
Robert O'Callahan
31a7de5340 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.

--HG--
extra : rebase_source : 6187200b29ed2913e335d5a710f1ba38d7b1cf18
2014-11-06 09:59:10 +13:00
Robert O'Callahan
7282f1f4b1 Bug 1073252. Part 3: Use opaque flag from LayerRenderState in HWC. r=sotaro
--HG--
extra : rebase_source : b9e76ce39f1dc106c8ff214e7b7220f1255b8572
2014-10-30 15:32:41 +13:00
Carsten "Tomcat" Book
e057d3d8be merge mozilla-inbound to mozilla-central a=merge 2014-10-30 14:45:37 +01:00
Mason Chang
2cc9b57012 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
3cceca2afe Bug 1089040 - Fix HWC opacity check for largers with complex regions. r=sotaro
--HG--
extra : rebase_source : e80c240766a9e44e738e706b02ba65dd3e74fd83
2014-10-29 16:07:11 -04:00
Mason Chang
9a77b25985 Bug 1048667. Small vsync framework. r=roc 2014-10-23 18:50:31 -07:00
Mason Chang
7ede915870 Bug 1048667. Skeleton vsync framework and vsync aligned compositor. r=benwa,roc 2014-10-21 15:40:54 -07:00
Sushil Chauhan
8280f7ddde Bug 1078189 - Back out bug 1059023 for causing regression. r=dwilson 2014-10-06 16:28:46 -07:00
Mason Chang
98d9d46202 Bug 1073545 - Add Vsync Markers to SPS Profiler. r=benwa 2014-10-01 13:01:59 -07:00
Markus Stange
131bfce4c5 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Sotaro Ikeda
6a2b6346e0 Bug 1005322 - Implement invalidate hook for HwcComposer2D r=Sushil,mwu 2014-09-24 06:50:45 -07:00
Sushil Chauhan
927b1d4beb Bug 1071704 - HWC hooks registration should not depend on H/W Vsync. r=sotaro 2014-09-23 11:14:39 -07:00
Jeff Muizelaar
876ec2d266 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.

--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Mason Chang
17a2258d01 Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-31 15:38:00 -07:00
Mason Chang
887a2377ab backout of bug 970751 for intermittent ICS Debug. 2014-08-30 17:18:29 -07:00
Mason Chang
8784dd9284 Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-30 14:04:15 -07:00
Wes Kocher
9f93d9eadc Backed out changeset 3ab215c50844 (bug 970751) for leaks a=backout 2014-08-29 17:43:17 -07:00
Mason Chang
b068b1e3b5 Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-29 16:18:04 -07:00
Sushil Chauhan
0edfb51260 Bug 1059023 - Do not compose layer hidden under the opaque layer. r=mattwoodrow 2014-08-28 10:44:03 -07:00
Boris Chiou
625e45b64c 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
1bea86c89f Bug 952977: Various other changes of gfx3DMatrix -> Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
Ed Morley
62e00418d4 Backed out changeset 3325dc888b50 (bug 952977) for build failures
--HG--
extra : rebase_source : b29c343cc0e4d8df5c927742657fa93895b738d1
2014-08-21 16:57:44 +01:00
David Zbarsky
04005e5546 Bug 952977: Various other changes of gfx3DMatrix -> Matrix4x4 r=nical 2014-08-21 11:35:28 -04:00
Sushil Chauhan
26c50a63d4 Bug 1047149 - Add check to validate acquire fence of FB layer. r=sotaro 2014-08-07 14:34:25 -07:00
Michael Wu
ebf8b25a80 Bug 1042947 - Remove Framebuffer.cpp, r=sotaro 2014-07-22 16:46:27 -04:00
Kartikaya Gupta
97ba8f5c4f 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
48e3a702de 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
8e0f02b8a0 Bug 1029856 - Call glClear() before blit composition r= Sushil 2014-06-30 13:01:24 -07:00
Jonathan Watt
0324bd5749 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
cdbdc19ddc Bug 1025824 - Fix mHwcLayerMap handling r=sushil 2014-06-16 13:05:14 -07:00
Sotaro Ikeda
d665ba4a86 Bug 1024144 - Deliver acquire fence to HwComposer r=sushil,nical 2014-06-12 18:46:25 -07:00
Ehsan Akhgari
f6d95d2f4d 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
b1c2e67b98 Bug 1015332 - Optimize frame having layers with NULL gralloc buffer. r=dwilson 2014-06-03 14:07:50 -07:00
Sushil Chauhan
2bc0976f8f Bug 999699 - Use GPU Composition when a frame needs intermediate surface. r=dwilson 2014-05-05 13:26:51 -07:00
Sushil Chauhan
f2cac500b7 Bug 993160 - Use GPU for children of container which needs intermediate surface. r=dwilson 2014-04-14 16:39:53 -07:00
Sushil Chauhan
b1ff3ae4f1 Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow 2014-04-03 18:59:13 -07:00
Sushil Chauhan
ad44874f73 Bug 987563 - Set correct default composition type for fake layer in GPU composition. r=sotaro 2014-03-28 11:05:43 -07:00