mutter/cogl/tests/conform
Jonas Ådahl 49c8d42317 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
2019-12-03 19:02:14 +00:00
..
meson cogl/tests: Export and run unit tests if they are enabled 2019-05-02 19:56:23 +00:00
meson.build cogl: Remove unported test-vertex-buffer-mutability 2019-11-20 11:59:15 -05:00
mutter-cogl.test.in Add Meson support for installed tests 2018-12-20 13:52:35 -02:00
test-alpha-test.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-alpha-textures.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-atlas-migration.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-backface-culling.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-blend-strings.c cogl: Remove cogl_handle_ref/unref 2019-10-14 17:05:28 +00:00
test-blend.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-color-hsl.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-conform-main.c Remove CoglQuaternion 2019-10-16 11:38:13 +00:00
test-copy-replace-texture.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-custom-attributes.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-declarations.h Remove CoglQuaternion 2019-10-16 11:38:13 +00:00
test-depth-test.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-euler.c Remove CoglQuaternion 2019-10-16 11:38:13 +00:00
test-fence.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-fixed.c move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
test-fixtures.c move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
test-framebuffer-get-bits.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-just-vertex-shader.c cogl: Remove deprecated cogl_color_set_from_* 2019-11-20 11:59:15 -05:00
test-layer-remove.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-map-buffer-range.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-materials.c clutter: Introduce paint contexts 2019-12-03 19:02:14 +00:00
test-multitexture.c clutter: Introduce paint contexts 2019-12-03 19:02:14 +00:00
test-no-gl-header.c move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
test-npot-texture.c cogl: NPOT textures are always available 2019-04-18 12:53:07 -04:00
test-object.c move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
test-offscreen.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-path-clip.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-path.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-pipeline-cache-unrefs-texture.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-pipeline-shader-state.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-pipeline-uniforms.c cogl: Remove cogl_handle_ref/unref 2019-10-14 17:05:28 +00:00
test-pipeline-user-matrix.c cogl: Remove CoglError wrapper 2019-06-20 18:25:04 +02:00
test-pixel-buffer.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-point-size-attribute.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-point-size.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-point-sprite.c cogl: Remove CoglError wrapper 2019-06-20 18:25:04 +02:00
test-premult.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-primitive-and-journal.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-primitive.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-read-texture-formats.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-readpixels.c clutter: Introduce paint contexts 2019-12-03 19:02:14 +00:00
test-snippets.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-sparse-pipeline.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-sub-texture.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-texture-get-set-data.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-texture-mipmaps.c clutter: Introduce paint contexts 2019-12-03 19:02:14 +00:00
test-texture-no-allocate.c cogl: Remove CoglError wrapper 2019-06-20 18:25:04 +02:00
test-texture-pixmap-x11.c clutter: Introduce paint contexts 2019-12-03 19:02:14 +00:00
test-texture-rg.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-version.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-vertex-buffer-contiguous.c clutter: Introduce paint contexts 2019-12-03 19:02:14 +00:00
test-vertex-buffer-interleved.c clutter: Introduce paint contexts 2019-12-03 19:02:14 +00:00
test-viewport.c clutter: Introduce paint contexts 2019-12-03 19:02:14 +00:00
test-wrap-modes.c test: use correct enum 2019-11-16 00:14:20 +01:00
test-write-texture-formats.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00