Decoupled gfx and metrics

This commit is contained in:
Georg Streich 2018-01-15 16:25:51 +01:00
parent 75f39b42ab
commit 4b7cb2080e
7 changed files with 29 additions and 24 deletions

View file

@ -105,3 +105,8 @@ pub fn node_id_from_clip_id(id: usize) -> Option<usize> {
}
None
}
pub trait DisplayList {
/// Returns true if this display list contains meaningful content.
fn is_contentful(&self) -> bool;
}