mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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,
|
||||
}
|
||||
|
||||
/// 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.
|
||||
pub trait PaintListener for Sized? {
|
||||
fn get_graphics_metadata(&mut self) -> Option<NativeGraphicsMetadata>;
|
||||
|
||||
/// 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,
|
||||
pipeline_id: PipelineId,
|
||||
metadata: Vec<LayerMetadata>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue