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.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1280842

Title:
  [enhancement] Need a method of hiding surfaces until they are ready to
  draw themselves

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1280842/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to