gdk_gl_context_new

Langue: en

Version: 299992 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

gdk_gl_context_new - create new OpenGL rendering context

SYNOPSIS

#include <gtkgl/gdkgl.h>

GdkGLContext *gdk_gl_context_new( GdkVisual * visual )

visual
Specifies the visual that defines the frame buffer resources available. It is a pointer to GdkVisual.

DESCRIPTION

This is backwards compatability/convinence function equal to gdk_gl_context_share_new(visual, NULL, FALSE).

The gdk_gl_* functions are quite straightforward wrappers around a few necessary GLX calls and should be easy to understand if you already know GLX.

LIBRARY USE

Use -lgtkgl as a flag to the loader.

SEE ALSO

glXCreateContext(3), gdk_gl_choosevisual(3), gdk_gl_context_share_new(3)

AUTHORS

The author of the GTKGLArea library is Janne Löf.

This manpage was created by Morten Kjeldgaard for the Debian project.