mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Replace 'render' to 'paint' in compositor_msg.rs
This commit is contained in:
parent
b9db453444
commit
037eff0f4c
1 changed files with 2 additions and 2 deletions
|
@ -81,13 +81,13 @@ pub struct LayerMetadata {
|
||||||
pub scroll_policy: ScrollPolicy,
|
pub scroll_policy: ScrollPolicy,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The interface used by the renderer to acquire draw targets for each render frame and
|
/// The interface used by the painter to acquire draw targets for each paint frame and
|
||||||
/// submit them to be drawn to the display.
|
/// submit them to be drawn to the display.
|
||||||
pub trait PaintListener for Sized? {
|
pub trait PaintListener for Sized? {
|
||||||
fn get_graphics_metadata(&mut self) -> Option<NativeGraphicsMetadata>;
|
fn get_graphics_metadata(&mut self) -> Option<NativeGraphicsMetadata>;
|
||||||
|
|
||||||
/// Informs the compositor of the layers for the given pipeline. The compositor responds by
|
/// Informs the compositor of the layers for the given pipeline. The compositor responds by
|
||||||
/// creating and/or destroying render layers as necessary.
|
/// creating and/or destroying paint layers as necessary.
|
||||||
fn initialize_layers_for_pipeline(&mut self,
|
fn initialize_layers_for_pipeline(&mut self,
|
||||||
pipeline_id: PipelineId,
|
pipeline_id: PipelineId,
|
||||||
metadata: Vec<LayerMetadata>,
|
metadata: Vec<LayerMetadata>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue