Comment 13 for bug 1280842

Revision history for this message
Michael Terry (mterry) wrote :

Daniel, I don't think this is a duplicate of bug 1279422. This is about the compositor being able to hide surfaces. That bug is about letting a session execute its internal code.

About BasicSurface, OK. I get that it's an internal implementation class. But do a grep for for CompositingCriteria in the include/ folder and you'll see there's no way to get to one. That needs to be exposed before should_be_rendered_in() can be useful. As it is, USC can't ask that question of a surface.

(Additionally, ideally it would be easy to pass should_be_rendered_in() a rectangle covering the surface. That only seems to be easy via BasicSurface's point/size combo. Which again, isn't exposed.)