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

218 Commits

Author SHA1 Message Date
Thomas Harte
a0a3c8ac9b Capture phase offset in OpenGL. 2026-02-27 10:03:51 -05:00
Thomas Harte
71992cbd5b Aim for a multiple of the colour subcarrier for phase-linked-luminance. 2026-02-27 09:54:51 -05:00
Thomas Harte
e3d137f443 Unify (and correct) interframe alpha choices. 2026-02-26 15:40:07 -05:00
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
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