gdk_gl_get_config

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

gdk_gl_get_config - return information about visuals

SYNOPSIS

#include <gtkgl/gdkgl.h>

gint gdk_gl_get_config( GdkVisual *visual , int attrib )

visual
Specifies visual to be queried.
attrib
Specifies visual attribute to be returned

DESCRIPTION

gdk_gl_get_config returns the value of attrib of windows or GL pixmap created with respect to the visual. gdk_gl_get_config returns -1 if it fails. For explanation of attributes see glXGetConfig man page. Note that GLX_ prefix is changed to GDK_GL_.

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

glXGetConfig(3)

AUTHORS

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

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