core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

extensions.h File Reference


Detailed Description

Extension handling.

#include "mtypes.h"

Functions

void _mesa_enable_sw_extensions (GLcontext *ctx)
 Enable all extensions suitable for a software-only renderer.
void _mesa_enable_imaging_extensions (GLcontext *ctx)
 Enable GL_ARB_imaging and all the EXT extensions that are subsets of it.
void _mesa_enable_1_3_extensions (GLcontext *ctx)
 Enable all OpenGL 1.3 features and extensions.
void _mesa_enable_1_4_extensions (GLcontext *ctx)
 Enable all OpenGL 1.4 features and extensions.
void _mesa_enable_1_5_extensions (GLcontext *ctx)
 Enable all OpenGL 1.5 features and extensions.
void _mesa_enable_2_0_extensions (GLcontext *ctx)
 Enable all OpenGL 2.0 features and extensions.
void _mesa_enable_2_1_extensions (GLcontext *ctx)
 Enable all OpenGL 2.1 features and extensions.
void _mesa_enable_extension (GLcontext *ctx, const char *name)
 Enable the named extension.
void _mesa_disable_extension (GLcontext *ctx, const char *name)
 Disable the named extension.
GLboolean _mesa_extension_is_enabled (GLcontext *ctx, const char *name)
 Test if the named extension is enabled in this context.
void _mesa_init_extensions (GLcontext *ctx)
 Run through the default_extensions array above and set the ctx->Extensions.ARB/EXT_* flags accordingly.
GLubyte * _mesa_make_extension_string (GLcontext *ctx)
 Construct the GL_EXTENSIONS string.


Function Documentation

void _mesa_disable_extension ( GLcontext ctx,
const char *  name 
)

Disable the named extension.

XXX is this really needed???

void _mesa_enable_1_3_extensions ( GLcontext ctx  ) 

Enable all OpenGL 1.3 features and extensions.

A convenience function to be called by drivers.

void _mesa_enable_1_4_extensions ( GLcontext ctx  ) 

Enable all OpenGL 1.4 features and extensions.

A convenience function to be called by drivers.

void _mesa_enable_1_5_extensions ( GLcontext ctx  ) 

Enable all OpenGL 1.5 features and extensions.

A convenience function to be called by drivers.

void _mesa_enable_2_0_extensions ( GLcontext ctx  ) 

Enable all OpenGL 2.0 features and extensions.

A convenience function to be called by drivers.

void _mesa_enable_2_1_extensions ( GLcontext ctx  ) 

Enable all OpenGL 2.1 features and extensions.

A convenience function to be called by drivers.

void _mesa_enable_extension ( GLcontext ctx,
const char *  name 
)

Enable the named extension.

Typically called by drivers.

void _mesa_enable_imaging_extensions ( GLcontext ctx  ) 

Enable GL_ARB_imaging and all the EXT extensions that are subsets of it.

void _mesa_enable_sw_extensions ( GLcontext ctx  ) 

Enable all extensions suitable for a software-only renderer.

This is a convenience function used by the XMesa, OSMesa, GGI drivers, etc.

GLboolean _mesa_extension_is_enabled ( GLcontext ctx,
const char *  name 
)

Test if the named extension is enabled in this context.

void _mesa_init_extensions ( GLcontext ctx  ) 

Run through the default_extensions array above and set the ctx->Extensions.ARB/EXT_* flags accordingly.

To be called during context initialization.

GLubyte* _mesa_make_extension_string ( GLcontext ctx  ) 

Construct the GL_EXTENSIONS string.

Called the first time that glGetString(GL_EXTENSIONS) is called.


Generated on Sun Sep 27 06:47:45 2009 for Mesa Main by  doxygen 1.5.4