1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-20 10:17:05 +00:00
Commit Graph

1127 Commits

Author SHA1 Message Date
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 3ad36fffec Also install fromRGB matrix. 2026-01-29 09:16:54 -05:00
Thomas Harte 5a296fdd52 Move function into anonymous namespace. 2026-01-28 21:22:29 -05:00
Thomas Harte de8d9e6e0c Set source texture unit. 2026-01-28 20:46:24 -05:00
Thomas Harte e72ab3dd01 Factor out clock multiplier selection; apply composition uniforms. 2026-01-28 17:43:19 -05:00
Thomas Harte 1be9b1ed29 Eliminate macro, potentially add #NO_BITWISE. 2026-01-28 16:40:44 -05:00
Thomas Harte 8a6c019b50 Update TODO. 2026-01-28 14:42:13 -05:00
Thomas Harte 5a4d656cde Enable vertex attributes. 2026-01-28 14:41:46 -05:00
Thomas Harte da63d16081 Allow shaders to be moved. 2026-01-28 14:30:31 -05:00
Thomas Harte a4caf78c6e Update S-Video intermediate form. 2026-01-28 14:26:33 -05:00
Thomas Harte 128a6e6089 Attempt proper vertex shader; document updated S-Video plan. 2026-01-28 14:19:16 -05:00
Thomas Harte cdb04f3dea Add note-to-self TODO. 2026-01-27 17:41:02 -05:00
Thomas Harte c11d65295e Add missing mask. 2026-01-27 17:39:29 -05:00
Thomas Harte 92800a5452 Slightly compact. 2026-01-27 17:35:20 -05:00
Thomas Harte 99b58e4835 Add namespace qualifier. 2026-01-27 17:34:08 -05:00
Thomas Harte 00c1631111 Adapt to a regular function. 2026-01-27 17:33:24 -05:00
Thomas Harte 5ac183b7bf Add the RGB types. 2026-01-27 17:17:20 -05:00
Thomas Harte 055ff7f648 Improve INPUT_LUMINANCE8_PHASE8. 2026-01-26 22:36:38 -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 6c8d844888 Correct error behaviour. 2026-01-26 22:24:08 -05:00
Thomas Harte da0b241ea0 Include a test build of the new composition shader. 2026-01-26 22:16:34 -05:00
Thomas Harte c2e33f71c0 Always print errors, without accumulation. 2026-01-26 22:16:17 -05:00
Thomas Harte 49d61f612f Start finding form for OpenGL composition shader. 2026-01-26 21:42:01 -05:00
Thomas Harte 81a65484a8 Switch to std::swap_ranges. 2026-01-22 12:34:33 -05:00
Thomas Harte 1495957f72 Merge branch 'master' into OpenGLAgain 2026-01-21 21:57:32 -05:00
Thomas Harte 13655320e2 Merge pull request #1684 from TomHarte/ChromaFloor
Add a floor for chroma, to reduce rainbow effect.
2026-01-21 21:54:41 -05:00
Thomas Harte 0a5559e358 Add a floor for chroma, to reduce rainbow effect. 2026-01-21 15:35:45 -05:00
Thomas Harte 4f6c919417 Add a floor for chroma, to reduce rainbow effect. 2026-01-21 15:34:58 -05:00
Thomas Harte 6346ab67f9 Mildly reformat; as a refresher as much as anything. 2026-01-19 15:54:51 -05:00
Thomas Harte 0852a8e970 Allow shader generator to shrink; avoid colour deterioration. 2026-01-19 08:51:41 -05:00
Thomas Harte 8743b00f85 Try to minimise and standardise-ish chroma kernel size. 2026-01-18 23:41:32 -05:00
Thomas Harte 9f7adc25e3 Make a reasoned decision on luma sharpening. 2026-01-18 20:30:43 -05:00
Thomas Harte db163ec362 Give the FilterGenerator ownership of kernel sizes. 2026-01-18 09:08:10 -05:00
Thomas Harte 46a97f4c44 Avoid oversharpening. 2026-01-17 22:56:13 -05:00
Thomas Harte c93dfd7db7 Experiment with but discover that 'real' FIRs remain out of reach. 2026-01-17 22:50:35 -05:00
Thomas Harte 3bb1fe5335 Avoid magic constants. 2026-01-17 16:37:51 -05:00
Thomas Harte 31d6524755 Reorder slightly to avoid resize. 2026-01-16 23:10:33 -05:00
Thomas Harte 46bd69de7f Improve lambdas, comment. 2026-01-16 22:53:26 -05:00
Thomas Harte e67e9fd3d2 Clean up, in pursuit of how/where I'm introducing a phase error. 2026-01-16 22:49:34 -05:00
Thomas Harte 26064cb9a4 Tweak my way to a great-looking NTSC Master System.
Other things look bad though.
2026-01-16 22:38:37 -05:00
Thomas Harte 89e8e20fcf Entrust the FilterGenerator. 2026-01-16 11:43:05 -05:00
Thomas Harte cbf4a479a0 Double buffer and kernel sizes. 2026-01-14 22:02:46 -05:00
Thomas Harte 87749415bd Flesh out interface for the filter generator. 2026-01-14 17:42:17 -05:00
Thomas Harte 9916ad3eed Separate being a filter from filter generation. 2026-01-12 22:40:43 -05:00
Thomas Harte e175848270 Start factoring out and formalising filter generation. 2026-01-12 14:30:42 -05:00
Thomas Harte d324897b7c Attempt to get all luminance-based routes working. 2026-01-06 21:18:47 -05:00
Thomas Harte 89295b7b64 Tag stream as [[maybe_unused]]. 2025-12-17 15:02:10 -05:00
Thomas Harte acf8dba51b Avoid FILE * implicitly converting to bool. 2025-12-17 15:00:40 -05:00
Thomas Harte 9ed0cc49c0 Take another swing at Qt's ambiguity problem. 2025-12-17 12:13:50 -05:00