gecko-dev/gfx/layers/ipc
Frederic Plourde ebac609549 b=1015218 Buffer image content layers on server-side xlib surfaces with OMTC basic r=karlt
With image offscreen surfaces enabled for content layers on GTK3, our Basic
compositor needs a way to deal with image layers buffering and compositing in
a performant way.  This patch subclasses BasicCompositor into a new
X11BasicCompositor and makes use of a new TextureSource
(X11DataTextureSourceBasic) in order to buffer TextureHost's data into
gfxXlibSurface on compositor side so that we can use XRender when available to
composite layer contents directly to the Window.

When this buffering will occur, switch to ContentClientSingleBuffered.

--HG--
extra : rebase_source : adad6b1c05dcf516a1ea84c6a529df5f141c198f
2014-07-23 11:02:25 +12:00
..
AsyncTransactionTracker.cpp Bug 1026580 - Remove an infinite loop possibility from AsyncTransactionTracker::WaitComplete() r=nical 2014-06-21 08:30:30 -07:00
AsyncTransactionTracker.h Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
CompositableForwarder.h Bug 1035755 - Fix RemoveTextureFromCompositableTracker::ReleaseTextureClient() r=nical 2014-07-15 06:22:35 -07:00
CompositableTransactionParent.cpp Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
CompositableTransactionParent.h Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
CompositorBench.cpp Bug 1016678 - Add textured compositor benchmark. r=jrmuizel 2014-06-04 18:37:18 -04:00
CompositorBench.h Bug 1014042 - Add compositor benchmark. r=jrmuizel 2014-05-21 17:29:49 +00:00
CompositorChild.cpp Bug 1038855, part 2 - Use an nsRefPtr for CompositorChild::SharedFrameMetricsData::mBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
CompositorChild.h Bug 1038855, part 2 - Use an nsRefPtr for CompositorChild::SharedFrameMetricsData::mBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
CompositorParent.cpp b=1015218 Buffer image content layers on server-side xlib surfaces with OMTC basic r=karlt 2014-07-23 11:02:25 +12:00
CompositorParent.h Bug 774388 - Patch 14: block on ImageBridgeParent shutdown before we destroy the compositor thread - r=mattwoodrow 2014-07-06 21:30:15 -04:00
FenceUtils.h Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
FenceUtilsGonk.cpp Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
FenceUtilsGonk.h Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
ImageBridgeChild.cpp Bug 774388 - Patch 10: destroy the ImageBridgeChild singleton on the main thread (and sprinkle some assertions) - r=mattwoodrow 2014-07-04 14:04:12 -04:00
ImageBridgeChild.h Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow 2014-07-04 14:04:12 -04:00
ImageBridgeParent.cpp Bug 774388 - Patch 14: block on ImageBridgeParent shutdown before we destroy the compositor thread - r=mattwoodrow 2014-07-06 21:30:15 -04:00
ImageBridgeParent.h Bug 774388 - Patch 14: block on ImageBridgeParent shutdown before we destroy the compositor thread - r=mattwoodrow 2014-07-06 21:30:15 -04:00
ISurfaceAllocator.cpp Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
ISurfaceAllocator.h Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
LayersMessages.ipdlh Bug 1014280 - Add a background color attribute to scrollable ContainerLayers. r=tn,BenWa 2014-06-06 16:50:20 -04:00
LayersSurfaces.ipdlh Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
LayerTransactionChild.cpp Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
LayerTransactionChild.h Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
LayerTransactionParent.cpp Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
LayerTransactionParent.h Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
PCompositable.ipdl Bug 918651 - part 9 - remove useless includes from IPDL files; r=ehsan 2013-10-18 14:47:04 -04:00
PCompositor.ipdl Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical 2014-05-29 09:42:14 +12:00
PImageBridge.ipdl Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
PLayer.ipdl
PLayerTransaction.ipdl Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
PSharedBufferManager.ipdl Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal 2014-04-30 21:50:00 -04:00
PTexture.ipdl Bug 1000660 - Remove TextureParent::RecvRemoveTextureSync() r=nical 2014-05-12 18:18:22 -07:00
ShadowLayerChild.cpp Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
ShadowLayerChild.h Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
ShadowLayerParent.cpp Bug 968833 - 1/2 - Make PLayerTransaction check actual layer types before casting - r=jrmuizel 2014-02-20 11:40:55 -05:00
ShadowLayerParent.h Bug 968833 - 1/2 - Make PLayerTransaction check actual layer types before casting - r=jrmuizel 2014-02-20 11:40:55 -05:00
ShadowLayers.cpp Bug 1011572 - Only do platform-sync on layer transactions when !IsSameProcess. r=nical 2014-06-11 14:52:20 +01:00
ShadowLayers.h Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
ShadowLayersManager.h Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical 2014-05-29 09:42:14 +12:00
ShadowLayerUtils.h Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
ShadowLayerUtilsD3D10.cpp Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical 2014-04-07 13:32:49 +12:00
ShadowLayerUtilsD3D10.h
ShadowLayerUtilsGralloc.cpp Bug 1036561 - Reduce log spam from SharedBufferManagerChild r=nical 2014-07-10 07:24:07 -07:00
ShadowLayerUtilsGralloc.h Bug 1032364 - Change gralloc buffer's key to 64bit r=jmuizelaar 2014-07-02 14:45:59 -07:00
ShadowLayerUtilsMac.cpp Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical 2014-04-07 13:32:49 +12:00
ShadowLayerUtilsX11.cpp Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
ShadowLayerUtilsX11.h Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats 2013-12-16 23:47:06 +13:00
SharedBufferManagerChild.cpp Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
SharedBufferManagerChild.h Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
SharedBufferManagerParent.cpp Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jrmuizel,jbacob 2014-07-16 13:05:42 -07:00
SharedBufferManagerParent.h Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jrmuizel,jbacob 2014-07-16 13:05:42 -07:00
SharedPlanarYCbCrImage.cpp Bug 1040028 - Create and allocate in one step when we used to call CreateBufferTextureClient and CreateTextureClientForDrawing. r=sotaro 2014-07-22 14:17:31 +02:00
SharedPlanarYCbCrImage.h Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
SharedRGBImage.cpp Bug 1040028 - Create and allocate in one step when we used to call CreateBufferTextureClient and CreateTextureClientForDrawing. r=sotaro 2014-07-22 14:17:31 +02:00
SharedRGBImage.h Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
ThreadSafeRefcountingWithMainThreadDestruction.h Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow 2014-07-04 14:04:12 -04:00