gdk_gl_choose_visual

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

gdk_gl_choose_visual - return visual that matches given attributes

SYNOPSIS

#include <gtkgl/gdkgl.h>

GdkVisual *gdk_gl_choose_visual( int *attrList )

attrList
Specifies a list of Boolean attributes and enum/integer attribute/value pairs. The last attribute must be NULL

DESCRIPTION

gtk_gl_choose_visual returns pointer to a GdkVisual matching given attributes. If no match is found NULL is returned. For explanation of attributes see glXChooseVisual man page. Note that GLX_ prefix of attributes 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

glXChooseVisual(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.