question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] OpenGL 4+ Support

See original GitHub issue

Is it just that nobody has added GL4+ support? Or maybe that it wouldn’t add anything majorly new?

In Lwjgl3ApplicationConfiguration there’s useOpenGL3 and in com.badlogic.gdx.Gdx we have gl, gl20, gl30, etc.

I also see that LWJGL has all the way up to org.lwjgl.opengl.GL46.

So, would it make sense to add things such that GL4+ is setup similar to how you can enable GL30?

Thanks!

Please select the affected platforms

  • Android
  • iOS
  • HTML/GWT
  • Windows
  • Linux
  • macOS

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
Frosty-Jcommented, Sep 30, 2021

I believe those version numbers are based on OpenGL ES, and there is no OpenGL ES 4. We have OpenGL ES 3.0, which Wikipedia tells me requires OpenGL 4.3 for full compatibility on PC.

What we’re missing is OpenGL ES 3.2 (and 3.1) support - this has come up in Discord before. evilentity said “there will never be 3.1 on ios, so there is little reason to add it to android”, “you can call the stupid api yourslef”.

1reaction
Frosty-Jcommented, Sep 30, 2021

It can definitely be confusing, but renaming it now would break a lot of existing stuff.

I don’t really know anything about using OpenGL stuff directly, but if you don’t care about mobile and web I don’t see anything wrong with using OpenGL 4.6 features, bearing in mind hardware support for that version is limited (good if targeting gamer PCs). Also note that Macs support no newer than OpenGL 4.1, and likely never will.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To: Check the graphics card type and OpenGL version
Technical Article Details : How To: Check the graphics card type and OpenGL version.
Read more >
Libgdx - Support for OpenGL 4+ - Stack Overflow
1 Answer 1 ... On the desktop, libGDX is built on top of LWJGL, which at of the time of this answer supports...
Read more >
OpenGL - Wikipedia
OpenGL (Open Graphics Library) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics.
Read more >
[Episode 4] [Theory] The Programmable Graphics Pipeline ...
... Programmable Graphics Pipeline (Interview Question ) - Modern OpenGL ... This lesson is intended to be a high level overview to help...
Read more >
FAQ - OpenGL Wiki - Khronos Group
The OpenGL API only deals with rendering graphics. OpenGL does not provide functions for animations, timing, file IO, image file format ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found