summaryrefslogtreecommitdiff
path: root/src/tests/cogl
Commit message (Collapse)AuthorAgeFilesLines
* cogl: Remove legacy OpenGL driver supportJonas Ådahl2023-02-213-6/+5
| | | | | | This means the two Cogl drivers left are OpenGL >= 3.1 and GLES >= 2.0. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2672>
* tests/cogl: Remove extra semicolonJonas Ådahl2023-02-011-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2814>
* clutter: Pass 'ClutterFrame' in all stage update signalsJonas Ådahl2023-01-233-8/+10
| | | | | | | | | That means before-update, prepare-paint, before-paint, paint-view, after-paint, after-update. While yet to be used, it will be used as a transient frame book keeping object, to maintain object and state that is only valid during a frame dispatch. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2795>
* tests/cogl: Add test checking rgb10 fbo precisionJonas Ådahl2022-12-172-0/+238
| | | | | | | | | | | | | There are two tests; one checks that clearing with a color that cannot be represented using 8 bits per channel doesn't loose precision when painted, then read back using glReadPixels(). Would the texture backing store have 8 bits per channel instead of 10, we'd get a different value back. The other test checks that painting from one fbo to another also doesn't loose that precision. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2461>
* cogl/pipeline/vertend/glsl: Move out unit test to its own fileJonas Ådahl2022-08-082-0/+71
| | | | | | Fix a memory leak while at it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl/unit: Run most tests with all driversJonas Ådahl2022-08-081-11/+24
| | | | | | | All tests but one (so far) will in one way or the other depend on what driver is used, so run the tests on all. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* cogl/pipeline/opengl: Move out unit test to separate fileJonas Ådahl2022-08-082-0/+45
| | | | | | | Also rename the suffix to "-glsl" to not confuse OpenGL with GLES2 since this test covers both. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* cogl/pipeline-state: Move out working unit test to separate fileJonas Ådahl2022-08-082-0/+48
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* cogl/pipeline-state: Move out failing test to its own fileJonas Ådahl2022-08-082-0/+46
| | | | | | | | This test is a known failure, so mark it as such. It's stored in its own file since keeping it in the same as the passing test isn't markable using meson. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* test/cogl/unit: Allow marking known failuresJonas Ådahl2022-08-081-4/+6
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* cogl/pipeline-cache: Move unit test to its own fileJonas Ådahl2022-08-082-0/+105
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* cogl: Move out bitmask unit test to separate fileJonas Ådahl2022-08-082-0/+182
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Add unit test frameworkJonas Ådahl2022-08-082-0/+39
| | | | | | | | | | It consists of only a macro and build description logic. Adds a macro for simpler tests that doesn't require a context; unit tests requiring a context should use the same framework as conform tests. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* cogl: Remove now empty conform test suiteJonas Ådahl2022-08-087-0/+1283
| | | | | | | | All working tests have already migrated to the test suite using mutter; move the old unported tests over too, and remove the conform test framework, as it is no longer used. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate fence testJonas Ådahl2022-08-082-0/+69
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate texture rg testJonas Ådahl2022-08-082-0/+85
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate pipeline shader state testJonas Ådahl2022-08-082-0/+98
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate texture no allocate testJonas Ådahl2022-08-082-0/+67
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate pipeline cache unrefs texture testJonas Ådahl2022-08-082-0/+96
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate copy/replace texture testJonas Ådahl2022-08-082-0/+125
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate primitive and journal testJonas Ådahl2022-08-082-0/+123
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate framebuffer bits testJonas Ådahl2022-08-082-0/+56
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate texture get/set data testJonas Ådahl2022-08-082-0/+149
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate alpha texture testJonas Ådahl2022-08-082-0/+127
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate npot texture testJonas Ådahl2022-08-082-0/+164
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate map buffer range testJonas Ådahl2022-08-082-0/+134
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate alpha test testJonas Ådahl2022-08-082-0/+77
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate layer remove testJonas Ådahl2022-08-082-0/+150
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate no-gl header testJonas Ådahl2022-08-082-0/+16
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate point sprite testsJonas Ådahl2022-08-083-0/+378
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate point size attribute testsJonas Ådahl2022-08-082-0/+173
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate point size testJonas Ådahl2022-08-082-0/+105
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate write texture formats testJonas Ådahl2022-08-082-0/+189
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate read texture formats testJonas Ådahl2022-08-082-0/+227
| | | | | | This test fails on gl and gl3, but not on gles2; mark is at such. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: List known failuresJonas Ådahl2022-08-081-21/+24
| | | | | | | Some tests fail on e.g. gl and gl3, but not on gles2; allow describing that. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate sparse pipeline testJonas Ådahl2022-08-082-0/+66
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate primitive testsJonas Ådahl2022-08-082-0/+339
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate journal testJonas Ådahl2022-08-082-0/+50
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate offscreen testJonas Ådahl2022-08-082-0/+212
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate custom attributes testJonas Ådahl2022-08-082-0/+306
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate sub-texture testJonas Ådahl2022-08-082-0/+329
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate wrap modes testJonas Ådahl2022-08-082-0/+249
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate snippets testJonas Ådahl2022-08-082-0/+822
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate premult testJonas Ådahl2022-08-082-0/+289
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate pixel buffer testsJonas Ådahl2022-08-082-0/+276
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate pipeline uniforms testJonas Ådahl2022-08-082-0/+420
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate pipeline user matrix testJonas Ådahl2022-08-082-0/+148
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate just-vertex-shaderJonas Ådahl2022-08-082-0/+122
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate backface-culling testJonas Ådahl2022-08-082-0/+319
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
* tests/cogl: Migrate color-hsl testJonas Ådahl2022-08-082-0/+50
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>