Crate webrender_traits
source ·Re-exports§
pub use crate::rendering_context::RenderingContext;
Modules§
- Defines data structures which are consumed by the Compositor.
Structs§
- The result of a hit test in the compositor.
- A mechanism to send messages from ScriptThread to the parent process’ WebRender instance.
- The address of a node. Layout sends these back. They must be validated via
from_untrusted_node_address
before they can be used, because we do not trust layout. - WebRender External Image Handler implementation.
- 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§
- Serializable image updates that must be performed by WebRender.
- Serialized
ImageData
. It contains IPC byte channel receiver to prevent from loading bytes too slow. - Type of Webrender External Image Handler.
Traits§
- 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.