1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-03-15 01:16:40 +00:00
Commit Graph

369 Commits

Author SHA1 Message Date
Thomas Harte
a7eb0b14f4 Always divide lines; use interlaced merely as final weighting. 2026-02-23 16:48:52 -05:00
Thomas Harte
486a67586a Include interlacing information in Field. 2026-02-22 23:16:33 -05:00
Thomas Harte
93fb57a478 Set alphas less often. 2026-02-22 09:43:13 -05:00
Thomas Harte
29fa6b21ed Fix to-weave transition, alphas. 2026-02-21 23:19:18 -05:00
Thomas Harte
cbf5b79a5b Attempt different frame weighting for interlaced output. 2026-02-21 22:42:51 -05:00
Thomas Harte
abe844505f Eliminate LineMetadata, redundant memory barriers. 2026-02-15 15:53:26 -05:00
Thomas Harte
6d52fdea4d Factor out and unify line/scan frame subdivision. 2026-02-13 21:57:59 -05:00
Thomas Harte
17ee68f227 Stop assuming consistency of glEnables. 2026-02-10 02:15:17 +00:00
Thomas Harte
06a16a62b9 Avoid accidental quadrature clamping. 2026-02-09 20:30:22 -05:00
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
2258871159 Introduce random fill in debug builds. 2026-02-08 22:30:47 -05:00
Thomas Harte
cdddfca788 Ensure successful compilation on stricter compilers. 2026-02-08 16:23:56 +00:00
Thomas Harte
c55ded88a5 Remove done TODO. 2026-02-07 22:39:15 -05:00
Thomas Harte
17ab2e2aaf Clean up resources. 2026-02-07 22:38:39 -05:00
Thomas Harte
2d8c4a3a2e Copy old output buffer when resizing; remove draw. 2026-02-07 22:32:51 -05:00
Thomas Harte
92302fd0b5 Fix Luminanice8Phase8 output. 2026-02-07 21:20:56 -05:00
Thomas Harte
887ef36fec Strip all precision modifiers.
I'll either reestablish them when I have a broader range of testing hardware,
or just leave the highp defaults as is.
2026-02-07 20:43:25 -05:00
Thomas Harte
5633f09e43 Reduce number of varyings. 2026-02-07 18:22:54 -05:00
Thomas Harte
2de6b22fec Apply alpha during scan-based RGB output. 2026-02-07 16:05:52 -05:00
Thomas Harte
8150d283a1 Correct scan output.
Over-saturation seems to be a current issue.
2026-02-07 15:58:24 -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
56140566a2 Attempt direct-to-display scan shader. 2026-02-06 21:57:15 -05:00
Thomas Harte
36319bcb39 Fix S-Video -> composite encoder. 2026-02-06 18:15:25 -05:00
Thomas Harte
1ca94e80c7 Support luminance formats as RGB. 2026-02-06 18:09:30 -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
90b86d78e5 Clear stencil, if added. 2026-02-05 22:50:21 -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