### Class

# GdkX11 X11GLContext

since: 4.0

#### Description

    abstract class GdkX11.X11GLContext : Gdk.GLContext
    {
      /* No available fields */
    }

No description available.

Available since: 4.0

#### Ancestors

- GdkGLContext
- GdkDrawContext
- GObject

#### Instance methods

##### Methods inherited from GdkGLContext (19)

###### gdk_gl_context_get_allowed_apis

Gets the allowed APIs set via gdk_gl_context_set_allowed_apis().

since: 4.6

###### gdk_gl_context_get_api

Gets the API currently in use.

since: 4.6

###### gdk_gl_context_get_debug_enabled

Retrieves whether the context is doing extra validations and runtime checking.

since: 4.0

###### gdk_gl_context_get_display

Retrieves the display the `context` is created for.

since: 4.0

###### gdk_gl_context_get_forward_compatible

Retrieves whether the context is forward-compatible.

since: 4.0

###### gdk_gl_context_get_required_version

Retrieves required OpenGL version set as a requirement for the `context` realization. It will not change even if a greater OpenGL version is supported and used after the `context` is realized. See `gdk_gl_context_get_version()` for the real version in use.

since: 4.0

###### gdk_gl_context_get_shared_context

Used to retrieves the `GdkGLContext` that this `context` share data with.

deprecated: 4.4 since: 4.0

###### gdk_gl_context_get_surface

Retrieves the surface used by the `context`.

since: 4.0

###### gdk_gl_context_get_use_es

Checks whether the `context` is using an OpenGL or OpenGL ES profile.

since: 4.0

###### gdk_gl_context_get_version

Retrieves the OpenGL version of the `context`.

since: 4.0

###### gdk_gl_context_is_legacy

Whether the `GdkGLContext` is in legacy mode or not.

since: 4.0

###### gdk_gl_context_is_shared

Checks if the two GL contexts can share resources.

since: 4.4

###### gdk_gl_context_make_current

Makes the `context` the current one.

since: 4.0

###### gdk_gl_context_realize

Realizes the given `GdkGLContext`.

since: 4.0

###### gdk_gl_context_set_allowed_apis

Sets the allowed APIs. When `gdk_gl_context_realize()` is called, only the allowed APIs will be tried. If you set this to 0, realizing will always fail.

since: 4.6

###### gdk_gl_context_set_debug_enabled

Sets whether the `GdkGLContext` should perform extra validations and runtime checking.

since: 4.0

###### gdk_gl_context_set_forward_compatible

Sets whether the `GdkGLContext` should be forward-compatible.

since: 4.0

###### gdk_gl_context_set_required_version

Sets the major and minor version of OpenGL to request.

since: 4.0

###### gdk_gl_context_set_use_es

Requests that GDK create an OpenGL ES context instead of an OpenGL one.

since: 4.0

##### Methods inherited from GdkDrawContext (6)

###### gdk_draw_context_begin_frame

Indicates that you are beginning the process of redrawing `region` on the `context`‘s surface.

since: 4.0

###### gdk_draw_context_end_frame

Ends a drawing operation started with gdk_draw_context_begin_frame().

since: 4.0

###### gdk_draw_context_get_display

Retrieves the `GdkDisplay` the `context` is created for.

since: 4.0

###### gdk_draw_context_get_frame_region

Retrieves the region that is currently being repainted.

since: 4.0

###### gdk_draw_context_get_surface

Retrieves the surface that `context` is bound to.

since: 4.0

###### gdk_draw_context_is_in_frame

Returns `TRUE` if `context` is in the process of drawing to its surface.

since: 4.0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

##### Properties inherited from GdkGLContext (3)

###### Gdk.GLContext:allowed-apis

The allowed APIs.

since: 4.6

###### Gdk.GLContext:api

The API currently in use.

since: 4.6

###### Gdk.GLContext:shared-context

Always `NULL`.

deprecated: 4.4 since: 4.0

##### Properties inherited from GdkDrawContext (2)

###### Gdk.DrawContext:display

The `GdkDisplay` used to create the `GdkDrawContext`.

since: 4.0

###### Gdk.DrawContext:surface

The `GdkSurface` the context is bound to.

since: 4.0

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

#### Class structure

    struct GdkX11X11GLContextClass {
      /* no available fields */
    }

No description available.