Coder Social home page Coder Social logo

glow_glyph's People

Contributors

derezzedex avatar dirbaio avatar greatest-ape avatar hecrj avatar ids1024 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

glow_glyph's Issues

Missing layout location #extension declaration in shaders

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

Support for old OpenGL versions

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.