Commit Graph

113 Commits

Author SHA1 Message Date
Sotaro Ikeda
5879b59690 Bug 1152370 part 3 - Use DisplaySurface r=mwu 2015-04-23 06:49:40 -07:00
Nicolas Silva
cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Sotaro Ikeda
053aaa45c3 Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert 2015-04-17 09:28:41 -07:00
Carsten "Tomcat" Book
eba45dcee4 Backed out changeset abe6234be8a3 (bug 1152135) for Android 4 opt/debug perma failure 2015-04-17 12:04:55 +02:00
Sotaro Ikeda
7078be3faa Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert 2015-04-16 18:15:26 -07:00
Ying-Ruei Liang (KK)
bc847b0369 Bug 1143522 - Convert cliprect coordinate in gonk code. r=botond
--HG--
extra : rebase_source : c9e042c65d9d5d2bb8fbc72c8b12f87de2c40192
2015-04-11 22:06:00 -04:00
Mason Chang
0608d80c6e Bug 1153395 - Disable Hardware Vsync on Non Kit-Kat devices. r=mwu 2015-04-14 10:31:58 -04:00
Sotaro Ikeda
a3181c2cc5 Backed out changeset 29d01ad10d0b (bug 1152135) 2015-04-13 12:28:06 -07:00
Sotaro Ikeda
1a785adc42 Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert 2015-04-12 11:23:46 -07:00
Sotaro Ikeda
034f019f32 Bug 1150518 - Remove glClear() on blit composition r=Sushil 2015-04-02 20:26:47 -07:00
Mason Chang
a3bcbbc0c6 Bug 1149646 - Delete non-uniform vsync interval warning. r=kats 2015-03-31 14:38:51 -07:00
Kartikaya Gupta
c4fce7246b Bug 1139541 - Make HWC skip opacity=0 layers. r=sotaro 2015-03-06 16:52:34 -05:00
Sushil Chauhan
88116be583 Bug 1127585 - Update HWC_BLIT composition-type value. r=sotaro 2015-02-03 10:38:21 -08:00
JerryShih
837bd03db3 Bug 1123734 - Notify global VsyncSource in hwc. r=mwu, r=mchang 2015-01-20 08:21:00 -05:00
Mason Chang
61fabafd0d Bug 1095242. Part 1: Ensure Vsync Is Enabled on b2g. r=mwu 2015-01-20 08:31:10 -08:00
Mason Chang
5ee7bd3f46 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
a76e617dd0 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Mason Chang
3027d1493e Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats 2014-12-18 08:30:06 -08:00
Mason Chang
2ceec663c3 bug 1102453. Read HwcComposer vsync status on main thread. r=mwu 2014-12-17 21:25:09 -08:00
Sotaro Ikeda
f062928578 Bug 1109226 - Do not use HwComposer when layer has MaskLayer r=nical 2014-12-11 07:15:52 -08:00
Sotaro Ikeda
ab264f3007 Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow 2014-12-06 17:12:50 -08:00
Mason Chang
de0e409177 bug 552020 Part 3: Enable Creation of mozilla::TimeStamp from system timestamps. r=roc 2014-11-18 13:28:42 -08:00
Mason Chang
0818de546a Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-18 13:28:42 -08:00
Ryan VanderMeulen
87e1d173f4 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
89dd1bd2d2 Bug 552020. Part 3: Enable creation of mozilla::TimeStamp from system Timestamps. r=roc 2014-11-14 08:31:04 -08:00
Mason Chang
4fddbd3845 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-14 08:31:04 -08:00
Robert O'Callahan
0191d8f84c 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
c13f8729d9 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
a758e037c4 merge mozilla-inbound to mozilla-central a=merge 2014-10-30 14:45:37 +01:00
Mason Chang
fb2714672f 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
0c3516c497 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
4a7e5a8c86 Bug 1048667. Small vsync framework. r=roc 2014-10-23 18:50:31 -07:00
Mason Chang
2ef423b73d Bug 1048667. Skeleton vsync framework and vsync aligned compositor. r=benwa,roc 2014-10-21 15:40:54 -07:00
Sushil Chauhan
955a0c0c26 Bug 1078189 - Back out bug 1059023 for causing regression. r=dwilson 2014-10-06 16:28:46 -07:00
Mason Chang
7bb63f5b26 Bug 1073545 - Add Vsync Markers to SPS Profiler. r=benwa 2014-10-01 13:01:59 -07:00
Markus Stange
7d5a3be591 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
30f7cc274a Bug 1005322 - Implement invalidate hook for HwcComposer2D r=Sushil,mwu 2014-09-24 06:50:45 -07:00
Sushil Chauhan
1a0112db6b Bug 1071704 - HWC hooks registration should not depend on H/W Vsync. r=sotaro 2014-09-23 11:14:39 -07:00
Jeff Muizelaar
34032eed5e 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
acd46de08c Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-31 15:38:00 -07:00
Mason Chang
5327fee772 backout of bug 970751 for intermittent ICS Debug. 2014-08-30 17:18:29 -07:00
Mason Chang
d6b0a95fda Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-30 14:04:15 -07:00
Wes Kocher
8e3978db94 Backed out changeset 3ab215c50844 (bug 970751) for leaks a=backout 2014-08-29 17:43:17 -07:00
Mason Chang
a66b70e1af Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-29 16:18:04 -07:00
Sushil Chauhan
3cadfcb55f Bug 1059023 - Do not compose layer hidden under the opaque layer. r=mattwoodrow 2014-08-28 10:44:03 -07:00
Boris Chiou
683937c974 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
7003f52466 Bug 952977: Various other changes of gfx3DMatrix -> Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
Ed Morley
92579c3a89 Backed out changeset 3325dc888b50 (bug 952977) for build failures
--HG--
extra : rebase_source : b29c343cc0e4d8df5c927742657fa93895b738d1
2014-08-21 16:57:44 +01:00
David Zbarsky
da8302205e Bug 952977: Various other changes of gfx3DMatrix -> Matrix4x4 r=nical 2014-08-21 11:35:28 -04:00
Sushil Chauhan
36eb73ceed Bug 1047149 - Add check to validate acquire fence of FB layer. r=sotaro 2014-08-07 14:34:25 -07:00