Crate compositing_traits

Source
Expand description

The interface to the compositing crate.

Modules§

display_list
Defines data structures which are consumed by the Compositor.
rendering_context
viewport_description
This module contains helpers for Viewport

Structs§

CompositionPipeline
The subset of the pipeline that is needed for layer composition.
CompositorProxy
Sends messages to the compositor.
CrossProcessCompositorApi
A mechanism to send messages from ScriptThread to the parent process’ WebRender instance.
PipelineExitSource
What entity is reporting that a Pipeline has exited. Only when all have done this will the renderer discard its details.
SendableFrameTree
WebrenderExternalImageHandlers
WebRender External Image Handler implementation.
WebrenderExternalImageRegistry
List of Webrender external images to be shared among all external image consumers (WebGL, Media, WebGPU). It ensures that external image identifiers are unique.

Enums§

CompositorMsg
Messages from (or via) the constellation thread to the compositor.
ExternalImageSource
The source for an external image.
ImageUpdate
Serializable image updates that must be performed by WebRender.
SerializableImageData
Serialized ImageData. It contains IPC byte channel receiver to prevent from loading bytes too slow.
WebrenderImageHandlerType
Type of Webrender External Image Handler.

Traits§

WebViewTrait
A trait that exposes the embedding layer’s WebView to the Servo renderer. This is to prevent a dependency cycle between the renderer and the embedding layer.
WebrenderExternalImageApi
This trait is used as a bridge between the different GL clients in Servo that handles WebRender ExternalImages and the WebRender ExternalImageHandler API. This trait is used to notify lock/unlock messages and get the required info that WR needs.