mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Rename RenderState -> PaintState
This commit is contained in:
parent
b5f73fb179
commit
806b6f09c9
8 changed files with 49 additions and 49 deletions
|
@ -12,11 +12,11 @@ use std::fmt;
|
|||
|
||||
use constellation_msg::PipelineId;
|
||||
|
||||
/// The status of the renderer.
|
||||
/// The status of the painter.
|
||||
#[deriving(PartialEq, Clone)]
|
||||
pub enum RenderState {
|
||||
IdleRenderState,
|
||||
RenderingRenderState,
|
||||
pub enum PaintState {
|
||||
IdlePaintState,
|
||||
PaintingPaintState,
|
||||
}
|
||||
|
||||
#[deriving(Eq, Ord, PartialEq, PartialOrd, Clone)]
|
||||
|
@ -100,7 +100,7 @@ pub trait PaintListener for Sized? {
|
|||
replies: Vec<(LayerId, Box<LayerBufferSet>)>);
|
||||
|
||||
fn paint_msg_discarded(&mut self);
|
||||
fn set_paint_state(&mut self, PipelineId, RenderState);
|
||||
fn set_paint_state(&mut self, PipelineId, PaintState);
|
||||
}
|
||||
|
||||
/// The interface used by the script task to tell the compositor to update its ready state,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue