Top Description Fields Constructors Methods
org.lwjgl.egl

public final Class KHRCreateContext

extends Object
Class Inheritance

Native bindings to the KHR_create_context extension.

With the advent of new versions of OpenGL which deprecate features and/or break backward compatibility with older versions, there is a need and desire to indicate at context creation which interface will be used. This extension adds a new context creation routine with attributes specifying the OpenGL version, context properties, and profile requested for the context. It also allows making an OpenGL 3.0 or later context (or other client API context supporting the ability) current without providing a default framebuffer. The new context creation attributes are also defined to work for OpenGL ES context creation when that makes sense, and the extension has been augmented to allow configs to advertise support for creating OpenGL ES 3.0 contexts.

Requires EGL 1.4.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EGL_CONTEXT_FLAGS_KHRback to summary
public static final int EGL_CONTEXT_FLAGS_KHR
EGL_CONTEXT_MAJOR_VERSION_KHRback to summary
public static final int EGL_CONTEXT_MAJOR_VERSION_KHR
EGL_CONTEXT_MINOR_VERSION_KHRback to summary
public static final int EGL_CONTEXT_MINOR_VERSION_KHR
EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHRback to summary
public static final int EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR
EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHRback to summary
public static final int EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR
EGL_CONTEXT_OPENGL_DEBUG_BIT_KHRback to summary
public static final int EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR
EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHRback to summary
public static final int EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR
EGL_CONTEXT_OPENGL_PROFILE_MASK_KHRback to summary
public static final int EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR
EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHRback to summary
public static final int EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR
EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHRback to summary
public static final int EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR
EGL_LOSE_CONTEXT_ON_RESET_KHRback to summary
public static final int EGL_LOSE_CONTEXT_ON_RESET_KHR
EGL_NO_RESET_NOTIFICATION_KHRback to summary
public static final int EGL_NO_RESET_NOTIFICATION_KHR
EGL_OPENGL_ES3_BITback to summary
public static final int EGL_OPENGL_ES3_BIT
EGL_OPENGL_ES3_BIT_KHRback to summary
public static final int EGL_OPENGL_ES3_BIT_KHR

Constructor Detail

KHRCreateContextback to summary
private KHRCreateContext()