Fallback to graphics shader instead of compute shader if the gpu doesn't support compute shader (either glsl 420 or opengl es glsl 310)

This commit is contained in:
dec05eba
2025-04-06 21:52:15 +02:00
parent 9de04e74ea
commit 5029906c34
6 changed files with 552 additions and 123 deletions

2
TODO
View File

@@ -261,3 +261,5 @@ External texture doesn't work on nvidia x11, probably because of glx context (re
Add option to save replay buffer on disk instead of ram.
nvfbc capture cursor with cursor.h instead and composite that on top. This allows us to also always get a cursor in direct capture mode. This could possible give better performance as well.
Maybe remove external shader code and make a simple external to internal texture converter (compute shader), to reduce texture sampling. Maybe this is faster?