Configure SDL2 to use OpenGL #4

Merged
paoda merged 7 commits from opengl into main 2022-10-20 01:41:51 +00:00
Owner

Can now use Talarubi + Near's algorithm on the GPU

Can now use Talarubi + Near's algorithm on the GPU
paoda added 7 commits 2022-10-20 01:41:42 +00:00
TODO:
- Texture isn't scaling properly
- I need to reverse the colours in the frag shader
LUT probably couldn't fit in CPU cache anyways.

TODO: Consider whether LUTs for separate channels (size 32 * 3 * 3
instead of std.math.maxInt(u15))
paoda merged commit 250ff25ed7 into main 2022-10-20 01:41:51 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: paoda/zba#4
No description provided.