Replace 'render' to 'paint' in compositor_msg.rs

This commit is contained in:
Tetsuharu OHZEKI 2014-12-08 15:32:33 +09:00
parent b9db453444
commit 037eff0f4c

View file

@ -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>,