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 157540 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 17461 66 %
README.webrender To build and run WebRender in Gecko: 1867 -
RenderAndroidHardwareBufferTextureHost.cpp 7778 0 %
RenderAndroidHardwareBufferTextureHost.h 2096 0 %
RenderAndroidImageReaderImageTextureHost.cpp 7274 0 %
RenderAndroidImageReaderImageTextureHost.h 2313 0 %
RenderAndroidSurfaceTextureHost.cpp 10637 0 %
RenderAndroidSurfaceTextureHost.h 2714 0 %
RenderBufferTextureHost.cpp 9594 73 %
RenderBufferTextureHost.h 2259 100 %
RenderCompositor.cpp 13198 55 %
RenderCompositor.h 10488 48 %
RenderCompositorANGLE.cpp static 31728 81 %
RenderCompositorANGLE.h 5853 100 %
RenderCompositorD3D11SWGL.cpp 17530 2 %
RenderCompositorD3D11SWGL.h 3851 0 %
RenderCompositorEGL.cpp static 12468 53 %
RenderCompositorEGL.h 2560 67 %
RenderCompositorLayerNative.cpp 18674 0 %
RenderCompositorLayerNative.h 7104 0 %
RenderCompositorLayersSWGL.cpp aPremultiplied 17412 1 %
RenderCompositorLayersSWGL.h 6764 0 %
RenderCompositorNative.cpp 25939 0 %
RenderCompositorNative.h 8747 0 %
RenderCompositorOGL.cpp static 3812 0 %
RenderCompositorOGL.h 1374 0 %
RenderCompositorOGLSWGL.cpp aSurfaceWidth 19955 1 %
RenderCompositorOGLSWGL.h 3533 0 %
RenderCompositorRecordedFrame.h aZero = 1361 0 %
RenderCompositorSWGL.cpp static 11562 76 %
RenderCompositorSWGL.h 2823 100 %
RenderD3D11TextureHost.cpp static 28683 34 %
RenderD3D11TextureHost.h 7727 22 %
RenderDcompSurfaceTextureHost.cpp 1546 0 %
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 0 %
RenderDMABUFTextureHost.cpp 3892 0 %
RenderDMABUFTextureHost.h 1883 0 %
RenderEGLImageTextureHost.cpp 6820 0 %
RenderEGLImageTextureHost.h 2046 0 %
RendererOGL.cpp aZero = 20000 54 %
RendererOGL.h Determine if any content pipelines updated, and update mContentPipelineEpochs. 6857 100 %
RendererScreenshotGrabber.cpp 3630 100 %
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 61 %
RenderTextureHost.h 6793 31 %
RenderTextureHostSWGL.cpp 7698 72 %
RenderTextureHostSWGL.h 2499 67 %
RenderTextureHostWrapper.cpp 8101 33 %
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 60104 77 %
RenderThread.h 20555 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 83 %
webrender_ffi.h 4589 100 %
WebRenderAPI.cpp 74429 81 %
WebRenderAPI.h 39271 92 %
WebRenderTypes.cpp 3188 88 %
WebRenderTypes.h Generate a brand new window id and return it. 29340 88 %