#include "glheader.h"
#include "context.h"
#include "enable.h"
#include "light.h"
#include "macros.h"
#include "simple_list.h"
#include "mtypes.h"
#include "enums.h"
#include "math/m_matrix.h"
#include "math/m_xform.h"
Defines | |
| #define | CHECK_EXTENSION(EXTNAME, CAP) |
| #define | CHECK_EXTENSION2(EXT1, EXT2, CAP) |
| #define | CHECK_EXTENSION(EXTNAME, CAP) |
| #define | CHECK_EXTENSION(EXTNAME) |
Functions | |
| void | client_state (GLcontext *ctx, GLenum cap, GLboolean state) |
| void GLAPIENTRY | _mesa_EnableClientState (GLenum cap) |
| Enable GL capability. More... | |
| void GLAPIENTRY | _mesa_DisableClientState (GLenum cap) |
| Disable GL capability. More... | |
| void | _mesa_set_enable (GLcontext *ctx, GLenum cap, GLboolean state) |
| Perform glEnable() and glDisable() calls. More... | |
| void GLAPIENTRY | _mesa_Enable (GLenum cap) |
| Enable GL capability. More... | |
| void GLAPIENTRY | _mesa_Disable (GLenum cap) |
| Disable GL capability. More... | |
| GLboolean GLAPIENTRY | _mesa_IsEnabled (GLenum cap) |
| Test whether a capability is enabled. More... | |
|
|
Value: if (!ctx->Extensions.EXTNAME) { \
_mesa_error(ctx, GL_INVALID_ENUM, "glIsEnabled"); \
return GL_FALSE; \
} |
|
|
Value: if (!ctx->Extensions.EXTNAME) { \
_mesa_error(ctx, GL_INVALID_ENUM, "gl%s(0x%x)", \
state ? "Enable" : "Disable", CAP); \
return; \
} |
|
|
Value: if (!ctx->Extensions.EXTNAME) { \
_mesa_error(ctx, GL_INVALID_ENUM, "gl%sClientState(0x%x)", \
state ? "Enable" : "Disable", CAP); \
return; \
} |
|
|
Value: if (!ctx->Extensions.EXT1 && !ctx->Extensions.EXT2) { \
_mesa_error(ctx, GL_INVALID_ENUM, "gl%sClientState(0x%x)", \
state ? "Enable" : "Disable", CAP); \
return; \
} |
|
|
Disable GL capability.
|
|
|
Disable GL capability.
|
|
|
Enable GL capability.
|
|
|
Enable GL capability.
|
|
|
Test whether a capability is enabled.
|
|
||||||||||||||||
|
Perform glEnable() and glDisable() calls.
|
|
||||||||||||||||
|
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001