Remove unused create_layer_group_for_pipeline

This commit is contained in:
Matt Brubeck 2014-04-09 19:57:48 -07:00
parent 6b1799caa3
commit 9c3875ead5
2 changed files with 0 additions and 8 deletions

View file

@ -83,13 +83,6 @@ impl RenderListener for CompositorChan {
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,
pipeline_id: PipelineId,
metadata: ~[LayerMetadata],

View file

@ -121,7 +121,6 @@ pub struct LayerMetadata {
/// submit them to be drawn to the display.
pub trait RenderListener {
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
/// creating and/or destroying render layers as necessary.