GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SAGE (3)

NAME

sage - The SDL library for OpenGL extensions.

CONTENTS

Description
Bugs
Author
See Also

DESCRIPTION

#include <sage/sage.h>

Sage is a small C library providing Open GL extensions to applications using SDL. It has been automatically generated from the glext.h header file from the OpenGL website. The Sage source package comes with the Perl scripts to generate new sources from updated glext.h files.

Additionally, it provides a way of accessing the standard GL and GLU headers in a cross platform method. sage/GL.h and sage/GLU.h should be used in place of gl/GL.h and gl/GLU.h (or the equivalent on other platforms.)

To use Sage, an application must first call sage_init once the OpenGL context has been created. This checks for the existence of each extension it knows about and links up the appropriate function pointers. The array sage_ext sets each exension that is found to 1, and 0 otherwise. Applications should check the existence of the extension in sage_ext before using it.

Extensions can then be used by their name as defined in the spec.

BUGS

Sage does not check to see of the OpenGL context is valid.

On some systems, the standard Open GL header causes problems with sage (namespace conflicts).

Apparently some broken GL implmentations may report the existence of an extension, but not actually provide it. Sage will not detect this.

AUTHOR

Simon Goodall (simon (at) simongoodall.co.uk)

SEE ALSO

sage_init(3)
Search for    or go to Top of page |  Section 3 |  Main Index


--> SAGE (3) September 22, 2005

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.