#include "glheader.h"
#include "context.h"
#include "get.h"
#include "version.h"
#include "enums.h"
#include "extensions.h"
Functions | |
static const char * | compute_version (const GLcontext *ctx) |
Examine enabled GL extensions to determine GL version. | |
const GLubyte *GLAPIENTRY | _mesa_GetString (GLenum name) |
Query string-valued state. | |
void GLAPIENTRY | _mesa_GetPointerv (GLenum pname, GLvoid **params) |
Return pointer-valued state, such as a vertex array pointer. | |
GLenum GLAPIENTRY | _mesa_GetError (void) |
Returns the current GL error code, or GL_NO_ERROR. |
GLenum GLAPIENTRY _mesa_GetError | ( | void | ) |
Returns the current GL error code, or GL_NO_ERROR.
void GLAPIENTRY _mesa_GetPointerv | ( | GLenum | pname, | |
GLvoid ** | params | |||
) |
Return pointer-valued state, such as a vertex array pointer.
pname | names state to be queried | |
params | returns the pointer value |
const GLubyte* GLAPIENTRY _mesa_GetString | ( | GLenum | name | ) |
Query string-valued state.
The return value should _not_ be freed by the caller.
name | the state variable to query. |
static const char* compute_version | ( | const GLcontext * | ctx | ) | [static] |
Examine enabled GL extensions to determine GL version.