mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
compositing: Add some layer tree debugging infrastructure.
This commit is contained in:
parent
df4acbac04
commit
300315bb78
3 changed files with 30 additions and 2 deletions
|
@ -19,6 +19,7 @@ use msg::compositor_msg::{Epoch, LayerId, LayerProperties, ScrollPolicy};
|
|||
use msg::constellation_msg::PipelineId;
|
||||
use std::rc::Rc;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct CompositorData {
|
||||
/// This layer's pipeline id. The compositor can associate this id with an
|
||||
/// actual CompositionPipeline.
|
||||
|
@ -143,7 +144,7 @@ pub trait CompositorLayer {
|
|||
fn pipeline_id(&self) -> PipelineId;
|
||||
}
|
||||
|
||||
#[derive(Copy, PartialEq, Clone)]
|
||||
#[derive(Copy, PartialEq, Clone, Debug)]
|
||||
pub enum WantsScrollEventsFlag {
|
||||
WantsScrollEvents,
|
||||
DoesntWantScrollEvents,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue