From 806b6f09c99eafb7bda9f3fc0b96a1b121f85a53 Mon Sep 17 00:00:00 2001 From: Tetsuharu OHZEKI Date: Mon, 8 Dec 2014 13:28:13 +0900 Subject: Rename RenderState -> PaintState --- components/msg/compositor_msg.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'components/msg/compositor_msg.rs') diff --git a/components/msg/compositor_msg.rs b/components/msg/compositor_msg.rs index d4e8e208223..989d4d56968 100644 --- a/components/msg/compositor_msg.rs +++ b/components/msg/compositor_msg.rs @@ -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)>); 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, -- cgit v1.2.3