1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-03-13 02:42:08 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
Thomas Harte
9f39b7be93 Eliminate macro. 2026-02-02 09:17:41 -05:00
Thomas Harte
15cced59e5 Eliminate deferred uniform sets. 2026-02-02 09:08:50 -05:00
Thomas Harte
4c965ecf4e Change premise of test_gl. 2026-02-01 13:14:21 -05:00
Thomas Harte
43448a6084 Establish that this isn't an "it just works" situation. 2026-02-01 00:00:02 -05:00
Thomas Harte
4235bc07e2 Clarify logic for texture uploads. 2026-01-30 23:39:59 -05:00
Thomas Harte
2cd72d58a1 Avoid double on-demand test. 2026-01-30 22:34:16 -05:00
Thomas Harte
85e190835f Use a Texture. 2026-01-30 22:22:52 -05:00
Thomas Harte
93a0e42921 Add holder for textures. 2026-01-30 20:57:23 -05:00
Thomas Harte
bc95cc7fc0 Tag as deprecated. 2026-01-30 14:29:35 -05:00
Thomas Harte
84451a4841 Eliminate avoidance of NPOT textures; use linear sampling.
The linear sampling is how I intend to get antialiasing later.
2026-01-30 10:44:32 -05:00
Thomas Harte
da0c99067d Add some TODOs, make TextureTargets moveable. 2026-01-30 10:38:52 -05:00
Thomas Harte
e04f89d2f1 Remove capacity for misuse. 2026-01-29 18:16:59 -05:00
Thomas Harte
7464a0c0ec Go a bit more RAII on vertex arrays. 2026-01-29 18:12:51 -05:00
Thomas Harte
77a2d2cb3c Add call for post hoc binding. 2026-01-29 14:52:17 -05:00
Thomas Harte
5f0ab48ec1 Enable generation of the needed composition shader.
Proving that I've forgotten something about vertex attribute bindings.
2026-01-29 11:03:02 -05:00
Thomas Harte
da63d16081 Allow shaders to be moved. 2026-01-28 14:30:31 -05:00
Thomas Harte
4f311b510d Prove that INPUT_PHASE_LINKED_LUMINANCE8 isn't yet correct. 2026-01-26 22:24:27 -05:00
Thomas Harte
da0b241ea0 Include a test build of the new composition shader. 2026-01-26 22:16:34 -05:00
Thomas Harte
6346ab67f9 Mildly reformat; as a refresher as much as anything. 2026-01-19 15:54:51 -05:00
Thomas Harte
a510286439 Further expand and explain interoperability intentions. 2025-12-17 10:16:35 -05:00
Thomas Harte
66d0cfccf3 Add usampler2d default precision. 2025-12-17 04:29:32 +00:00
Thomas Harte
999431111f Log failed shader. 2025-12-17 04:06:19 +00:00
Thomas Harte
0ac8f9ea77 Attempt ES wrapping. 2025-12-16 22:40:57 -05:00
Thomas Harte
0d8fa93a05 Propagate an OpenGL API version, use it to wrap shader programs. 2025-12-16 22:23:48 -05:00
Thomas Harte
cf777816ce Give Qt full ownership of its workaround. 2025-12-01 20:51:15 +00:00
Thomas Harte
16f031df4d After further diagnosis, work around Qt6 GL crash. 2025-11-29 21:57:01 -05:00
Thomas Harte
fac3d99f64 Switch to no-instance logging. 2025-09-12 07:17:23 -04:00
Thomas Harte
ca6e34f4b4 Fix dangling OpenGL accesses. 2025-09-05 19:30:33 -04:00
Thomas Harte
2c2216afae Further eliminate file-relative includes. 2025-02-28 13:18:48 -05:00
Thomas Harte
ce5aae3f7d Adjust more dangling indentation changes. 2024-12-04 22:29:08 -05:00
Thomas Harte
8eb38ac437 Make use of bound_shader. 2024-01-19 22:34:42 -05:00
Thomas Harte
b5e3858c46 Update logging. 2024-01-19 15:38:40 -05:00
Thomas Harte
a3d37640aa Switch include guards to #pragma once. 2024-01-16 23:34:46 -05:00
Thomas Harte
2b56b7be0d Simplify namespace syntax. 2023-05-10 16:02:18 -05:00
Thomas Harte
495024d6fe Cleans up all redundant lock/unique_guard declarations. 2020-06-15 00:24:10 -04:00
Thomas Harte
0dae608da5 Embraces std::make_[unique/shared] in place of .reset(new . 2019-12-23 21:31:46 -05:00
Thomas Harte
24fb95291a Reverts to support a full RGBA colour buffer. 2019-03-07 19:22:40 -05:00
Thomas Harte
5660007221 Experimentally introduces adaptive quality intermediate buffers. 2019-03-05 21:41:20 -05:00
Thomas Harte
641e349f33 Switches to an 8bpp stencil, for Nvidia compatibility. 2019-03-03 20:38:24 -05:00
Thomas Harte
8f2abab0d9 Ensures texture targets are initially clear. 2019-02-25 21:55:14 -05:00
Thomas Harte
ddf5e1632d Ensures log memory is automatically initialised. 2019-02-18 22:08:03 -05:00
Thomas Harte
e0751af56d Handles the 0 return case. 2019-02-18 21:56:49 -05:00
Thomas Harte
3979faf43b Gets more explicit about potential causes of failure. 2019-02-18 21:53:35 -05:00
Thomas Harte
8ecf885629 Attempts to put in better OpenGL safety rails. 2019-02-18 10:29:40 -05:00
Thomas Harte
208ef70e31 Corrects documentation. 2019-02-12 18:55:58 -05:00
Thomas Harte
c94acb1ca2 With a little more debug logging, discovered an issue with incrementing by four. 2019-02-09 22:45:20 -05:00
Thomas Harte
687e0b376e Enhances error checking around setting of uniforms. 2019-01-31 21:17:49 -05:00
Thomas Harte
122857e5b5 Improves automatic index generation, to allow for matrices implicitly taking up to four slots. 2019-01-31 18:49:01 -05:00
Thomas Harte
d09ac3384f Eliminates some old-school manual memory management.
In favour of additional copying, but I still think this is safer.
2019-01-25 22:54:23 -05:00
Thomas Harte
c87994336c Switches the Shader class to using LOG. 2019-01-25 22:45:47 -05:00