mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove unused create_layer_group_for_pipeline
This commit is contained in:
parent
6b1799caa3
commit
9c3875ead5
2 changed files with 0 additions and 8 deletions
|
@ -83,13 +83,6 @@ impl RenderListener for CompositorChan {
|
||||||
self.chan.send(Paint(pipeline_id, layer_id, layer_buffer_set, epoch))
|
self.chan.send(Paint(pipeline_id, layer_id, layer_buffer_set, epoch))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn create_layer_group_for_pipeline(&self, id: PipelineId, page_size: Size2D<uint>) {
|
|
||||||
let Size2D { width, height } = page_size;
|
|
||||||
self.chan.send(CreateRootCompositorLayerIfNecessary(id,
|
|
||||||
LayerId::null(),
|
|
||||||
Size2D(width as f32, height as f32)))
|
|
||||||
}
|
|
||||||
|
|
||||||
fn initialize_layers_for_pipeline(&self,
|
fn initialize_layers_for_pipeline(&self,
|
||||||
pipeline_id: PipelineId,
|
pipeline_id: PipelineId,
|
||||||
metadata: ~[LayerMetadata],
|
metadata: ~[LayerMetadata],
|
||||||
|
|
|
@ -121,7 +121,6 @@ pub struct LayerMetadata {
|
||||||
/// submit them to be drawn to the display.
|
/// submit them to be drawn to the display.
|
||||||
pub trait RenderListener {
|
pub trait RenderListener {
|
||||||
fn get_graphics_metadata(&self) -> Option<NativeGraphicsMetadata>;
|
fn get_graphics_metadata(&self) -> Option<NativeGraphicsMetadata>;
|
||||||
fn create_layer_group_for_pipeline(&self, PipelineId, Size2D<uint>);
|
|
||||||
|
|
||||||
/// 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 render layers as necessary.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue