Name Description Size
Cargo.toml 1038
cbindgen.toml 1614
DCLayerTree.cpp static 63840
DCLayerTree.h DCLayerTree manages direct composition layers. It does not manage gecko's layers::Layer. 15280
moz.build 3626
Moz2DImageRenderer.cpp 15227
README.webrender To build and run WebRender in Gecko: 1871
RenderAndroidHardwareBufferTextureHost.cpp 7249
RenderAndroidHardwareBufferTextureHost.h 2105
RenderAndroidSurfaceTextureHost.cpp 9870
RenderAndroidSurfaceTextureHost.h 2868
RenderBufferTextureHost.cpp 8590
RenderBufferTextureHost.h 2317
RenderCompositor.cpp 10616
RenderCompositor.h 8471
RenderCompositorANGLE.cpp static 32882
RenderCompositorANGLE.h 5373
RenderCompositorD3D11SWGL.cpp 18085
RenderCompositorD3D11SWGL.h 3940
RenderCompositorEGL.cpp static 10548
RenderCompositorEGL.h 2319
RenderCompositorLayersSWGL.cpp aPremultiplied 16408
RenderCompositorLayersSWGL.h 6784
RenderCompositorNative.cpp 22593
RenderCompositorNative.h 8262
RenderCompositorOGL.cpp static 3965
RenderCompositorOGL.h 1495
RenderCompositorOGLSWGL.cpp aSurfaceWidth 17290
RenderCompositorOGLSWGL.h 3179
RenderCompositorRecordedFrame.h aZero = 1436
RenderCompositorSWGL.cpp static 11774
RenderCompositorSWGL.h 2941
RenderD3D11TextureHost.cpp 20929
RenderD3D11TextureHost.h 6295
RenderDcompSurfaceTextureHost.cpp 1746
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 4145
RenderTextureHostSWGL.cpp 7601
RenderTextureHostSWGL.h 2474
RenderTextureHostWrapper.cpp 6953
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. 3405
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). 52995
RenderThread.h 16808
rustfmt.toml 295
src
webrender_ffi.h 4232
WebRenderAPI.cpp 68529
WebRenderAPI.h 35348
WebRenderTypes.cpp 3274
WebRenderTypes.h Generate a brand new window id and return it. 28277