mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rename RenderChan -> PaintChan
This commit is contained in:
parent
9b6faaf7f0
commit
7ff790d941
7 changed files with 38 additions and 38 deletions
|
@ -28,7 +28,7 @@ use geom::scale_factor::ScaleFactor;
|
|||
use gfx::color;
|
||||
use gfx::display_list::{DisplayList, OpaqueNode, StackingContext};
|
||||
use gfx::font_cache_task::FontCacheTask;
|
||||
use gfx::paint_task::{mod, RenderInitMsg, RenderChan, PaintLayer};
|
||||
use gfx::paint_task::{mod, RenderInitMsg, PaintChan, PaintLayer};
|
||||
use layout_traits;
|
||||
use layout_traits::{LayoutControlMsg, LayoutTaskFactory};
|
||||
use log;
|
||||
|
@ -119,7 +119,7 @@ pub struct LayoutTask {
|
|||
pub script_chan: ScriptControlChan,
|
||||
|
||||
/// The channel on which messages can be sent to the painting task.
|
||||
pub render_chan: RenderChan,
|
||||
pub paint_chan: PaintChan,
|
||||
|
||||
/// The channel on which messages can be sent to the time profiler.
|
||||
pub time_profiler_chan: TimeProfilerChan,
|
||||
|
@ -173,7 +173,7 @@ impl LayoutTaskFactory for LayoutTask {
|
|||
constellation_chan: ConstellationChan,
|
||||
failure_msg: Failure,
|
||||
script_chan: ScriptControlChan,
|
||||
render_chan: RenderChan,
|
||||
paint_chan: PaintChan,
|
||||
resource_task: ResourceTask,
|
||||
img_cache_task: ImageCacheTask,
|
||||
font_cache_task: FontCacheTask,
|
||||
|
@ -191,7 +191,7 @@ impl LayoutTaskFactory for LayoutTask {
|
|||
pipeline_port,
|
||||
constellation_chan,
|
||||
script_chan,
|
||||
render_chan,
|
||||
paint_chan,
|
||||
resource_task,
|
||||
img_cache_task,
|
||||
font_cache_task,
|
||||
|
@ -240,7 +240,7 @@ impl LayoutTask {
|
|||
pipeline_port: Receiver<LayoutControlMsg>,
|
||||
constellation_chan: ConstellationChan,
|
||||
script_chan: ScriptControlChan,
|
||||
render_chan: RenderChan,
|
||||
paint_chan: PaintChan,
|
||||
resource_task: ResourceTask,
|
||||
image_cache_task: ImageCacheTask,
|
||||
font_cache_task: FontCacheTask,
|
||||
|
@ -264,7 +264,7 @@ impl LayoutTask {
|
|||
chan: chan,
|
||||
constellation_chan: constellation_chan,
|
||||
script_chan: script_chan,
|
||||
render_chan: render_chan,
|
||||
paint_chan: paint_chan,
|
||||
time_profiler_chan: time_profiler_chan,
|
||||
resource_task: resource_task,
|
||||
image_cache_task: image_cache_task.clone(),
|
||||
|
@ -463,7 +463,7 @@ impl LayoutTask {
|
|||
LayoutTask::return_rw_data(possibly_locked_rw_data, rw_data);
|
||||
}
|
||||
|
||||
self.render_chan.send(paint_task::ExitMsg(Some(response_chan)));
|
||||
self.paint_chan.send(paint_task::ExitMsg(Some(response_chan)));
|
||||
response_port.recv()
|
||||
}
|
||||
|
||||
|
@ -690,7 +690,7 @@ impl LayoutTask {
|
|||
|
||||
debug!("Layout done!");
|
||||
|
||||
self.render_chan.send(RenderInitMsg(stacking_context));
|
||||
self.paint_chan.send(RenderInitMsg(stacking_context));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue