cr_dlm.h revision e0e0c19eefceaf5d4ec40f9466b58a771f50e799
#ifndef CR_DLM_H
/* DO NOT EDIT. This file is auto-generated by dlm_header.py. */
#define CR_DLM_H
#if defined(WINDOWS)
#define DLM_APIENTRY
#else
#define DLM_APIENTRY
#endif
#include "chromium.h"
#include "state/cr_client.h"
#include "cr_spu.h"
#include "cr_hash.h"
#include "cr_threads.h"
#include "cr_pack.h"
#ifdef CHROMIUM_THREADSAFE
#include "cr_threads.h"
#endif
/* 3D bounding box */
typedef struct {
} CRDLMBounds;
/* Indicates whether we're currently involved in playback or not */
typedef enum {
CRDLM_IMMEDIATE = 0,
/* This is enough information to hold an instance of a single function call. */
typedef struct DLMInstanceList {
struct DLMInstanceList *next;
struct DLMInstanceList *stateNext;
typedef struct {
int numInstances;
} DLMListInfo;
typedef struct {
/* This holds all the display list information, hashed by list identifier. */
* this DLM.
*/
unsigned int userCount;
#ifdef CHROMIUM_THREADSAFE
/* This mutex protects the displayLists hash table from simultaneous
* updates by multiple contexts.
*/
#endif
/* Configuration information - see the CRDLMConfig structure below
* for details.
*/
unsigned int bufferSize;
} CRDLM;
/* This structure holds thread-specific state. Each thread can be
* associated with one (and only one) context; and each context can
* be associated with one (and only one) DLM. Making things interesting,
* though, is that each DLM can be associated with multiple contexts.
*
* So the thread-specific data key is associated with each context, not
* with each DLM. Two different threads can, through two different
* contexts that share a single DLM, each have independent state and
* conditions.
*/
typedef struct {
unsigned long currentListIdentifier; /* open display list */
CRDLMReplayState replayState; /* CRDLM_IMMEDIATE, CRDLM_REPLAY_STATE_FUNCTIONS, or CRDLM_REPLAY_ALL_FUNCTIONS */
/* These additional structures are for passing information to and from the
* CRDLM interface routines.
*/
typedef struct {
/* The size, in bytes, that the packer will initially allocate for
* each new buffer.
*/
unsigned int bufferSize; /* this will be allocated for each buffer */
} CRDLMConfig;
/* Positive values match GL error values.
* 0 (GL_NO_ERROR) is returned for success
* Negative values are internal errors.
* GL_NO_ERROR (0x0)
* GL_INVALID_ENUM (0x0500)
* GL_INVALID_VALUE (0x0501)
* GL_INVALID_OPERATION (0x0502)
* GL_STACK_OVERFLOW (0x0503)
* GL_STACK_UNDERFLOW (0x0504)
* GL_OUT_OF_MEMORY (0x0505)
*/
typedef int CRDLMError;
/* This error reported if there's no current state. The caller is responsible
* for appropriately allocating context state with crDLMNewContext(), and
* for making it current with crDLMMakeCurrent().
*/
#define CRDLM_ERROR_STATE (-1)
#ifdef __cplusplus
extern "C" {
#endif
extern void DLM_APIENTRY crDLMRestoreClientState(CRClientState *clientState, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMSendDLMList(CRDLM *dlm, unsigned long listIdentifier, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMSendList(unsigned long listIdentifier, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMReplayDLMList(CRDLM *dlm, unsigned long listIdentifier, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMReplayList(unsigned long listIdentifier, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMReplayDLMListState(CRDLM *dlm, unsigned long listIdentifier, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMReplayListState(unsigned long listIdentifier, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMReplayDLMLists(CRDLM *dlm, GLsizei n, GLenum type, const GLvoid *lists, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMReplayLists(GLsizei n, GLenum type, const GLvoid *lists, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMReplayDLMListsState(CRDLM *dlm, GLsizei n, GLenum type, const GLvoid *lists, SPUDispatchTable *dispatchTable);
extern void DLM_APIENTRY crDLMReplayListsState(GLsizei n, GLenum type, const GLvoid *lists, SPUDispatchTable *dispatchTable);
extern int DLM_APIENTRY crDLMGetReferences(CRDLM *dlm, unsigned long listIdentifier, int firstIndex, int sizeofBuffer, unsigned int *buffer);
extern CRDLMError DLM_APIENTRY crDLMGetDLMBounds(CRDLM *dlm, unsigned long listIdentifier, CRDLMBounds *bounds);
extern void DLM_APIENTRY crDLMSetDLMBounds(CRDLM *dlm, unsigned long listIdentifier, double xmin, double ymin, double zmin, double xmax, double ymax, double zmax);
extern void DLM_APIENTRY crDLMSetBounds(unsigned long listIdentifier, double xmin, double ymin, double zmin, double xmax, double ymax, double zmax);
extern void DLM_APIENTRY crDLMEndList(void);
/* auto-generated compilation functions begin here */
extern void DLM_APIENTRY crDLMCompileBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileBlendColorEXT( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
extern void DLM_APIENTRY crDLMCompileBlendFuncSeparateEXT( GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorA, GLenum dfactorA );
extern void DLM_APIENTRY crDLMCompileClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
extern void DLM_APIENTRY crDLMCompileClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
extern void DLM_APIENTRY crDLMCompileColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha );
extern void DLM_APIENTRY crDLMCompileColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha );
extern void DLM_APIENTRY crDLMCompileColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
extern void DLM_APIENTRY crDLMCompileColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha );
extern void DLM_APIENTRY crDLMCompileColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha );
extern void DLM_APIENTRY crDLMCompileColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha );
extern void DLM_APIENTRY crDLMCompileColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha );
extern void DLM_APIENTRY crDLMCompileColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha );
extern void DLM_APIENTRY crDLMCompileCombinerInputNV( GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage );
extern void DLM_APIENTRY crDLMCompileCombinerOutputNV( GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum );
extern void DLM_APIENTRY crDLMCompileCombinerStageParameterfvNV( GLenum stage, GLenum pname, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileCompressedTexImage1DARB( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLint border, GLsizei imagesize, const GLvoid * data );
extern void DLM_APIENTRY crDLMCompileCompressedTexImage2DARB( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imagesize, const GLvoid * data );
extern void DLM_APIENTRY crDLMCompileCompressedTexImage3DARB( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imagesize, const GLvoid * data );
extern void DLM_APIENTRY crDLMCompileCompressedTexSubImage1DARB( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imagesize, const GLvoid * data );
extern void DLM_APIENTRY crDLMCompileCompressedTexSubImage2DARB( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imagesize, const GLvoid * data );
extern void DLM_APIENTRY crDLMCompileCompressedTexSubImage3DARB( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imagesize, const GLvoid * data );
extern void DLM_APIENTRY crDLMCompileCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type );
extern void DLM_APIENTRY crDLMCompileCopyTexImage1D( GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border );
extern void DLM_APIENTRY crDLMCompileCopyTexImage2D( GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border );
extern void DLM_APIENTRY crDLMCompileCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width );
extern void DLM_APIENTRY crDLMCompileCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height );
extern void DLM_APIENTRY crDLMCompileCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height );
extern void DLM_APIENTRY crDLMCompileDrawArrays( GLenum mode, GLint first, GLsizei count, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileEnd( void );
extern void DLM_APIENTRY crDLMCompileEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 );
extern void DLM_APIENTRY crDLMCompileExecuteProgramNV( GLenum target, GLuint id, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileFinalCombinerInputNV( GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage );
extern void DLM_APIENTRY crDLMCompileFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar );
extern void DLM_APIENTRY crDLMCompileInitNames( void );
extern void DLM_APIENTRY crDLMCompileLoadIdentity( void );
extern void DLM_APIENTRY crDLMCompileLoadProgramNV( GLenum target, GLuint id, GLsizei len, const GLubyte * program );
extern void DLM_APIENTRY crDLMCompileMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points );
extern void DLM_APIENTRY crDLMCompileMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points );
extern void DLM_APIENTRY crDLMCompileMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points );
extern void DLM_APIENTRY crDLMCompileMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points );
extern void DLM_APIENTRY crDLMCompileMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 );
extern void DLM_APIENTRY crDLMCompileMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 );
extern void DLM_APIENTRY crDLMCompileMaterialfv( GLenum face, GLenum pname, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileMultiDrawArraysEXT( GLenum mode, GLint * first, GLsizei * count, GLsizei primcount, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileMultiDrawElementsEXT( GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileMultiTexCoord3dARB( GLenum texture, GLdouble s, GLdouble t, GLdouble r );
extern void DLM_APIENTRY crDLMCompileMultiTexCoord3fARB( GLenum texture, GLfloat s, GLfloat t, GLfloat r );
extern void DLM_APIENTRY crDLMCompileMultiTexCoord3iARB( GLenum texture, GLint s, GLint t, GLint r );
extern void DLM_APIENTRY crDLMCompileMultiTexCoord3sARB( GLenum texture, GLshort s, GLshort t, GLshort r );
extern void DLM_APIENTRY crDLMCompileMultiTexCoord4dARB( GLenum texture, GLdouble s, GLdouble t, GLdouble r, GLdouble q );
extern void DLM_APIENTRY crDLMCompileMultiTexCoord4fARB( GLenum texture, GLfloat s, GLfloat t, GLfloat r, GLfloat q );
extern void DLM_APIENTRY crDLMCompileMultiTexCoord4iARB( GLenum texture, GLint s, GLint t, GLint r, GLint q );
extern void DLM_APIENTRY crDLMCompileMultiTexCoord4sARB( GLenum texture, GLshort s, GLshort t, GLshort r, GLshort q );
extern void DLM_APIENTRY crDLMCompileOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar );
extern void DLM_APIENTRY crDLMCompilePixelMapfv( GLenum map, GLsizei mapsize, const GLfloat * values );
extern void DLM_APIENTRY crDLMCompilePixelMapuiv( GLenum map, GLsizei mapsize, const GLuint * values );
extern void DLM_APIENTRY crDLMCompilePixelMapusv( GLenum map, GLsizei mapsize, const GLushort * values );
extern void DLM_APIENTRY crDLMCompilePopAttrib( void );
extern void DLM_APIENTRY crDLMCompilePopMatrix( void );
extern void DLM_APIENTRY crDLMCompilePopName( void );
extern void DLM_APIENTRY crDLMCompilePrioritizeTextures( GLsizei n, const GLuint * textures, const GLclampf * priorities );
extern void DLM_APIENTRY crDLMCompileProgramEnvParameter4dARB( GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w );
extern void DLM_APIENTRY crDLMCompileProgramEnvParameter4dvARB( GLenum target, GLuint index, const GLdouble * params );
extern void DLM_APIENTRY crDLMCompileProgramEnvParameter4fARB( GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w );
extern void DLM_APIENTRY crDLMCompileProgramEnvParameter4fvARB( GLenum target, GLuint index, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileProgramLocalParameter4dARB( GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w );
extern void DLM_APIENTRY crDLMCompileProgramLocalParameter4dvARB( GLenum target, GLuint index, const GLdouble * params );
extern void DLM_APIENTRY crDLMCompileProgramLocalParameter4fARB( GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w );
extern void DLM_APIENTRY crDLMCompileProgramLocalParameter4fvARB( GLenum target, GLuint index, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileProgramNamedParameter4dNV( GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w );
extern void DLM_APIENTRY crDLMCompileProgramNamedParameter4dvNV( GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v );
extern void DLM_APIENTRY crDLMCompileProgramNamedParameter4fNV( GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w );
extern void DLM_APIENTRY crDLMCompileProgramNamedParameter4fvNV( GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v );
extern void DLM_APIENTRY crDLMCompileProgramParameter4dNV( GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w );
extern void DLM_APIENTRY crDLMCompileProgramParameter4dvNV( GLenum target, GLuint index, const GLdouble * params );
extern void DLM_APIENTRY crDLMCompileProgramParameter4fNV( GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w );
extern void DLM_APIENTRY crDLMCompileProgramParameter4fvNV( GLenum target, GLuint index, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileProgramParameters4dvNV( GLenum target, GLuint index, GLuint num, const GLdouble * params );
extern void DLM_APIENTRY crDLMCompileProgramParameters4fvNV( GLenum target, GLuint index, GLuint num, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileProgramStringARB( GLenum target, GLenum format, GLsizei len, const GLvoid * string );
extern void DLM_APIENTRY crDLMCompilePushMatrix( void );
extern void DLM_APIENTRY crDLMCompileSecondaryColor3dEXT( GLdouble red, GLdouble green, GLdouble blue );
extern void DLM_APIENTRY crDLMCompileSecondaryColor3fEXT( GLfloat red, GLfloat green, GLfloat blue );
extern void DLM_APIENTRY crDLMCompileSecondaryColor3sEXT( GLshort red, GLshort green, GLshort blue );
extern void DLM_APIENTRY crDLMCompileSecondaryColor3ubEXT( GLubyte red, GLubyte green, GLubyte blue );
extern void DLM_APIENTRY crDLMCompileSecondaryColor3usEXT( GLushort red, GLushort green, GLushort blue );
extern void DLM_APIENTRY crDLMCompileTexEnvfv( GLenum target, GLenum pname, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileTexGendv( GLenum coord, GLenum pname, const GLdouble * params );
extern void DLM_APIENTRY crDLMCompileTexGenfv( GLenum coord, GLenum pname, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileTexImage1D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileTexImage2D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileTexImage3D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileTexImage3DEXT( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileTexParameterfv( GLenum target, GLenum pname, const GLfloat * params );
extern void DLM_APIENTRY crDLMCompileTexParameteriv( GLenum target, GLenum pname, const GLint * params );
extern void DLM_APIENTRY crDLMCompileTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, CRClientState *c );
extern void DLM_APIENTRY crDLMCompileTrackMatrixNV( GLenum target, GLuint address, GLenum matrix, GLenum transform );
extern void DLM_APIENTRY crDLMCompileVertexAttrib3dARB( GLuint index, GLdouble x, GLdouble y, GLdouble z );
extern void DLM_APIENTRY crDLMCompileVertexAttrib3fARB( GLuint index, GLfloat x, GLfloat y, GLfloat z );
extern void DLM_APIENTRY crDLMCompileVertexAttrib3sARB( GLuint index, GLshort x, GLshort y, GLshort z );
extern void DLM_APIENTRY crDLMCompileVertexAttrib4NubARB( GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w );
extern void DLM_APIENTRY crDLMCompileVertexAttrib4dARB( GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w );
extern void DLM_APIENTRY crDLMCompileVertexAttrib4fARB( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w );
extern void DLM_APIENTRY crDLMCompileVertexAttrib4sARB( GLuint index, GLshort x, GLshort y, GLshort z, GLshort w );
extern void DLM_APIENTRY crDLMCompileVertexAttribs1dvNV( GLuint index, GLsizei n, const GLdouble * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs1fvNV( GLuint index, GLsizei n, const GLfloat * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs1svNV( GLuint index, GLsizei n, const GLshort * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs2dvNV( GLuint index, GLsizei n, const GLdouble * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs2fvNV( GLuint index, GLsizei n, const GLfloat * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs2svNV( GLuint index, GLsizei n, const GLshort * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs3dvNV( GLuint index, GLsizei n, const GLdouble * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs3fvNV( GLuint index, GLsizei n, const GLfloat * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs3svNV( GLuint index, GLsizei n, const GLshort * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs4dvNV( GLuint index, GLsizei n, const GLdouble * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs4fvNV( GLuint index, GLsizei n, const GLfloat * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs4svNV( GLuint index, GLsizei n, const GLshort * v );
extern void DLM_APIENTRY crDLMCompileVertexAttribs4ubvNV( GLuint index, GLsizei n, const GLubyte * v );
extern void DLM_APIENTRY crDLMCompileZPixCR( GLsizei width, GLsizei height, GLenum format, GLenum type, GLenum ztype, GLint zparm, GLint length, const GLvoid * pixels, CRClientState *c );
/* auto-generated CheckList functions begin here. There is one for each
* function that has a dual nature: even when there's an active glNewList,
* sometimes they are compiled into the display list, and sometimes they
* are treated like a control function. The CheckList function will
* return TRUE if the function should really be compiled into a display
* list. The calling SPU is responsible for checking this; but the
* DLM will also print an error if it detects an invalid use.
*/
int DLM_APIENTRY crDLMCheckListCompressedTexImage1DARB( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLint border, GLsizei imagesize, const GLvoid * data );
int DLM_APIENTRY crDLMCheckListCompressedTexImage2DARB( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imagesize, const GLvoid * data );
int DLM_APIENTRY crDLMCheckListCompressedTexImage3DARB( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imagesize, const GLvoid * data );
int DLM_APIENTRY crDLMCheckListTexImage1D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels );
int DLM_APIENTRY crDLMCheckListTexImage2D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels );
int DLM_APIENTRY crDLMCheckListTexImage3D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels );
int DLM_APIENTRY crDLMCheckListTexImage3DEXT( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels );
#ifdef __cplusplus
}
#endif
#endif /* CR_DLM_H */