1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-03-14 10:16:29 +00:00
Commit Graph

207 Commits

Author SHA1 Message Date
Thomas Harte
0d83b4a808 Overtly rebind all textures.
This is defensive, based on prior experience of Qt, which seems to reserve the right to mutate your OpenGL state.
2026-02-09 11:03:24 -05:00
Thomas Harte
2e663e60a1 Restore real output path. 2026-02-09 14:49:28 +00:00
Thomas Harte
1e38a0000f Be more overt in creation tests. 2026-02-09 14:47:15 +00:00
Thomas Harte
2d8c4a3a2e Copy old output buffer when resizing; remove draw. 2026-02-07 22:32:51 -05:00
Thomas Harte
2de6b22fec Apply alpha during scan-based RGB output. 2026-02-07 16:05:52 -05:00
Thomas Harte
52075f89b2 Avoid recalculation. 2026-02-07 15:32:54 -05:00
Thomas Harte
2d8f3d8e15 Factor out repetitive circular buffer logic. 2026-02-07 15:29:10 -05:00
Thomas Harte
02283f8bfc Further eliminate redundant code. 2026-02-07 14:51:01 -05:00
Thomas Harte
3e85d280ca Avoid code duplication. 2026-02-07 14:46:33 -05:00
Thomas Harte
e6a1e02cff Correct frame-clear test; prove that the stencil isn't the issue. 2026-02-07 14:26:47 -05:00
Thomas Harte
2948b96953 Take a swing at scan output. 2026-02-07 14:24:07 -05:00
Thomas Harte
5636bc8260 Generate scan shader when needed. 2026-02-07 14:15:11 -05:00
Thomas Harte
b5e393d639 Extract conditional parts of the pipeline. 2026-02-07 08:57:49 -05:00
Thomas Harte
653c2ddd14 Rearrange to reduce code in the contended area. 2026-02-07 08:45:25 -05:00
Thomas Harte
e59e51afa5 Apply and update aspect ratio. 2026-02-06 18:01:23 -05:00
Thomas Harte
39b522e0f9 Propagate aspect ratio information into a LineOutputShader. 2026-02-06 17:23:33 -05:00
Thomas Harte
51bf98f574 Factor out sizing/placement, and convert into portable code. 2026-02-06 16:48:07 -05:00
Thomas Harte
93858dfae4 Fix clearing colour. 2026-02-06 15:13:26 -05:00
Thomas Harte
39bff4cab2 Just submit lines in batches. 2026-02-06 15:12:42 -05:00
Thomas Harte
b0295a062b Revert "Attempt a dynamic solution."
This reverts commit ba8efa60e1.
2026-02-06 15:12:36 -05:00
Thomas Harte
ba8efa60e1 Attempt a dynamic solution. 2026-02-06 13:18:56 -05:00
Thomas Harte
2783f67dfd Pull stencil-based infill to top of next frame.
Still without complete success.
2026-02-05 22:18:55 -05:00
Thomas Harte
67bf076f2a Attempt stencil fill-in. 2026-02-05 21:53:35 -05:00
Thomas Harte
83231821cf Introduce line blending. 2026-02-05 17:12:39 -05:00
Thomas Harte
8259437275 Apply brightness and gamma. 2026-02-05 16:53:44 -05:00
Thomas Harte
0650eb9d16 Adopt idiomatic name. 2026-02-05 12:32:45 -05:00
Thomas Harte
1332aba17e Use fill shader. 2026-02-05 10:33:04 -05:00
Thomas Harte
5b97de8cb0 Create a 'fill' shader, for buffer clearing. 2026-02-05 10:23:13 -05:00
Thomas Harte
621d927d47 Resolve usage of dirty zones. 2026-02-05 10:01:24 -05:00
Thomas Harte
7d6f28a167 Avoid magic constants. 2026-02-05 09:51:50 -05:00
Thomas Harte
da80d77cad Eliminate old pipeline. 2026-02-04 21:22:27 -05:00
Thomas Harte
2e7fae52a8 Begin SVideo support. 2026-02-04 20:57:43 -05:00
Thomas Harte
8e2f2c6c48 Fix centre-sample effect on demodulation. 2026-02-04 20:50:41 -05:00
Thomas Harte
363e9c6b09 Add note to self. 2026-02-04 18:24:35 -05:00
Thomas Harte
34bf59272a Attempt to correct for inverted y. 2026-02-04 18:09:48 -05:00
Thomas Harte
2504c67a4d Fix hard-coded texture coordinates. 2026-02-04 16:02:39 -05:00
Thomas Harte
eb8d7d6f6d Force onward to an unstable and gapped output. 2026-02-04 15:57:58 -05:00
Thomas Harte
fd63c88d77 Establish that the line output shader does not work. 2026-02-04 14:49:25 -05:00
Thomas Harte
65ebcd9c99 Attempt a line output shader. 2026-02-04 14:41:34 -05:00
Thomas Harte
d5fa5d4dd4 Add .reset to clarify intent. 2026-02-04 13:53:38 -05:00
Thomas Harte
dfa5db5bf5 Rename as per new duality. 2026-02-04 13:46:44 -05:00
Thomas Harte
763b4c1d1b Eliminate test fills. 2026-02-04 12:11:45 -05:00
Thomas Harte
8a361c290b Attempt full composite decoding. 2026-02-04 12:07:49 -05:00
Thomas Harte
7c6b79ad1c Coerce demodulation shader into building. 2026-02-04 12:03:44 -05:00
Thomas Harte
b5cebd8d8c Establish correct range of output. 2026-02-04 10:49:56 -05:00
Thomas Harte
6867a56749 Fix num_dirty_zones, otherwise try to get output. 2026-02-04 10:17:34 -05:00
Thomas Harte
7ac22e1a67 Ensure the separation buffer exists. 2026-02-04 09:17:24 -05:00
Thomas Harte
6332bcca07 Get to an eerily-predictable no-show on separation. 2026-02-04 09:13:58 -05:00
Thomas Harte
f4f1dbd4d5 Strike towards a separation filter. 2026-02-03 22:48:48 -05:00
Thomas Harte
35030e879e Use copy shader. 2026-02-03 16:38:09 -05:00