Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropping EXT_direct_state_access support #81

Closed
mosra opened this Issue Jan 2, 2015 · 3 comments

Comments

Projects
2 participants
@mosra
Copy link
Owner

commented Jan 2, 2015

When ARB_direct_state_access support gets more widespread, I'm considering dropping support for the old and messy EXT_direct_state_access extension. The reasons are:

  • EXT_direct_state_access is supported only on binary AMD, NVidia and (small subset of) Intel drivers for Windows and Linux. It isn't available on OSX and not implemented in Mesa. And because it's obsoleted by the ARB version, there won't be any new implementations.
  • It contains sheer amount of deprecated functionality, which bloats GL headers.
  • Everything is basically duplicated and thus, along with the non-DSA version, there are three different code paths to test.
  • Weird "create on first use" design philosophy, which adds unnecessary complexity.
  • It has many late additions and missing functionality equivalents (#77, no way to blit framebuffers the DSA way etc.)
  • Bad interaction with ARB_robustness (it's possible to do things either DSA or robust way, not both)

Things to finish in the engine:

  • Port Mesh class to the new ARB_vertex_attrib_binding so we can use ARB_DSA functions

I'll drop the support when the ARB version is available also in AMD drivers so all both vendors that had EXT version have a replacement.

@mosra mosra added the compatibility label Jan 2, 2015

@mosra mosra self-assigned this Jan 2, 2015

@ethan-tqa

This comment has been minimized.

Copy link

commented Feb 21, 2015

Does this restrict you to 4.5 or you can call ARB version of the functions in 4.4 and below?

@mosra

This comment has been minimized.

Copy link
Owner Author

commented Feb 21, 2015

@mosra mosra removed the compatibility label Sep 26, 2018

@mosra mosra added this to the 2019.0b milestone Mar 13, 2019

@mosra

This comment has been minimized.

Copy link
Owner Author

commented Mar 16, 2019

GL::Mesh is switched to use ARB_DSA in 21b2cac (which uncovered a bug on Intel Windows drivers, see 094ea1b), EXT_DSA is finally dropped in 572b64b, resulting in 2k LOC being deleted. Yay! 🎉

@mosra mosra closed this Mar 16, 2019

GL automation moved this from TODO to Done Mar 16, 2019

@mosra mosra referenced this issue Mar 16, 2019

Closed

Dropppping unmaintained code #148

11 of 11 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.