Name Description Size Coverage
Cargo.toml 1201 -
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 113044 51 %
DCLayerTree.h DCLayerTree manages direct composition layers. It does not manage gecko's layers::Layer. 23813 63 %
moz.build 3784 -
Moz2DImageRenderer.cpp 16771 79 %
README.webrender To build and run WebRender in Gecko: 1867 -
RenderAndroidHardwareBufferTextureHost.cpp 7791 -
RenderAndroidHardwareBufferTextureHost.h 2217 -
RenderAndroidSurfaceTextureHost.cpp 10758 -
RenderAndroidSurfaceTextureHost.h 2835 -
RenderBufferTextureHost.cpp 8720 82 %
RenderBufferTextureHost.h 2317 100 %
RenderCompositor.cpp 13388 69 %
RenderCompositor.h 10571 49 %
RenderCompositorANGLE.cpp static 34771 76 %
RenderCompositorANGLE.h 6750 100 %
RenderCompositorD3D11SWGL.cpp 17651 70 %
RenderCompositorD3D11SWGL.h 3956 100 %
RenderCompositorEGL.cpp static 11861 71 %
RenderCompositorEGL.h 2470 67 %
RenderCompositorLayerNative.cpp 18468 0 %
RenderCompositorLayerNative.h 7511 0 %
RenderCompositorLayersSWGL.cpp aPremultiplied 17375 67 %
RenderCompositorLayersSWGL.h 6960 88 %
RenderCompositorNative.cpp 25219 0 %
RenderCompositorNative.h 8869 0 %
RenderCompositorOGL.cpp static 3933 0 %
RenderCompositorOGL.h 1495 0 %
RenderCompositorOGLSWGL.cpp aSurfaceWidth 20031 2 %
RenderCompositorOGLSWGL.h 3661 0 %
RenderCompositorRecordedFrame.h aZero = 1436 0 %
RenderCompositorSWGL.cpp static 11683 76 %
RenderCompositorSWGL.h 2944 100 %
RenderD3D11TextureHost.cpp static 25528 45 %
RenderD3D11TextureHost.h 7167 29 %
RenderDcompSurfaceTextureHost.cpp 1626 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. 2430 0 %
RenderDMABUFTextureHost.cpp 4027 0 %
RenderDMABUFTextureHost.h 2003 0 %
RenderEGLImageTextureHost.cpp 6935 0 %
RenderEGLImageTextureHost.h 2167 0 %
RendererOGL.cpp aZero = 19537 59 %
RendererOGL.h 6750 100 %
RendererScreenshotGrabber.cpp 3185 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 -
RenderExternalTextureHost.cpp 7841 0 %
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. 2516 0 %
RenderMacIOSurfaceTextureHost.cpp 6407 -
RenderMacIOSurfaceTextureHost.h 2048 -
RenderSharedSurfaceTextureHost.cpp 2535 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. 1728 100 %
RenderTextureHost.cpp 5280 56 %
RenderTextureHost.h 6131 30 %
RenderTextureHostSWGL.cpp 7461 77 %
RenderTextureHostSWGL.h 2308 70 %
RenderTextureHostWrapper.cpp 6639 44 %
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. 3472 50 %
RenderThread.cpp 56857 78 %
RenderThread.h 19911 93 %
rustfmt.toml 295 -
src 83 %
webrender_ffi.h 4686 100 %
WebRenderAPI.cpp 73612 85 %
WebRenderAPI.h 39281 93 %
WebRenderTypes.cpp 3309 88 %
WebRenderTypes.h Generate a brand new window id and return it. 28175 92 %