hecrj / glow_glyph Goto Github PK
View Code? Open in Web Editor NEWA fast text renderer for glow (https://github.com/grovesNL/glow)
A fast text renderer for glow (https://github.com/grovesNL/glow)
Right now this (and by extend the master branch iced with the glow
backend) won't work with OpenGL 3.2 because the the GL_ARB_explicit_attrib_location
extension has not been explicitly enabled in the GLSL shaders. This is important because OpenGL 3.2 was the last version of OpenGL still supported on macOS, and wgpu sadly still causes too many segfaults to be usable. This is the error you get when trying to use glow_glyph
with OpenGL core profile 3.2:
0(4) : error C7548: 'layout(location)' requires "#extension GL_ARB_explicit_attrib_location : enable" before use
0(4) : error C0000: ... or #extension GL_ARB_separate_shader_objects : enable
0(4) : error C0000: ... or #version 330
0(5) : error C7548: 'layout(location)' requires "#extension GL_ARB_explicit_attrib_location : enable" before use
0(5) : error C0000: ... or #extension GL_ARB_separate_shader_objects : enable
0(5) : error C0000: ... or #version 330
0(6) : error C7548: 'layout(location)' requires "#extension GL_ARB_explicit_attrib_location : enable" before use
0(6) : error C0000: ... or #extension GL_ARB_separate_shader_objects : enable
0(6) : error C0000: ... or #version 330
0(7) : error C7548: 'layout(location)' requires "#extension GL_ARB_explicit_attrib_location : enable" before use
0(7) : error C0000: ... or #extension GL_ARB_separate_shader_objects : enable
0(7) : error C0000: ... or #version 330
0(8) : error C7548: 'layout(location)' requires "#extension GL_ARB_explicit_attrib_location : enable" before use
0(8) : error C0000: ... or #extension GL_ARB_separate_shader_objects : enable
0(8) : error C0000: ... or #version 330
Hello there,
For my project (I want to run on a PinePhone with Mali 400 GPU), I needed to be able to support OpenGL ES 2 (maximum GLSL version 1.20).
This library makes use of instanced rendering (which doesn't exist on GL ES 2) and gl_VertexID
(and some other syntactic modern GLSL style), which I've had to work around.
I have, for the time being, pieced together the changes needed to downgrade OpenGL and GLSL and made a fork ( https://bics.ga/reivilibre/glow_glyph_compat ).
However, it would be nice to make glow_glyph itself have a fallback mode for these old versions. I would be interested to hear your thoughts about this.
Thanks for your libraries!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.