[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

glXIsDirect Subroutine

Purpose

Indicates whether direct rendering is enabled.

Library

OpenGL C bindings library: libGL.a

C Syntax

Bool glXIsDirect(Display *dpy
      GLXContext Context)

Description

The glXIsDirect subroutine returns a value of True if the Context parameter supplied is a direct rendering context. Otherwise, False is returned. Direct rendering contexts bypass the X server and pass rendering commands directly from the address space of the calling process to the rendering system. Nondirect rendering contexts pass all rendering commands to the X server.

Parameters

dpy Specifies the connection to the X server.
Context Specifies the GLX context being queried.

Return Values

True Returned if Context is a direct rendering context.
False Returned if Context is not a direct rendering context.

Error Codes

GLXBadContext Context is not a valid GLX context.

Files

/usr/include/GL/gl.h Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.

Suggested Reading

The glXCreateContext subroutine.

OpenGL in the AIXwindows (GLX) Environment.

OpenGL Overview.


[ Previous | Next | Contents | Glossary | Home | Search ]