fune/gfx/layers/ipc
sotaro 954c16acec Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman
WebGPU uses CompositableInProcessManager to push TextureHost directly from WebGPUParent to WebRender. But CompositableInProcessManager plumbing has a problem and caused Bug 1805209.

gecko already has a similar mechanism, called RemoteTextureMap. It is used in oop WebGL. If WebGPU uses RemoteTextureMap instead of CompositableInProcessManager, both WebGPU and oop WebGL use same mechanism.

WebGPUParent pushes a new texture to RemoteTextureMap. The RemoteTextureMap notifies the pushed texture to WebRenderImageHost.

Before the change, only one TextureHost is used for one swap chain. With the change, multiple TextureHosts are used for one swap chain with recycling.

The changes are followings.

- Use RemoteTextureMap instead of CompositableInProcessManager.
- Use RemoteTextureOwnerId instead of CompositableHandle.
- Use WebRenderCanvasData instead of WebRenderInProcessImageData.
- Add remote texture pushed callback functionality to RemoteTextureMap. With it, RemoteTextureMap notifies a new pushed remote texture to WebRenderImageHost.
- Remove CompositableInProcessManager.

Differential Revision: https://phabricator.services.mozilla.com/D164890
2022-12-23 20:41:02 +00:00
..
fuzztest
APZChild.cpp
APZChild.h
APZCTreeManagerChild.cpp Bug 1794070 - Make a pan start event wait for the browser gesture code response. r=botond,dlrobertson 2022-11-22 06:52:53 +00:00
APZCTreeManagerChild.h Bug 1794070 - Make a pan start event wait for the browser gesture code response. r=botond,dlrobertson 2022-11-22 06:52:53 +00:00
APZCTreeManagerParent.cpp Bug 1794070 - Make a pan start event wait for the browser gesture code response. r=botond,dlrobertson 2022-11-22 06:52:53 +00:00
APZCTreeManagerParent.h Bug 1794070 - Make a pan start event wait for the browser gesture code response. r=botond,dlrobertson 2022-11-22 06:52:53 +00:00
APZInputBridgeChild.cpp
APZInputBridgeChild.h
APZInputBridgeParent.cpp
APZInputBridgeParent.h
CanvasChild.cpp
CanvasChild.h
CanvasThread.cpp
CanvasThread.h
CanvasTranslator.cpp
CanvasTranslator.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
CompositableForwarder.cpp
CompositableForwarder.h Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
CompositableTransactionParent.cpp Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
CompositableTransactionParent.h
CompositorBench.cpp
CompositorBench.h
CompositorBridgeChild.cpp Bug 1785969 - Remove unused code from CompositorBridgeParent r=gfx-reviewers,lsalzman 2022-08-22 22:42:58 +00:00
CompositorBridgeChild.h Bug 1785969 - Remove unused code from CompositorBridgeParent r=gfx-reviewers,lsalzman 2022-08-22 22:42:58 +00:00
CompositorBridgeParent.cpp Bug 1804457 - Restore branch in ClassifyCompositorOptionsChange() to support APZ enablement change on a best-effort basis. r=dlrobertson 2022-12-08 04:13:18 +00:00
CompositorBridgeParent.h Bug 1802225 - Move RecordCompositionPayloadsPresented() to CompositorBridgeParent.h. r=tnikkel 2022-11-29 01:52:02 +00:00
CompositorManagerChild.cpp
CompositorManagerChild.h
CompositorManagerParent.cpp
CompositorManagerParent.h
CompositorThread.cpp Bug 1799222 - Part 1: Prevent accidental dispatches to threadpool and timer threads, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,media-playback-reviewers,jesup,m_kato,padenot,kmag 2022-12-16 17:09:16 +00:00
CompositorThread.h
CompositorVsyncScheduler.cpp
CompositorVsyncScheduler.h
CompositorVsyncSchedulerOwner.h
ContentCompositorBridgeParent.cpp Bug 1488886 - AllocPAPZCTreeManager should gracefully fail if APZ is not enabled. r=botond 2022-12-18 02:57:00 +00:00
ContentCompositorBridgeParent.h
ImageBridgeChild.cpp Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
ImageBridgeChild.h Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
ImageBridgeParent.cpp Bug 1788241 - Ensure WebRenderImageHost::OnReleased() is called in ImageBridgeParent::ActorDestroy() r=lsalzman 2022-09-01 05:22:23 +00:00
ImageBridgeParent.h
ISurfaceAllocator.cpp
ISurfaceAllocator.h
KnowsCompositor.cpp
KnowsCompositor.h
LayersMessages.ipdlh Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
LayersMessageUtils.h Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
LayersSurfaces.ipdlh Bug 1785925 - Add LUT and Colorspace support to GLBlitHelper. r=lsalzman,media-playback-reviewers,alwu 2022-09-13 17:40:43 +00:00
LayerTreeOwnerTracker.cpp
LayerTreeOwnerTracker.h
PAPZ.ipdl
PAPZCTreeManager.ipdl Bug 1794070 - Make a pan start event wait for the browser gesture code response. r=botond,dlrobertson 2022-11-22 06:52:53 +00:00
PAPZInputBridge.ipdl
PCanvas.ipdl
PCompositorBridge.ipdl Bug 1785969 - Remove unused code from CompositorBridgeParent r=gfx-reviewers,lsalzman 2022-08-22 22:42:58 +00:00
PCompositorBridgeTypes.ipdlh
PCompositorManager.ipdl
PImageBridge.ipdl
PTexture.ipdl
PUiCompositorController.ipdl
PVideoBridge.ipdl
PWebRenderBridge.ipdl Bug 1742797 - Add a new IPC call to clear animation resources on WebRender, r=sotaro. 2022-07-19 19:56:21 +00:00
RefCountedShmem.cpp
RefCountedShmem.h
RemoteContentController.cpp Bug 1791154 - Check for null root content controller in UpdateOverscrollVelocity/Offset. r=hiro 2022-09-17 11:41:59 +00:00
RemoteContentController.h
ShadowLayerUtils.h
SharedPlanarYCbCrImage.cpp
SharedPlanarYCbCrImage.h
SharedRGBImage.cpp
SharedRGBImage.h
SharedSurfacesChild.cpp Bug 1794722 - Part 2. Remove all uses of gfxVars::UseWebRender(). r=jrmuizel,media-playback-reviewers,alwu 2022-10-28 12:36:06 +00:00
SharedSurfacesChild.h
SharedSurfacesMemoryReport.h
SharedSurfacesParent.cpp
SharedSurfacesParent.h
SurfaceDescriptor.h
SynchronousTask.h Bug 1801819: Make SynchronousTask double-check its completion flag to identify timeouts. r=sotaro 2022-11-29 05:15:07 +00:00
TextureForwarder.h
UiCompositorControllerChild.cpp
UiCompositorControllerChild.h
UiCompositorControllerMessageTypes.h
UiCompositorControllerParent.cpp Bug 1780093 - Remove code for enabling/disabling SurfaceControl rendering path. r=geckoview-reviewers,owlish 2022-09-21 17:30:25 +00:00
UiCompositorControllerParent.h
VideoBridgeChild.cpp
VideoBridgeChild.h
VideoBridgeParent.cpp Bug 1782219 - Protect sVideoBridgeFromProcess by StaticDataMutex r=jrmuizel 2022-11-21 05:18:36 +00:00
VideoBridgeParent.h
VideoBridgeUtils.h Bug 1785738 - part4 : run media engine in the new utility process. r=gerard-majax,azebrowski 2022-09-03 00:53:59 +00:00
WebRenderMessages.ipdlh