Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2013-07-18 09:57:03
Size: 1048
Editor: RainerDeyke
Comment: Added page to catgeory.
Revision 3 as of 2013-07-30 02:41:07
Size: 3092
Editor: RyanGordon
Comment: Improved documentation
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
||SDL_GL_CONTEXT_DEBUG_FLAG||enable debugging||
||SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG||forward compatible OpenGL context||
||SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG||(not sure what this does)||
||SDL_GL_CONTEXT_RESET_ISOLATION_FLAG||(not sure what this does)||
||SDL_GL_CONTEXT_DEBUG_FLAG||see [[#SDL_GL_CONTEXT_DEBUG_FLAG|Remarks]]||
||SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG||see [[#SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG|Remarks]]||
||SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG||see [[#SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG|Remarks]]||
||SDL_GL_CONTEXT_RESET_ISOLATION_FLAG||see [[#SDL_GL_CONTEXT_RESET_ISOLATION_FLAG|Remarks]]||
Line 29: Line 29:
=== SDL_GL_CONTEXT_DEBUG_FLAG ===

This flag maps to GLX_CONTEXT_DEBUG_BIT_ARB in the [[http://www.opengl.org/registry/specs/ARB/glx_create_context.txt|GLX_ARB_create_context]] extension for X11 and WGL_CONTEXT_DEBUG_BIT_ARB in the [[http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt|WGL_ARB_create_context]] extension for Windows. This flag is currently ignored on other targets that don't support equivalent functionality.

=== SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG ===

This flag maps to GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB in the [[http://www.opengl.org/registry/specs/ARB/glx_create_context.txt|GLX_ARB_create_context]] extension for X11 and WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB in the [[http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt|WGL_ARB_create_context]] extension for Windows. This flag is currently ignored on other targets that don't support equivalent functionality.


=== SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG ===

This flag maps to GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB in the [[http://www.opengl.org/registry/specs/ARB/glx_create_context_robustness.txt|GLX_ARB_create_context_robustness]] extension for X11 and WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB in the [[http://www.opengl.org/registry/specs/ARB/wgl_create_context_robustness.txt|WGL_ARB_create_context_robustness]] extension for Windows. This flag is currently ignored on other targets that don't support equivalent functionality.


=== SDL_GL_CONTEXT_RESET_ISOLATION_FLAG ===

This flag maps to GLX_CONTEXT_RESET_ISOLATION_BIT_ARB in the [[http://www.opengl.org/registry/specs/ARB/glx_robustness_isolation.txt|GLX_ARB_robustness_isolation]] extension for X11 and WGL_CONTEXT_RESET_ISOLATION_BIT_ARB in the [[http://www.opengl.org/registry/specs/ARB/wgl_robustness_isolation.txt|WGL_ARB_create_context_robustness]] extension for Windows. This flag is currently ignored on other targets that don't support equivalent functionality.

DRAFT

SDL_GLcontextFlag

An enumeration of OpenGL context configuration flags.

Values

SDL_GL_CONTEXT_DEBUG_FLAG

see Remarks

SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG

see Remarks

SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG

see Remarks

SDL_GL_CONTEXT_RESET_ISOLATION_FLAG

see Remarks

Code Examples

SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG);

Remarks

This enumeration is used in conjunction with SDL_GL_SetAttribute and SDL_GL_CONTEXT_FLAGS. Multiple flags can be OR'd together.

SDL_GL_CONTEXT_DEBUG_FLAG

This flag maps to GLX_CONTEXT_DEBUG_BIT_ARB in the GLX_ARB_create_context extension for X11 and WGL_CONTEXT_DEBUG_BIT_ARB in the WGL_ARB_create_context extension for Windows. This flag is currently ignored on other targets that don't support equivalent functionality.

SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG

This flag maps to GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB in the GLX_ARB_create_context extension for X11 and WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB in the WGL_ARB_create_context extension for Windows. This flag is currently ignored on other targets that don't support equivalent functionality.

SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG

This flag maps to GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB in the GLX_ARB_create_context_robustness extension for X11 and WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB in the WGL_ARB_create_context_robustness extension for Windows. This flag is currently ignored on other targets that don't support equivalent functionality.

SDL_GL_CONTEXT_RESET_ISOLATION_FLAG

This flag maps to GLX_CONTEXT_RESET_ISOLATION_BIT_ARB in the GLX_ARB_robustness_isolation extension for X11 and WGL_CONTEXT_RESET_ISOLATION_BIT_ARB in the WGL_ARB_create_context_robustness extension for Windows. This flag is currently ignored on other targets that don't support equivalent functionality.


CategoryEnum, CategoryVideo


CategoryVideo

None: SDL_GLcontextFlag (last edited 2015-09-17 21:47:42 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit