Remove RenderListener::set_layer_clip_rect

It is currently unused.
This commit is contained in:
Bryan Bell 2014-08-27 16:17:49 -07:00 committed by Martin Robinson
parent 31cc50f2eb
commit 69a2dbc868
2 changed files with 0 additions and 16 deletions

View file

@ -126,17 +126,6 @@ impl RenderListener for CompositorChan {
self.chan.send(RenderMsgDiscarded);
}
fn set_layer_clip_rect(&self,
pipeline_id: PipelineId,
layer_id: LayerId,
new_rect: Rect<uint>) {
let new_rect = Rect(Point2D(new_rect.origin.x as f32,
new_rect.origin.y as f32),
Size2D(new_rect.size.width as f32,
new_rect.size.height as f32));
self.chan.send(SetLayerClipRect(pipeline_id, layer_id, new_rect))
}
fn set_render_state(&self, render_state: RenderState) {
self.chan.send(ChangeRenderState(render_state))
}

View file

@ -94,11 +94,6 @@ pub trait RenderListener {
metadata: Vec<LayerMetadata>,
epoch: Epoch);
fn set_layer_clip_rect(&self,
pipeline_id: PipelineId,
layer_id: LayerId,
new_rect: Rect<uint>);
/// Sends new tiles for the given layer to the compositor.
fn paint(&self,
pipeline_id: PipelineId,