Name Description Size Coverage
Cargo.toml 1174 -
cbindgen.toml /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1615 -
DCLayerTree.cpp 157583 42 %
DCLayerTree.h DCLayerTree manages direct composition layers. It does not manage gecko's layers::Layer. 21408 68 %
MetalDeviceManager.h 743 -
MetalDeviceManager.mm 590 -
moz.build 3964 -
Moz2DImageRenderer.cpp 17636 78 %
README.webrender To build and run WebRender in Gecko: 1867 -
RenderAndroidHardwareBufferTextureHost.cpp 7832 0 %
RenderAndroidHardwareBufferTextureHost.h 2096 0 %
RenderAndroidImageReaderImageTextureHost.cpp 7315 0 %
RenderAndroidImageReaderImageTextureHost.h 2313 0 %
RenderAndroidSurfaceTextureHost.cpp 10647 0 %
RenderAndroidSurfaceTextureHost.h 2714 0 %
RenderBufferTextureHost.cpp 9594 73 %
RenderBufferTextureHost.h 2259 100 %
RenderCompositor.cpp 17810 37 %
RenderCompositor.h 11682 63 %
RenderCompositorANGLE.cpp static 32476 82 %
RenderCompositorANGLE.h 5924 100 %
RenderCompositorD3D11SWGL.cpp 18259 2 %
RenderCompositorD3D11SWGL.h 3910 0 %
RenderCompositorEGL.cpp static 12815 52 %
RenderCompositorEGL.h 2672 67 %
RenderCompositorLayerNative.cpp 18846 0 %
RenderCompositorLayerNative.h 7153 0 %
RenderCompositorLayersSWGL.cpp aPremultiplied 17424 1 %
RenderCompositorLayersSWGL.h 6705 0 %
RenderCompositorNative.cpp 26679 0 %
RenderCompositorNative.h 8747 0 %
RenderCompositorOGL.cpp static 3742 0 %
RenderCompositorOGL.h 1321 0 %
RenderCompositorOGLSWGL.cpp aSurfaceWidth 16724 2 %
RenderCompositorOGLSWGL.h 3534 0 %
RenderCompositorRecordedFrame.h aZero = 1361 0 %
RenderCompositorSWGL.cpp static 11568 76 %
RenderCompositorSWGL.h 2829 100 %
RenderD3D11TextureHost.cpp static 29271 40 %
RenderD3D11TextureHost.h 7674 22 %
RenderDcompSurfaceTextureHost.cpp 1546 24 %
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. 2459 6 %
RenderDMABUFTextureHost.cpp 3892 0 %
RenderDMABUFTextureHost.h 1883 0 %
RenderEGLImageTextureHost.cpp 6820 0 %
RenderEGLImageTextureHost.h 2046 0 %
RendererOGL.cpp aZero = 19145 57 %
RendererOGL.h Determine if any content pipelines updated, and update mContentPipelineEpochs. 6857 100 %
RendererScreenshotGrabber.cpp 3630 97 %
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. 2744 -
RenderMacIOSurfaceTextureHost.cpp 6926 -
RenderMacIOSurfaceTextureHost.h 2049 -
RenderSharedSurfaceTextureHost.cpp 2414 95 %
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. 1607 100 %
RenderTextureHost.cpp 5217 63 %
RenderTextureHost.h 6793 32 %
RenderTextureHostSWGL.cpp 7698 72 %
RenderTextureHostSWGL.h 2499 67 %
RenderTextureHostWrapper.cpp 8073 32 %
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. 3990 50 %
RenderThread.cpp 61310 76 %
RenderThread.h 20839 93 %
RenderWaylandTextureHost.cpp 4045 0 %
RenderWaylandTextureHost.h RenderWaylandTextureHost manages external SHM textures used by WebRender on Wayland, used for decoded video frames. 1964 0 %
rustfmt.toml 295 -
src 82 %
webrender_ffi.h 4646 100 %
WebRenderAPI.cpp 77322 81 %
WebRenderAPI.h 41758 93 %
WebRenderTypes.cpp 3188 88 %
WebRenderTypes.h Generate a brand new window id and return it. 29358 89 %