figuro icon indicating copy to clipboard operation
figuro copied to clipboard

GLSL minimum version on older systems?

Open matkuki opened this issue 1 year ago • 1 comments

Hi,

I tried the tclick example on a older Ubuntu and a RaspberryPiOS (RPi4) and in both cases I get a:

.../fig_ws/figuro/tests/glsl/atlas.vert(1(10): 0:1(10): error: GLSL 3.30 is not supported.
Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, and 3.00 ES

I was already told by @treeform that this is a limitation of one of his libraries, but is there a way to mitigate this in Figuro?

matkuki avatar Jan 03 '24 10:01 matkuki

Unfortunately, I depend on @treeform's libraries for this. Well, Figuro embeds its own fork of the original Fidget OpenGL solution. So if someone who knows OpenGL could fix it I'd pull it into Figuro.

elcritch avatar Mar 18 '24 14:03 elcritch

It looks like there is emscripten support in Treeform's Fidget engine which supports an older more basic version of OpenGL ES.

I tweaked Figuro to support using them for non-emscripten platforms using -d:useOpenGlEs compile time flag.

elcritch avatar Nov 24 '24 05:11 elcritch