Commit Graph

47 Commits

Author SHA1 Message Date
David Anderson
f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Sotaro Ikeda
4f26117e33 Bug 1049296 - Handle Sideband stream compositing in HwcComposer2D r=mwu,nical 2016-01-18 20:52:32 -08:00
Sotaro Ikeda
07a783a7bb Bug 1187345 - Fix HwcComposer2D::mCompositorParent handling r=mwu 2015-07-24 11:28:28 -07:00
Boris Chiou
a92b13f8f5 Bug 1144012 - Part 3: Wrap vsync code. r=sotaro 2015-06-23 15:05:00 +02:00
Boris Chiou
62c2a9cf9c 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
fba7c0fcc2 Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow
--HG--
extra : histedit_source : 02c96bba0e933c85d9af2566d1c9c8d04d120a31
2015-06-05 11:29:30 +08:00
Ethan Lin
cdc345235c Bug 1155498 - Part 3 - Use new FenceHandle to handle the fence in Compositor. r=sotaro
--HG--
extra : rebase_source : cca9aa2fbb07f2c00741fb33ce33d7e2db1ba0f2
2015-05-13 00:37:00 +02:00
Sotaro Ikeda
5879b59690 Bug 1152370 part 3 - Use DisplaySurface r=mwu 2015-04-23 06:49:40 -07:00
Andrea Marchesini
ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +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
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
Mason Chang
a3bcbbc0c6 Bug 1149646 - Delete non-uniform vsync interval warning. r=kats 2015-03-31 14:38:51 -07:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Mason Chang
2ceec663c3 bug 1102453. Read HwcComposer vsync status on main thread. r=mwu 2014-12-17 21:25:09 -08:00
Mason Chang
e04d5f9083 bug 1094058. Include timer.h for nsecs_t definition on flatfish builds. r=mwu 2014-11-05 14:16:52 -08: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
Sotaro Ikeda
30f7cc274a Bug 1005322 - Implement invalidate hook for HwcComposer2D r=Sushil,mwu 2014-09-24 06:50:45 -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
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
Boris Chiou
b86e69633f 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
9dd7bf06dc Bug 1029856 - Call glClear() before blit composition r= Sushil 2014-06-30 13:01:24 -07:00
Sushil Chauhan
3dadf39115 Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow 2014-04-03 18:59:13 -07:00
Diego Wilson
4823848b32 Bug 984500 - Add general description of HwcComposer2D. r=sotaro 2014-03-18 07:53:09 -07:00
Sotaro Ikeda
9b4a9e519a Bug 977596 - Fix build failure on flatfish r=jmuizelaar 2014-02-27 13:26:22 -08:00
Sotaro Ikeda
c5c7a00346 Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00
Jerry Shih
1816a1dc11 Bug 970794 - Support hardware composer base on android JB 4.2.2. r=mwu 2014-02-21 08:30:20 -05:00
Sushil Chauhan
b46aeead83 Bug 965086 - Add support for sourceCropf in HwcComposer2D. r=dwilson 2014-02-05 14:55:00 -08:00
David Zbarsky
3e4ce3885c Bug 952977: Switch GL world transform to gfx::Matrix r=nical 2014-01-16 02:22:19 -05:00
Sushil Chauhan
9a92f80b33 Bug 947805 - If hwcomposer is already prepared, reset with null hwc set. r=dwilson 2013-12-11 12:37:25 -08:00
Sushil Chauhan
227ca9eaa1 Bug 944069 - Remove unnecessary wait during GPU Composition. r=dwilson 2013-11-27 17:38:42 -08:00
Sushil Chauhan
2217191e09 Bug 915729 - Add mixed HWC and GPU Composition. r=ncameron, r=dwilson 2013-10-15 14:01:42 -07:00
Sushil Chauhan
e967461f40 Bug 919676 - Fix multiple hwc prepare calls with different layer lists. r=mwu, r=dwilson 2013-10-08 08:29:35 -07:00
Ryan VanderMeulen
ccee615a9f Backed out changeset e02e1b107db7 (bug 919676) for causing bug 924129. 2013-10-08 09:39:07 -04:00
Sushil Chauhan
71e29bc5d5 Bug 919676 - Fix multiple hwc prepare calls with different layer lists. r=mwu, r=dwilson 2013-10-04 11:01:22 -07:00
Diego Wilson
481ac47355 Bug 901978 - Query HWC to check for "R/B swap" and Color layer support. r=ncameron 2013-09-27 13:37:19 -07:00
Diego Wilson
8dd43184bd Bug 911391 - Add Jellybean support to HwcComposer2D. r=mwu 2013-09-11 15:10:33 +02:00
Michael Wu
c5f16dea73 Bug 870198 - Support basic display functions on gonk-JB, r=vlad 2013-05-07 23:58:22 -04:00
Diego Wilson
6b263786ad Bug 832383 - Add support for complex visible regions to HwcComposer2D. r=mwu 2013-04-29 17:21:54 -07:00
Diego Wilson
a0d13480f7 Bug 810334: Honor layer clip rects in HwcComposer2D. r=vlad a=cjones 2013-01-17 13:34:01 -08:00
Diego Wilson
c12f10451a Bug 810361: Handle ColorLayers with HwcComposer2D. r=cjones a=blocking-basecamp 2013-01-09 13:56:37 +01:00
Diego Wilson
e4cc72f07d Bug 804852: Implement Composer2D for hwc. r=cjones 2012-11-19 09:58:37 -08:00