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

[patch] Add support for [GLX/WGL]_ARB_create_context_robustness #2534

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

[patch] Add support for [GLX/WGL]_ARB_create_context_robustness #2534

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.1
Reported for operating system, platform: All, All

Comments on the original bug report:

On 2017-08-10 13:30:26 +0000, Maximilian Malek wrote:

Created attachment 2824
patch file

The attached patch adds some missing bits for full ARB_robustness compatibility,
specifically support for glGetGraphicsResetStatus() via WGL_ARB_create_context_robustness and GLX_ARB_create_context_robustness.

This builds upon patch [https://bugzilla.libsdl.org/show_bug.cgi?id=3643] and adds the WGL version.
I have removed support for NV_robustness_video_memory_purge from that patch because the extension states "This extension will have a limited lifespan" and I figured that adding an SDL API for a temporary NV-only extension isn't worth it.
I've also renamed the new enum values a bit to be more consistent.

On 2017-08-10 13:33:24 +0000, Maximilian Malek wrote:

Created attachment 2825
Test program

A test program for the patch. On a recent GL 4.5 compatible setup + patched SDL it should print "GL context is fully robust".

On 2017-08-10 16:09:47 +0000, Ryan C. Gordon wrote:

*** Bug 3643 has been marked as a duplicate of this bug. ***

On 2017-08-19 19:04:14 +0000, Ryan C. Gordon wrote:

This patch is now https://hg.libsdl.org/SDL/rev/e3797888c6f1, thanks!

--ryan.

@SDLBugzilla SDLBugzilla added the enhancement New feature or request label Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant