summaryrefslogtreecommitdiff
path: root/cogl/tests/conform/meson.build
diff options
context:
space:
mode:
authorJonas Ã…dahl <jadahl@gmail.com>2019-11-13 22:21:58 +0100
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2019-12-03 19:02:14 +0000
commit49c8d423171d10b4a4b5560af8df7667d9275001 (patch)
tree0d96316601491a5a8dc48328a323776f6117dffa /cogl/tests/conform/meson.build
parent5c986060f0afe1a59fb4b402966ed214371f45f6 (diff)
downloadmutter-49c8d423171d10b4a4b5560af8df7667d9275001.tar.gz
clutter: Introduce paint contexts
When painting, actors rely on semi global state tracked by the state to get various things needed for painting, such as the current draw framebuffer. Having state hidden in such ways can be very deceiving as it's hard to follow changes spread out, and adding more and more state that should be tracked during a paint gets annoying as they will not change in isolation but one by one in their own places. To do this better, introduce a paint context that is passed along in paint calls that contains the necessary state needed during painting. The paint context implements a framebuffer stack just as Cogl works, which is currently needed for offscreen rendering used by clutter. The same context is passed around for paint nodes, contents and effects as well. In this commit, the context is only introduced, but not used. It aims to replace the Cogl framebuffer stack, and will allow actors to know what view it is currently painted on. https://gitlab.gnome.org/GNOME/mutter/merge_requests/935
Diffstat (limited to 'cogl/tests/conform/meson.build')
0 files changed, 0 insertions, 0 deletions