mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 18:39:09 +00:00
Robert Bragg
034d273030
culling: Don't cull actors not being painted on the stage
Previously we were applying the culling optimization to any actor painted without considering that we may be painting to an offscreen framebuffer where the stage clip isn't applicable. For now we simply expose a getter for the current draw framebuffer and we can assume that a return value of NULL corresponds to the stage. Note: This will need to be updated as stages start to be backed by real CoglFramebuffer objects and so we won't get NULL in those cases.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%