Commit Graph

124 Commits

Author SHA1 Message Date
Sotaro Ikeda
94c1a83c68 Bug 1187048 - Code clean up around nsScreenGonk's EGLSurface handling r=mwu 2015-07-24 10:56:05 -07:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Boris Chiou
34c6c1e917 Bug 1170061 - ClearOnShutdown for hwcomposer, r=sotaro
Call ClearOnShutdown while creaing HwcComposer2D object.
2015-06-24 17:51:00 +02:00
Boris Chiou
cd34bf4791 Bug 1144012 - Part 4: Remove the usage of mHwc from GonkDisplayICS. r=sotaro 2015-06-23 15:06:00 +02:00
Boris Chiou
7a3f4db455 Bug 1144012 - Part 3: Wrap vsync code. r=sotaro 2015-06-23 15:05:00 +02:00
Boris Chiou
f8ad2ad283 Bug 1144012 - Part 2: Use wrapper in HwcComposer2D. r=sotaro
Use UniquePtr to access HwcHAL Object becasue only HwcComposer2D
takes the responsibility of HwcHAL.
2015-06-23 15:03:00 +02:00
Shelly Lin
ff08c27b91 Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow 2015-06-05 11:29:30 +08:00
Sotaro Ikeda
4d1ad622d9 Bug 1169093 - Do not use HWC when a region of layer is too small r=mattwoodrow 2015-06-04 07:07:36 -07:00
Jeremy Chen
5d75c46a46 Bug 1155495 - Part 2: Remove unnecessary class inheritance and casting. r=nical, r=sotaro 2015-05-20 01:43:00 -04:00
JerryShih
972457d18f Bug 1155797 - P3: turn on vsync for kk, l and up. r=mwu 2015-05-17 18:12:00 +02:00
Ethan Lin
154c338ed7 Bug 1155498 - Part 3 - Use new FenceHandle to handle the fence in Compositor. r=sotaro 2015-05-13 00:37:00 +02:00
Sotaro Ikeda
d9d7ee9afb Bug 1152370 part 3 - Use DisplaySurface r=mwu 2015-04-23 06:49:40 -07:00
Nicolas Silva
d73f54cb00 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
0afc17b2f3 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
7bb0b237fe Backed out changeset abe6234be8a3 (bug 1152135) for Android 4 opt/debug perma failure 2015-04-17 12:04:55 +02:00
Sotaro Ikeda
ca5c89c607 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)
a46097a37d Bug 1143522 - Convert cliprect coordinate in gonk code. r=botond 2015-04-11 22:06:00 -04:00
Mason Chang
b7eb408412 Bug 1153395 - Disable Hardware Vsync on Non Kit-Kat devices. r=mwu 2015-04-14 10:31:58 -04:00
Sotaro Ikeda
6a4dad5b54 Backed out changeset 29d01ad10d0b (bug 1152135) 2015-04-13 12:28:06 -07:00
Sotaro Ikeda
1aad030e25 Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert 2015-04-12 11:23:46 -07:00
Sotaro Ikeda
32b53dd2ad Bug 1150518 - Remove glClear() on blit composition r=Sushil 2015-04-02 20:26:47 -07:00
Mason Chang
3c05582dd4 Bug 1149646 - Delete non-uniform vsync interval warning. r=kats 2015-03-31 14:38:51 -07:00
Kartikaya Gupta
d58223bef2 Bug 1139541 - Make HWC skip opacity=0 layers. r=sotaro 2015-03-06 16:52:34 -05:00
Sushil Chauhan
f27c1ccc0d Bug 1127585 - Update HWC_BLIT composition-type value. r=sotaro 2015-02-03 10:38:21 -08:00
JerryShih
bb0e70d54a Bug 1123734 - Notify global VsyncSource in hwc. r=mwu, r=mchang 2015-01-20 08:21:00 -05:00
Mason Chang
0cb862c87b Bug 1095242. Part 1: Ensure Vsync Is Enabled on b2g. r=mwu 2015-01-20 08:31:10 -08:00
Mason Chang
a494f8a59b 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
e2b7d174dd Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Mason Chang
453d490eee Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats 2014-12-18 08:30:06 -08:00
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