gsk: Add redirection to FBOs for opacity groups

Desktop / GNOME / GTK - Emmanuele Bassi [gnome.org] - 18 October 2016 05:49 UTC

If a node is non-opaque and has a non-zero opacity we need to paint its contents and children first to an off screen buffer, and then render the resulting texture at the desired opacity — otherwise the opacities will combine and result in the wrong rendering.

9e22118 gsk: Add redirection to FBOs for opacity groups
gsk/gskglrenderer.c | 161 +++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 129 insertions(+), 32 deletions(-)

Upstream: git.gnome.org


  • Share