Name Description Size
Cargo.toml 1038
cbindgen.toml 1615
DCLayerTree.cpp static 69092
DCLayerTree.h DCLayerTree manages direct composition layers. It does not manage gecko's layers::Layer. 15732
moz.build 3733
Moz2DImageRenderer.cpp 15262
README.webrender To build and run WebRender in Gecko: 1867
RenderAndroidHardwareBufferTextureHost.cpp 7355
RenderAndroidHardwareBufferTextureHost.h 2105
RenderAndroidSurfaceTextureHost.cpp 10393
RenderAndroidSurfaceTextureHost.h 2917
RenderBufferTextureHost.cpp 8590
RenderBufferTextureHost.h 2317
RenderCompositor.cpp 10582
RenderCompositor.h 8471
RenderCompositorANGLE.cpp static 32055
RenderCompositorANGLE.h 5377
RenderCompositorD3D11SWGL.cpp 18251
RenderCompositorD3D11SWGL.h 3940
RenderCompositorEGL.cpp static 10954
RenderCompositorEGL.h 2468
RenderCompositorLayersSWGL.cpp aPremultiplied 16470
RenderCompositorLayersSWGL.h 6784
RenderCompositorNative.cpp 22593
RenderCompositorNative.h 8262
RenderCompositorOGL.cpp static 3965
RenderCompositorOGL.h 1495
RenderCompositorOGLSWGL.cpp aSurfaceWidth 17796
RenderCompositorOGLSWGL.h 3485
RenderCompositorRecordedFrame.h aZero = 1436
RenderCompositorSWGL.cpp static 11783
RenderCompositorSWGL.h 2944
RenderD3D11TextureHost.cpp 22398
RenderD3D11TextureHost.h 6726
RenderDcompSurfaceTextureHost.cpp 1626
RenderDcompSurfaceTextureHost.h A render texture host is responsible to create a dcomp surface from an existing dcomp handle. Currently usage is that MF media engine will create a surface handle from another remote process, and we reconstruct the surface and use it in the DCLayerTree in the GPU process. 2430
RenderDMABUFTextureHost.cpp 2185
RenderDMABUFTextureHost.h 1289
RenderEGLImageTextureHost.cpp 3173
RenderEGLImageTextureHost.h 1368
RendererOGL.cpp aZero = 14043
RendererOGL.h Determine if any content pipelines updated, and update mContentPipelineEpochs. 5414
RendererScreenshotGrabber.cpp 3185
RendererScreenshotGrabber.h Used by |RendererOGL| to grab screenshots from WebRender and submit them to the Gecko profiler. If the profiler is not running or the screenshots feature is disabled, no work will be done. 2775
RenderExternalTextureHost.cpp 7813
RenderExternalTextureHost.h RenderExternalTextureHost manages external textures used by WebRender on Mac. The motivation for this is to be able to use Apple Client Storage OpenGL extension, which makes it possible to avoid some copies during texture upload. This is especially helpful for high resolution video. 2513
RenderMacIOSurfaceTextureHost.cpp 5657
RenderMacIOSurfaceTextureHost.h 1846
RenderSharedSurfaceTextureHost.cpp 2535
RenderSharedSurfaceTextureHost.h This class allows for surfaces managed by SharedSurfacesParent to be inserted into the render texture cache by wrapping an existing surface wrapper. These surfaces are backed by BGRA/X shared memory buffers. 1728
RenderTextureHost.cpp 2059
RenderTextureHost.h 4576
RenderTextureHostSWGL.cpp 7601
RenderTextureHostSWGL.h 2308
RenderTextureHostWrapper.cpp 7503
RenderTextureHostWrapper.h RenderTextureHost of GPUVideoTextureHost. GPUVideoTextureHost wraps TextureHost. This class wraps RenderTextureHost of the wrapped TextureHost. Lifetime of the wrapped TextureHost is usually longer than GPUVideoTextureHost and the wrapped TextureHost is used by multiple GPUVideoTextureHosts. This class is used to reduce recreations of the wrappded RenderTextureHost. Initializations of some RenderTextureHosts(RenderDXGITextureHost and RenderDXGIYCbCrTextureHost) have overhead. 3492
RenderThread.cpp Timeout values are powers-of-two to enable us get better data. 128ms is chosen for transient hangs because 8Hz should be the minimally acceptable goal for Render responsiveness (normal goal is 60Hz). 52780
RenderThread.h 17069
rustfmt.toml 295
src
webrender_ffi.h 4232
WebRenderAPI.cpp 68958
WebRenderAPI.h 35645
WebRenderTypes.cpp 3274
WebRenderTypes.h Generate a brand new window id and return it. 28160