#include "mtypes.h"
Functions | |
void | _mesa_delete_list (GLcontext *ctx, struct gl_display_list *dlist) |
Delete the named display list, but don't remove from hash table. | |
void GLAPIENTRY | _mesa_CallList (GLuint list) |
void GLAPIENTRY | _mesa_CallLists (GLsizei n, GLenum type, const GLvoid *lists) |
Execute glCallLists: call multiple display lists. | |
void GLAPIENTRY | _mesa_DeleteLists (GLuint list, GLsizei range) |
Delete a sequence of consecutive display lists. | |
void GLAPIENTRY | _mesa_EndList (void) |
End definition of current display list. | |
GLuint GLAPIENTRY | _mesa_GenLists (GLsizei range) |
Return a display list number, n, such that lists n through n+range-1 are free. | |
GLboolean GLAPIENTRY | _mesa_IsList (GLuint list) |
Test if a display list number is valid. | |
void GLAPIENTRY | _mesa_ListBase (GLuint base) |
Set the offset added to list numbers in glCallLists. | |
void GLAPIENTRY | _mesa_NewList (GLuint list, GLenum mode) |
Begin a new display list. | |
void GLAPIENTRY | _mesa_save_CallLists (GLsizei n, GLenum type, const GLvoid *lists) |
void GLAPIENTRY | _mesa_save_CallList (GLuint list) |
void | _mesa_init_dlist_table (struct _glapi_table *table) |
Setup the given dispatch table to point to Mesa's display list building functions. | |
void | _mesa_compile_error (GLcontext *ctx, GLenum error, const char *s) |
Compile an error into current display list. | |
void * | _mesa_alloc_instruction (GLcontext *ctx, GLuint opcode, GLuint sz) |
Allocate space for a display list instruction. | |
GLint | _mesa_alloc_opcode (GLcontext *ctx, GLuint sz, void(*execute)(GLcontext *, void *), void(*destroy)(GLcontext *, void *), void(*print)(GLcontext *, void *)) |
This function allows modules and drivers to get their own opcodes for extending display list functionality. | |
void | _mesa_init_display_list (GLcontext *ctx) |
Initialize display list state for given context. | |
void | _mesa_save_vtxfmt_init (GLvertexformat *vfmt) |
void* _mesa_alloc_instruction | ( | GLcontext * | ctx, | |
GLuint | opcode, | |||
GLuint | bytes | |||
) |
Allocate space for a display list instruction.
opcode | the instruction opcode (OPCODE_* value) | |
bytes | instruction size in bytes, not counting opcode. |
GLint _mesa_alloc_opcode | ( | GLcontext * | ctx, | |
GLuint | size, | |||
void(*)(GLcontext *, void *) | execute, | |||
void(*)(GLcontext *, void *) | destroy, | |||
void(*)(GLcontext *, void *) | ||||
) |
This function allows modules and drivers to get their own opcodes for extending display list functionality.
ctx | the rendering context | |
size | number of bytes for storing the new display list command | |
execute | function to execute the new display list command | |
destroy | function to destroy the new display list command | |
function to print the new display list command |
void GLAPIENTRY _mesa_CallList | ( | GLuint | list | ) |
void GLAPIENTRY _mesa_CallLists | ( | GLsizei | n, | |
GLenum | type, | |||
const GLvoid * | lists | |||
) |
Execute glCallLists: call multiple display lists.
void _mesa_compile_error | ( | GLcontext * | ctx, | |
GLenum | error, | |||
const char * | s | |||
) |
Compile an error into current display list.
void _mesa_delete_list | ( | GLcontext * | ctx, | |
struct gl_display_list * | dlist | |||
) |
Delete the named display list, but don't remove from hash table.
dlist | - display list pointer |
void GLAPIENTRY _mesa_DeleteLists | ( | GLuint | list, | |
GLsizei | range | |||
) |
Delete a sequence of consecutive display lists.
void GLAPIENTRY _mesa_EndList | ( | void | ) |
End definition of current display list.
GLuint GLAPIENTRY _mesa_GenLists | ( | GLsizei | range | ) |
Return a display list number, n, such that lists n through n+range-1 are free.
void _mesa_init_display_list | ( | GLcontext * | ctx | ) |
Initialize display list state for given context.
void _mesa_init_dlist_table | ( | struct _glapi_table * | table | ) |
Setup the given dispatch table to point to Mesa's display list building functions.
This does not include any of the tnl functions - they are initialized from _mesa_init_api_defaults and from the active vtxfmt struct.
GLboolean GLAPIENTRY _mesa_IsList | ( | GLuint | list | ) |
Test if a display list number is valid.
void GLAPIENTRY _mesa_ListBase | ( | GLuint | base | ) |
Set the offset added to list numbers in glCallLists.
void GLAPIENTRY _mesa_NewList | ( | GLuint | list, | |
GLenum | mode | |||
) |
Begin a new display list.
void GLAPIENTRY _mesa_save_CallList | ( | GLuint | list | ) |
void GLAPIENTRY _mesa_save_CallLists | ( | GLsizei | n, | |
GLenum | type, | |||
const GLvoid * | lists | |||
) |
void _mesa_save_vtxfmt_init | ( | GLvertexformat * | vfmt | ) |