#include "mtypes.h"
Functions | |
void | _mesa_set_enable (GLcontext *ctx, GLenum cap, GLboolean state) |
Helper function to enable or disable state. | |
void GLAPIENTRY | _mesa_Disable (GLenum cap) |
Disable GL capability. | |
void GLAPIENTRY | _mesa_Enable (GLenum cap) |
Enable GL capability. | |
GLboolean GLAPIENTRY | _mesa_IsEnabled (GLenum cap) |
Return simple enable/disable state. | |
void GLAPIENTRY | _mesa_EnableClientState (GLenum cap) |
Enable GL capability. | |
void GLAPIENTRY | _mesa_DisableClientState (GLenum cap) |
Disable GL capability. |
void GLAPIENTRY _mesa_Disable | ( | GLenum | cap | ) |
Disable GL capability.
Called by glDisable()
cap | state to disable. |
void GLAPIENTRY _mesa_DisableClientState | ( | GLenum | cap | ) |
Disable GL capability.
cap | state to enable/disable. |
void GLAPIENTRY _mesa_Enable | ( | GLenum | cap | ) |
Enable GL capability.
Called by glEnable()
cap | state to enable. |
void GLAPIENTRY _mesa_EnableClientState | ( | GLenum | cap | ) |
Enable GL capability.
cap | state to enable/disable. |
GLboolean GLAPIENTRY _mesa_IsEnabled | ( | GLenum | cap | ) |
Return simple enable/disable state.
cap | state variable to query. |
void _mesa_set_enable | ( | GLcontext * | ctx, | |
GLenum | cap, | |||
GLboolean | state | |||
) |
Helper function to enable or disable state.
ctx | GL context. | |
cap | the state to enable/disable | |
state | whether to enable or disable the specified capability. |