ReactOS  0.4.14-dev-614-gbfd8a84
dlist.h File Reference
#include "types.h"
Include dependency graph for dlist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void gl_init_lists (void)
 
void gl_destroy_list (GLcontext *ctx, GLuint list)
 
void gl_CallList (GLcontext *ctx, GLuint list)
 
void gl_CallLists (GLcontext *ctx, GLsizei n, GLenum type, const GLvoid *lists)
 
void gl_DeleteLists (GLcontext *ctx, GLuint list, GLsizei range)
 
void gl_EndList (GLcontext *ctx)
 
GLuint gl_GenLists (GLcontext *ctx, GLsizei range)
 
GLboolean gl_IsList (GLcontext *ctx, GLuint list)
 
void gl_ListBase (GLcontext *ctx, GLuint base)
 
void gl_NewList (GLcontext *ctx, GLuint list, GLenum mode)
 
void gl_save_Accum (GLcontext *ctx, GLenum op, GLfloat value)
 
void gl_save_AlphaFunc (GLcontext *ctx, GLenum func, GLclampf ref)
 
void gl_save_BlendFunc (GLcontext *ctx, GLenum sfactor, GLenum dfactor)
 
void gl_save_Begin (GLcontext *ctx, GLenum mode)
 
void gl_save_BindTexture (GLcontext *ctx, GLenum target, GLuint texture)
 
void gl_save_Bitmap (GLcontext *ctx, GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const struct gl_image *bitmap)
 
void gl_save_CallList (GLcontext *ctx, GLuint list)
 
void gl_save_CallLists (GLcontext *ctx, GLsizei n, GLenum type, const GLvoid *lists)
 
void gl_save_Clear (GLcontext *ctx, GLbitfield mask)
 
void gl_save_ClearAccum (GLcontext *ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
 
void gl_save_ClearColor (GLcontext *ctx, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
 
void gl_save_ClearDepth (GLcontext *ctx, GLclampd depth)
 
void gl_save_ClearIndex (GLcontext *ctx, GLfloat c)
 
void gl_save_ClearStencil (GLcontext *ctx, GLint s)
 
void gl_save_ClipPlane (GLcontext *ctx, GLenum plane, const GLfloat *equ)
 
void gl_save_Color3f (GLcontext *ctx, GLfloat r, GLfloat g, GLfloat b)
 
void gl_save_Color3fv (GLcontext *ctx, const GLfloat *c)
 
void gl_save_Color4f (GLcontext *ctx, GLfloat r, GLfloat g, GLfloat b, GLfloat a)
 
void gl_save_Color4fv (GLcontext *ctx, const GLfloat *c)
 
void gl_save_Color4ub (GLcontext *ctx, GLubyte r, GLubyte g, GLubyte b, GLubyte a)
 
void gl_save_Color4ubv (GLcontext *ctx, const GLubyte *c)
 
void gl_save_ColorMask (GLcontext *ctx, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
 
void gl_save_ColorMaterial (GLcontext *ctx, GLenum face, GLenum mode)
 
void gl_save_ColorTable (GLcontext *ctx, GLenum target, GLenum internalFormat, struct gl_image *table)
 
void gl_save_ColorSubTable (GLcontext *ctx, GLenum target, GLsizei start, struct gl_image *data)
 
void gl_save_CopyPixels (GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
 
void gl_save_CopyTexImage1D (GLcontext *ctx, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
 
void gl_save_CopyTexImage2D (GLcontext *ctx, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
 
void gl_save_CopyTexSubImage1D (GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
 
void gl_save_CopyTexSubImage2D (GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLint height)
 
void gl_save_CullFace (GLcontext *ctx, GLenum mode)
 
void gl_save_DepthFunc (GLcontext *ctx, GLenum func)
 
void gl_save_DepthMask (GLcontext *ctx, GLboolean mask)
 
void gl_save_DepthRange (GLcontext *ctx, GLclampd nearval, GLclampd farval)
 
void gl_save_Disable (GLcontext *ctx, GLenum cap)
 
void gl_save_DrawBuffer (GLcontext *ctx, GLenum mode)
 
void gl_save_DrawPixels (GLcontext *ctx, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
 
void gl_save_EdgeFlag (GLcontext *ctx, GLboolean flag)
 
void gl_save_Enable (GLcontext *ctx, GLenum cap)
 
void gl_save_End (GLcontext *ctx)
 
void gl_save_EvalCoord1f (GLcontext *ctx, GLfloat u)
 
void gl_save_EvalCoord2f (GLcontext *ctx, GLfloat u, GLfloat v)
 
void gl_save_EvalMesh1 (GLcontext *ctx, GLenum mode, GLint i1, GLint i2)
 
void gl_save_EvalMesh2 (GLcontext *ctx, GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
 
void gl_save_EvalPoint1 (GLcontext *ctx, GLint i)
 
void gl_save_EvalPoint2 (GLcontext *ctx, GLint i, GLint j)
 
void gl_save_Fogfv (GLcontext *ctx, GLenum pname, const GLfloat *params)
 
void gl_save_FrontFace (GLcontext *ctx, GLenum mode)
 
void gl_save_Frustum (GLcontext *ctx, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval)
 
void gl_save_Hint (GLcontext *ctx, GLenum target, GLenum mode)
 
void gl_save_Indexf (GLcontext *ctx, GLfloat index)
 
void gl_save_Indexi (GLcontext *ctx, GLint index)
 
void gl_save_IndexMask (GLcontext *ctx, GLuint mask)
 
void gl_save_InitNames (GLcontext *ctx)
 
void gl_save_Lightfv (GLcontext *ctx, GLenum light, GLenum pname, const GLfloat *params, GLint numparams)
 
void gl_save_LightModelfv (GLcontext *ctx, GLenum pname, const GLfloat *params)
 
void gl_save_LineWidth (GLcontext *ctx, GLfloat width)
 
void gl_save_LineStipple (GLcontext *ctx, GLint factor, GLushort pattern)
 
void gl_save_ListBase (GLcontext *ctx, GLuint base)
 
void gl_save_LoadIdentity (GLcontext *ctx)
 
void gl_save_LoadMatrixf (GLcontext *ctx, const GLfloat *m)
 
void gl_save_LoadName (GLcontext *ctx, GLuint name)
 
void gl_save_LogicOp (GLcontext *ctx, GLenum opcode)
 
void gl_save_Map1f (GLcontext *ctx, GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points, GLboolean retain)
 
void gl_save_Map2f (GLcontext *ctx, GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points, GLboolean retain)
 
void gl_save_MapGrid1f (GLcontext *ctx, GLint un, GLfloat u1, GLfloat u2)
 
void gl_save_MapGrid2f (GLcontext *ctx, GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
 
void gl_save_Materialfv (GLcontext *ctx, GLenum face, GLenum pname, const GLfloat *params)
 
void gl_save_MatrixMode (GLcontext *ctx, GLenum mode)
 
void gl_save_MultMatrixf (GLcontext *ctx, const GLfloat *m)
 
void gl_save_NewList (GLcontext *ctx, GLuint list, GLenum mode)
 
void gl_save_Normal3fv (GLcontext *ctx, const GLfloat n[3])
 
void gl_save_Normal3f (GLcontext *ctx, GLfloat nx, GLfloat ny, GLfloat nz)
 
void gl_save_Ortho (GLcontext *ctx, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval)
 
void gl_save_PassThrough (GLcontext *ctx, GLfloat token)
 
void gl_save_PixelMapfv (GLcontext *ctx, GLenum map, GLint mapsize, const GLfloat *values)
 
void gl_save_PixelTransferf (GLcontext *ctx, GLenum pname, GLfloat param)
 
void gl_save_PixelZoom (GLcontext *ctx, GLfloat xfactor, GLfloat yfactor)
 
void gl_save_PointSize (GLcontext *ctx, GLfloat size)
 
void gl_save_PolygonMode (GLcontext *ctx, GLenum face, GLenum mode)
 
void gl_save_PolygonStipple (GLcontext *ctx, const GLubyte *mask)
 
void gl_save_PolygonOffset (GLcontext *ctx, GLfloat factor, GLfloat units)
 
void gl_save_PopAttrib (GLcontext *ctx)
 
void gl_save_PopMatrix (GLcontext *ctx)
 
void gl_save_PopName (GLcontext *ctx)
 
void gl_save_PrioritizeTextures (GLcontext *ctx, GLsizei n, const GLuint *textures, const GLclampf *priorities)
 
void gl_save_PushAttrib (GLcontext *ctx, GLbitfield mask)
 
void gl_save_PushMatrix (GLcontext *ctx)
 
void gl_save_PushName (GLcontext *ctx, GLuint name)
 
void gl_save_RasterPos4f (GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
void gl_save_ReadBuffer (GLcontext *ctx, GLenum mode)
 
void gl_save_Rectf (GLcontext *ctx, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
 
void gl_save_Rotatef (GLcontext *ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
 
void gl_save_Scalef (GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z)
 
void gl_save_Scissor (GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height)
 
void gl_save_ShadeModel (GLcontext *ctx, GLenum mode)
 
void gl_save_StencilFunc (GLcontext *ctx, GLenum func, GLint ref, GLuint mask)
 
void gl_save_StencilMask (GLcontext *ctx, GLuint mask)
 
void gl_save_StencilOp (GLcontext *ctx, GLenum fail, GLenum zfail, GLenum zpass)
 
void gl_save_TexCoord2f (GLcontext *ctx, GLfloat s, GLfloat t)
 
void gl_save_TexCoord4f (GLcontext *ctx, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
 
void gl_save_TexEnvfv (GLcontext *ctx, GLenum target, GLenum pname, const GLfloat *params)
 
void gl_save_TexParameterfv (GLcontext *ctx, GLenum target, GLenum pname, const GLfloat *params)
 
void gl_save_TexGenfv (GLcontext *ctx, GLenum coord, GLenum pname, const GLfloat *params)
 
void gl_save_TexImage1D (GLcontext *ctx, GLenum target, GLint level, GLint components, GLsizei width, GLint border, GLenum format, GLenum type, struct gl_image *teximage)
 
void gl_save_TexImage2D (GLcontext *ctx, GLenum target, GLint level, GLint components, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, struct gl_image *teximage)
 
void gl_save_TexSubImage1D (GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, struct gl_image *image)
 
void gl_save_TexSubImage2D (GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, struct gl_image *image)
 
void gl_save_Translatef (GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z)
 
void gl_save_Vertex2f (GLcontext *ctx, GLfloat x, GLfloat y)
 
void gl_save_Vertex3f (GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z)
 
void gl_save_Vertex4f (GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
void gl_save_Vertex3fv (GLcontext *ctx, const GLfloat *v)
 
void gl_save_Viewport (GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height)
 

Function Documentation

◆ gl_CallList()

void gl_CallList ( GLcontext ctx,
GLuint  list 
)

Definition at line 3048 of file dlist.c.

3049 {
3050  /* VERY IMPORTANT: Save the CompileFlag status, turn it off, */
3051  /* execute the display list, and restore the CompileFlag. */
3052  GLboolean save_compile_flag;
3053  save_compile_flag = ctx->CompileFlag;
3054  ctx->CompileFlag = GL_FALSE;
3055  execute_list( ctx, list );
3056  ctx->CompileFlag = save_compile_flag;
3057 }
#define GL_FALSE
Definition: gl.h:173
unsigned char GLboolean
Definition: gl.h:151
static void execute_list(GLcontext *ctx, GLuint list)
Definition: dlist.c:2397
GLboolean CompileFlag
Definition: types.h:1307
Definition: _list.h:228

Referenced by init_exec_pointers().

◆ gl_CallLists()

void gl_CallLists ( GLcontext ctx,
GLsizei  n,
GLenum  type,
const GLvoid lists 
)

Definition at line 3064 of file dlist.c.

3066 {
3067  GLuint i, list;
3068  GLboolean save_compile_flag;
3069 
3070  /* Save the CompileFlag status, turn it off, execute display list,
3071  * and restore the CompileFlag.
3072  */
3073  save_compile_flag = ctx->CompileFlag;
3074  ctx->CompileFlag = GL_FALSE;
3075 
3076  for (i=0;i<n;i++) {
3077  list = translate_id( i, type, lists );
3078  execute_list( ctx, ctx->List.ListBase + list );
3079  }
3080 
3081  ctx->CompileFlag = save_compile_flag;
3082 }
static GLuint translate_id(GLsizei n, GLenum type, const GLvoid *list)
Definition: dlist.c:515
#define GL_FALSE
Definition: gl.h:173
GLdouble n
Definition: glext.h:7729
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLsizei GLenum const GLvoid * lists
Definition: glfuncs.h:14
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
unsigned char GLboolean
Definition: gl.h:151
static void execute_list(GLcontext *ctx, GLuint list)
Definition: dlist.c:2397
GLboolean CompileFlag
Definition: types.h:1307
Definition: _list.h:228
unsigned int GLuint
Definition: gl.h:159
#define list
Definition: rosglue.h:35
struct gl_list_attrib List
Definition: types.h:1327

Referenced by init_exec_pointers().

◆ gl_DeleteLists()

void gl_DeleteLists ( GLcontext ctx,
GLuint  list,
GLsizei  range 
)

Definition at line 2923 of file dlist.c.

2924 {
2925  GLuint i;
2926 
2927  if (INSIDE_BEGIN_END(ctx)) {
2928  gl_error( ctx, GL_INVALID_OPERATION, "glDeleteLists" );
2929  return;
2930  }
2931  if (range<0) {
2932  gl_error( ctx, GL_INVALID_VALUE, "glDeleteLists" );
2933  return;
2934  }
2935  for (i=list;i<list+range;i++) {
2936  gl_destroy_list( ctx, i );
2937  }
2938 }
#define INSIDE_BEGIN_END(CTX)
Definition: macros.h:135
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define GL_INVALID_VALUE
Definition: gl.h:695
#define GL_INVALID_OPERATION
Definition: gl.h:696
Definition: _list.h:228
void gl_error(GLcontext *ctx, GLenum error, const char *s)
Definition: context.c:1421
GLenum GLint * range
Definition: glext.h:7539
void gl_destroy_list(GLcontext *ctx, GLuint list)
Definition: dlist.c:429
unsigned int GLuint
Definition: gl.h:159

Referenced by init_dlist_pointers(), and init_exec_pointers().

◆ gl_destroy_list()

void gl_destroy_list ( GLcontext ctx,
GLuint  list 
)

Definition at line 429 of file dlist.c.

430 {
431  Node *n, *block;
432  GLboolean done;
433 
434  block = (Node *) HashLookup(ctx->Shared->DisplayList, list);
435  n = block;
436 
437  done = block ? GL_FALSE : GL_TRUE;
438  while (!done) {
439  switch (n[0].opcode) {
440  /* special cases first */
441  case OPCODE_MAP1:
442  gl_free_control_points( ctx, n[1].e, (GLfloat *) n[6].data );
443  n += InstSize[n[0].opcode];
444  break;
445  case OPCODE_MAP2:
446  gl_free_control_points( ctx, n[1].e, (GLfloat *) n[10].data );
447  n += InstSize[n[0].opcode];
448  break;
449  case OPCODE_DRAW_PIXELS:
450  free( n[5].data );
451  n += InstSize[n[0].opcode];
452  break;
453  case OPCODE_BITMAP:
454  gl_free_image( (struct gl_image *) n[7].data );
455  n += InstSize[n[0].opcode];
456  break;
457  case OPCODE_COLOR_TABLE:
458  gl_free_image( (struct gl_image *) n[3].data );
459  n += InstSize[n[0].opcode];
460  break;
462  gl_free_image( (struct gl_image *) n[3].data );
463  n += InstSize[n[0].opcode];
464  break;
466  free( n[1].data );
467  n += InstSize[n[0].opcode];
468  break;
469  case OPCODE_TEX_IMAGE1D:
470  gl_free_image( (struct gl_image *) n[8].data );
471  n += InstSize[n[0].opcode];
472  break;
473  case OPCODE_TEX_IMAGE2D:
474  gl_free_image( (struct gl_image *) n[9].data );
475  n += InstSize[n[0].opcode];
476  break;
478  {
479  struct gl_image *image;
480  image = (struct gl_image *) n[7].data;
481  gl_free_image( image );
482  }
483  break;
485  {
486  struct gl_image *image;
487  image = (struct gl_image *) n[9].data;
488  gl_free_image( image );
489  }
490  break;
491  case OPCODE_CONTINUE:
492  n = (Node *) n[1].next;
493  free( block );
494  block = n;
495  break;
496  case OPCODE_END_OF_LIST:
497  free( block );
498  done = GL_TRUE;
499  break;
500  default:
501  /* Most frequent case */
502  n += InstSize[n[0].opcode];
503  break;
504  }
505  }
506 
507  HashRemove(ctx->Shared->DisplayList, list);
508 }
static unsigned int block
Definition: xmlmemory.c:118
GLeglImageOES image
Definition: gl.h:2204
#define GL_FALSE
Definition: gl.h:173
#define free
Definition: debug_ros.c:5
GLdouble n
Definition: glext.h:7729
#define e
Definition: ke_i.h:82
unsigned char GLboolean
Definition: gl.h:151
void gl_free_image(struct gl_image *image)
Definition: image.c:661
void * HashLookup(const struct HashTable *table, GLuint key)
Definition: hash.c:110
void HashRemove(struct HashTable *table, GLuint key)
Definition: hash.c:176
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
Definition: _list.h:228
static unsigned __int64 next
Definition: rand_nt.c:6
void gl_free_control_points(GLcontext *ctx, GLenum target, GLfloat *data)
Definition: eval.c:732
#define GL_TRUE
Definition: gl.h:174
static GLuint InstSize[OPCODE_END_OF_LIST+1]
Definition: dlist.c:366
float GLfloat
Definition: gl.h:161
struct gl_shared_state * Shared
Definition: types.h:1265
Definition: dlist.c:348

Referenced by free_shared_state(), gl_DeleteLists(), and gl_EndList().

◆ gl_EndList()

void gl_EndList ( GLcontext ctx)

Definition at line 3020 of file dlist.c.

3021 {
3022  Node *n;
3023 
3024  /* Check that a list is under construction */
3025  if (!ctx->CurrentListPtr) {
3026  gl_error( ctx, GL_INVALID_OPERATION, "glEndList" );
3027  return;
3028  }
3029 
3030  n = alloc_instruction( ctx, OPCODE_END_OF_LIST, 0 );
3031  (void)n;
3032 
3033  /* Destroy old list, if any */
3034  gl_destroy_list(ctx, ctx->CurrentListNum);
3035  /* Install the list */
3036  HashInsert(ctx->Shared->DisplayList, ctx->CurrentListNum, ctx->CurrentListPtr);
3037 
3038  ctx->CurrentListNum = 0;
3039  ctx->CurrentListPtr = NULL;
3040  ctx->ExecuteFlag = GL_TRUE;
3041  ctx->CompileFlag = GL_FALSE;
3042 
3043  ctx->API = ctx->Exec; /* Switch the API function pointers */
3044 }
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
GLboolean ExecuteFlag
Definition: types.h:1306
#define GL_FALSE
Definition: gl.h:173
GLuint CurrentListNum
Definition: types.h:1309
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
smooth NULL
Definition: ftsmooth.c:416
Node * CurrentListPtr
Definition: types.h:1308
void HashInsert(struct HashTable *table, GLuint key, void *data)
Definition: hash.c:138
#define GL_INVALID_OPERATION
Definition: gl.h:696
GLboolean CompileFlag
Definition: types.h:1307
struct gl_api_table Exec
Definition: types.h:1270
void gl_error(GLcontext *ctx, GLenum error, const char *s)
Definition: context.c:1421
void gl_destroy_list(GLcontext *ctx, GLuint list)
Definition: dlist.c:429
struct gl_api_table API
Definition: types.h:1268
#define GL_TRUE
Definition: gl.h:174
struct gl_shared_state * Shared
Definition: types.h:1265
Definition: dlist.c:348

Referenced by init_dlist_pointers(), and init_exec_pointers().

◆ gl_GenLists()

GLuint gl_GenLists ( GLcontext ctx,
GLsizei  range 
)

Definition at line 2946 of file dlist.c.

2947 {
2948  GLuint base;
2949 
2950  if (INSIDE_BEGIN_END(ctx)) {
2951  gl_error( ctx, GL_INVALID_OPERATION, "glGenLists" );
2952  return 0;
2953  }
2954  if (range<0) {
2955  gl_error( ctx, GL_INVALID_VALUE, "glGenLists" );
2956  return 0;
2957  }
2958  if (range==0) {
2959  return 0;
2960  }
2961 
2962  base = HashFindFreeKeyBlock(ctx->Shared->DisplayList, range);
2963  if (base) {
2964  /* reserve the list IDs by with empty/dummy lists */
2965  GLuint i;
2966  for (i=0; i<range; i++) {
2967  HashInsert(ctx->Shared->DisplayList, base+i, make_empty_list());
2968  }
2969  }
2970  return base;
2971 }
GLuint HashFindFreeKeyBlock(const struct HashTable *table, GLuint numKeys)
Definition: hash.c:248
static Node * make_empty_list(void)
Definition: dlist.c:416
#define INSIDE_BEGIN_END(CTX)
Definition: macros.h:135
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLuint base
Definition: 3dtext.c:35
void HashInsert(struct HashTable *table, GLuint key, void *data)
Definition: hash.c:138
#define GL_INVALID_VALUE
Definition: gl.h:695
#define GL_INVALID_OPERATION
Definition: gl.h:696
void gl_error(GLcontext *ctx, GLenum error, const char *s)
Definition: context.c:1421
GLenum GLint * range
Definition: glext.h:7539
unsigned int GLuint
Definition: gl.h:159
struct gl_shared_state * Shared
Definition: types.h:1265

Referenced by init_dlist_pointers(), and init_exec_pointers().

◆ gl_init_lists()

void gl_init_lists ( void  )

Definition at line 573 of file dlist.c.

574 {
575  static int init_flag = 0;
576 
577  if (init_flag==0) {
578  InstSize[OPCODE_ACCUM] = 3;
580  InstSize[OPCODE_BEGIN] = 2;
582  InstSize[OPCODE_BITMAP] = 8;
586  InstSize[OPCODE_CLEAR] = 2;
612  InstSize[OPCODE_ENABLE] = 2;
614  InstSize[OPCODE_END] = 1;
621  InstSize[OPCODE_FOG] = 6;
624  InstSize[OPCODE_HINT] = 3;
625  InstSize[OPCODE_INDEX] = 2;
628  InstSize[OPCODE_LIGHT] = 7;
637  InstSize[OPCODE_MAP1] = 7;
638  InstSize[OPCODE_MAP2] = 11;
644  InstSize[OPCODE_NORMAL] = 4;
645  InstSize[OPCODE_ORTHO] = 7;
662  InstSize[OPCODE_RECTF] = 5;
664  InstSize[OPCODE_SCALE] = 4;
672  InstSize[OPCODE_TEXENV] = 7;
673  InstSize[OPCODE_TEXGEN] = 7;
686  }
687  init_flag = 1;
688 }
static GLuint InstSize[OPCODE_END_OF_LIST+1]
Definition: dlist.c:366

Referenced by gl_create_context().

◆ gl_IsList()

GLboolean gl_IsList ( GLcontext ctx,
GLuint  list 
)

Definition at line 2908 of file dlist.c.

2909 {
2910  if (list > 0 && HashLookup(ctx->Shared->DisplayList, list)) {
2911  return GL_TRUE;
2912  }
2913  else {
2914  return GL_FALSE;
2915  }
2916 }
#define GL_FALSE
Definition: gl.h:173
void * HashLookup(const struct HashTable *table, GLuint key)
Definition: hash.c:110
Definition: _list.h:228
#define GL_TRUE
Definition: gl.h:174
struct gl_shared_state * Shared
Definition: types.h:1265

Referenced by execute_list(), init_dlist_pointers(), and init_exec_pointers().

◆ gl_ListBase()

void gl_ListBase ( GLcontext ctx,
GLuint  base 
)

Definition at line 3089 of file dlist.c.

3090 {
3091  if (INSIDE_BEGIN_END(ctx)) {
3092  gl_error( ctx, GL_INVALID_OPERATION, "glListBase" );
3093  return;
3094  }
3095  ctx->List.ListBase = base;
3096 }
#define INSIDE_BEGIN_END(CTX)
Definition: macros.h:135
GLuint base
Definition: 3dtext.c:35
#define GL_INVALID_OPERATION
Definition: gl.h:696
void gl_error(GLcontext *ctx, GLenum error, const char *s)
Definition: context.c:1421
struct gl_list_attrib List
Definition: types.h:1327

Referenced by execute_list(), and init_exec_pointers().

◆ gl_NewList()

void gl_NewList ( GLcontext ctx,
GLuint  list,
GLenum  mode 
)

Definition at line 2978 of file dlist.c.

2979 {
2980  if (INSIDE_BEGIN_END(ctx)) {
2981  gl_error( ctx, GL_INVALID_OPERATION, "glNewList" );
2982  return;
2983  }
2984  if (list==0) {
2985  gl_error( ctx, GL_INVALID_VALUE, "glNewList" );
2986  return;
2987  }
2989  gl_error( ctx, GL_INVALID_ENUM, "glNewList" );
2990  return;
2991  }
2992  if (ctx->CurrentListPtr) {
2993  /* already compiling a display list */
2994  gl_error( ctx, GL_INVALID_OPERATION, "glNewList" );
2995  return;
2996  }
2997 
2998  /* Allocate new display list */
2999  ctx->CurrentListNum = list;
3000  ctx->CurrentListPtr = ctx->CurrentBlock = (Node *) malloc( sizeof(Node) * BLOCK_SIZE );
3001  ctx->CurrentPos = 0;
3002 
3003  ctx->CompileFlag = GL_TRUE;
3004  if (mode==GL_COMPILE) {
3005  ctx->ExecuteFlag = GL_FALSE;
3006  }
3007  else {
3008  /* Compile and execute */
3009  ctx->ExecuteFlag = GL_TRUE;
3010  }
3011 
3012  ctx->API = ctx->Save; /* Switch the API function pointers */
3013 }
GLboolean ExecuteFlag
Definition: types.h:1306
#define GL_FALSE
Definition: gl.h:173
GLuint CurrentListNum
Definition: types.h:1309
struct gl_api_table Save
Definition: types.h:1269
#define INSIDE_BEGIN_END(CTX)
Definition: macros.h:135
GLuint CurrentPos
Definition: types.h:1311
Node * CurrentListPtr
Definition: types.h:1308
#define BLOCK_SIZE
Definition: dlist.c:220
Node * CurrentBlock
Definition: types.h:1310
#define GL_COMPILE_AND_EXECUTE
Definition: gl.h:287
#define GL_INVALID_VALUE
Definition: gl.h:695
#define GL_INVALID_OPERATION
Definition: gl.h:696
GLboolean CompileFlag
Definition: types.h:1307
Definition: _list.h:228
GLenum mode
Definition: glext.h:6217
void gl_error(GLcontext *ctx, GLenum error, const char *s)
Definition: context.c:1421
struct gl_api_table API
Definition: types.h:1268
#define GL_TRUE
Definition: gl.h:174
#define list
Definition: rosglue.h:35
#define GL_INVALID_ENUM
Definition: gl.h:694
#define GL_COMPILE
Definition: gl.h:286
#define malloc
Definition: debug_ros.c:4
Definition: dlist.c:348

Referenced by init_exec_pointers().

◆ gl_save_Accum()

void gl_save_Accum ( GLcontext ctx,
GLenum  op,
GLfloat  value 
)

Definition at line 696 of file dlist.c.

697 {
698  Node *n = alloc_instruction( ctx, OPCODE_ACCUM, 2 );
699  if (n) {
700  n[1].e = op;
701  n[2].f = value;
702  }
703  if (ctx->ExecuteFlag) {
704  (*ctx->Exec.Accum)( ctx, op, value );
705  }
706 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLsizei const GLfloat * value
Definition: glext.h:6069
UINT op
Definition: effect.c:223
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_AlphaFunc()

void gl_save_AlphaFunc ( GLcontext ctx,
GLenum  func,
GLclampf  ref 
)

Definition at line 709 of file dlist.c.

710 {
712  if (n) {
713  n[1].e = func;
714  n[2].f = (GLfloat) ref;
715  }
716  if (ctx->ExecuteFlag) {
717  (*ctx->Exec.AlphaFunc)( ctx, func, ref );
718  }
719 }
GLenum func
Definition: glext.h:6028
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
Definition: send.c:47
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
float GLfloat
Definition: gl.h:161
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Begin()

void gl_save_Begin ( GLcontext ctx,
GLenum  mode 
)

Definition at line 722 of file dlist.c.

723 {
724  Node *n = alloc_instruction( ctx, OPCODE_BEGIN, 1 );
725  if (n) {
726  n[1].e = mode;
727  }
728  if (ctx->ExecuteFlag) {
729  (*ctx->Exec.Begin)( ctx, mode );
730  }
731 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
Definition: dlist.c:348

Referenced by gl_save_DrawArrays(), gl_save_DrawElements(), and init_dlist_pointers().

◆ gl_save_BindTexture()

void gl_save_BindTexture ( GLcontext ctx,
GLenum  target,
GLuint  texture 
)

Definition at line 734 of file dlist.c.

735 {
737  if (n) {
738  n[1].e = target;
739  n[2].ui = texture;
740  }
741  if (ctx->ExecuteFlag) {
742  (*ctx->Exec.BindTexture)( ctx, target, texture );
743  }
744 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLenum GLuint texture
Definition: glext.h:6295
struct gl_api_table Exec
Definition: types.h:1270
GLenum target
Definition: glext.h:7315
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Bitmap()

void gl_save_Bitmap ( GLcontext ctx,
GLsizei  width,
GLsizei  height,
GLfloat  xorig,
GLfloat  yorig,
GLfloat  xmove,
GLfloat  ymove,
const struct gl_image bitmap 
)

Definition at line 747 of file dlist.c.

752 {
753  Node *n = alloc_instruction( ctx, OPCODE_BITMAP, 7 );
754  if (n) {
755  n[1].i = (GLint) width;
756  n[2].i = (GLint) height;
757  n[3].f = xorig;
758  n[4].f = yorig;
759  n[5].f = xmove;
760  n[6].f = ymove;
761  n[7].data = (void *) bitmap;
762  }
763  if (ctx->ExecuteFlag) {
764  (*ctx->Exec.Bitmap)( ctx, width, height,
765  xorig, yorig, xmove, ymove, bitmap );
766  }
767 }
GLint GLint GLsizei width
Definition: gl.h:1546
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
Definition: uimain.c:88
struct gl_api_table Exec
Definition: types.h:1270
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
int GLint
Definition: gl.h:156
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_BlendFunc()

void gl_save_BlendFunc ( GLcontext ctx,
GLenum  sfactor,
GLenum  dfactor 
)

Definition at line 770 of file dlist.c.

771 {
773  if (n) {
774  n[1].e = sfactor;
775  n[2].e = dfactor;
776  }
777  if (ctx->ExecuteFlag) {
778  (*ctx->Exec.BlendFunc)( ctx, sfactor, dfactor );
779  }
780 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum sfactor
Definition: glfuncs.h:252
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum dfactor
Definition: glfuncs.h:252
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_CallList()

void gl_save_CallList ( GLcontext ctx,
GLuint  list 
)

Definition at line 783 of file dlist.c.

784 {
786  if (n) {
787  n[1].ui = list;
788  }
789  if (ctx->ExecuteFlag) {
790  (*ctx->Exec.CallList)( ctx, list );
791  }
792 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: _list.h:228
#define list
Definition: rosglue.h:35
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_CallLists()

void gl_save_CallLists ( GLcontext ctx,
GLsizei  n,
GLenum  type,
const GLvoid lists 
)

Definition at line 795 of file dlist.c.

797 {
798  GLuint i;
799 
800  for (i=0;i<n;i++) {
803  if (n) {
804  n[1].ui = list;
805  }
806  }
807  if (ctx->ExecuteFlag) {
808  (*ctx->Exec.CallLists)( ctx, n, type, lists );
809  }
810 }
static GLuint translate_id(GLsizei n, GLenum type, const GLvoid *list)
Definition: dlist.c:515
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLsizei GLenum const GLvoid * lists
Definition: glfuncs.h:14
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: _list.h:228
unsigned int GLuint
Definition: gl.h:159
#define list
Definition: rosglue.h:35
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Clear()

void gl_save_Clear ( GLcontext ctx,
GLbitfield  mask 
)

Definition at line 813 of file dlist.c.

814 {
815  Node *n = alloc_instruction( ctx, OPCODE_CLEAR, 1 );
816  if (n) {
817  n[1].bf = mask;
818  }
819  if (ctx->ExecuteFlag) {
820  (*ctx->Exec.Clear)( ctx, mask );
821  }
822 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLenum GLint GLuint mask
Definition: glext.h:6028
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ClearAccum()

void gl_save_ClearAccum ( GLcontext ctx,
GLfloat  red,
GLfloat  green,
GLfloat  blue,
GLfloat  alpha 
)

Definition at line 825 of file dlist.c.

827 {
829  if (n) {
830  n[1].f = red;
831  n[2].f = green;
832  n[3].f = blue;
833  n[4].f = alpha;
834  }
835  if (ctx->ExecuteFlag) {
836  (*ctx->Exec.ClearAccum)( ctx, red, green, blue, alpha );
837  }
838 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLclampf GLclampf blue
Definition: gl.h:1740
GLclampf green
Definition: gl.h:1740
#define red
Definition: linetest.c:67
struct gl_api_table Exec
Definition: types.h:1270
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ClearColor()

void gl_save_ClearColor ( GLcontext ctx,
GLclampf  red,
GLclampf  green,
GLclampf  blue,
GLclampf  alpha 
)

Definition at line 841 of file dlist.c.

843 {
845  if (n) {
846  n[1].f = red;
847  n[2].f = green;
848  n[3].f = blue;
849  n[4].f = alpha;
850  }
851  if (ctx->ExecuteFlag) {
852  (*ctx->Exec.ClearColor)( ctx, red, green, blue, alpha );
853  }
854 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLclampf GLclampf blue
Definition: gl.h:1740
GLclampf green
Definition: gl.h:1740
#define red
Definition: linetest.c:67
struct gl_api_table Exec
Definition: types.h:1270
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ClearDepth()

void gl_save_ClearDepth ( GLcontext ctx,
GLclampd  depth 
)

Definition at line 857 of file dlist.c.

858 {
860  if (n) {
861  n[1].f = (GLfloat) depth;
862  }
863  if (ctx->ExecuteFlag) {
864  (*ctx->Exec.ClearDepth)( ctx, depth );
865  }
866 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLint GLint GLsizei GLsizei GLsizei depth
Definition: gl.h:1546
struct gl_api_table Exec
Definition: types.h:1270
float GLfloat
Definition: gl.h:161
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ClearIndex()

void gl_save_ClearIndex ( GLcontext ctx,
GLfloat  c 
)

Definition at line 869 of file dlist.c.

870 {
872  if (n) {
873  n[1].f = c;
874  }
875  if (ctx->ExecuteFlag) {
876  (*ctx->Exec.ClearIndex)( ctx, c );
877  }
878 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
const GLubyte * c
Definition: glext.h:8905
struct gl_api_table Exec
Definition: types.h:1270
#define c
Definition: ke_i.h:80
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ClearStencil()

void gl_save_ClearStencil ( GLcontext ctx,
GLint  s 
)

Definition at line 881 of file dlist.c.

882 {
884  if (n) {
885  n[1].i = s;
886  }
887  if (ctx->ExecuteFlag) {
888  (*ctx->Exec.ClearStencil)( ctx, s );
889  }
890 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLdouble s
Definition: gl.h:2039
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ClipPlane()

void gl_save_ClipPlane ( GLcontext ctx,
GLenum  plane,
const GLfloat equ 
)

Definition at line 893 of file dlist.c.

894 {
896  if (n) {
897  n[1].e = plane;
898  n[2].f = equ[0];
899  n[3].f = equ[1];
900  n[4].f = equ[2];
901  n[5].f = equ[3];
902  }
903  if (ctx->ExecuteFlag) {
904  (*ctx->Exec.ClipPlane)( ctx, plane, equ );
905  }
906 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum GLenum GLint GLuint GLenum GLenum GLfloat GLenum GLfloat GLenum GLint const GLfloat GLenum GLint const GLushort GLint GLint GLsizei GLsizei GLenum GLsizei GLsizei GLenum GLenum const GLvoid GLenum plane
Definition: glfuncs.h:270
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Color3f()

void gl_save_Color3f ( GLcontext ctx,
GLfloat  r,
GLfloat  g,
GLfloat  b 
)

Definition at line 909 of file dlist.c.

910 {
911  Node *n = alloc_instruction( ctx, OPCODE_COLOR_3F, 3 );
912  if (n) {
913  n[1].f = r;
914  n[2].f = g;
915  n[3].f = b;
916  }
917  if (ctx->ExecuteFlag) {
918  (*ctx->Exec.Color3f)( ctx, r, g, b );
919  }
920 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
#define b
Definition: ke_i.h:79
GLboolean GLboolean g
Definition: glext.h:6204
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Color3fv()

void gl_save_Color3fv ( GLcontext ctx,
const GLfloat c 
)

Definition at line 923 of file dlist.c.

924 {
925  Node *n = alloc_instruction( ctx, OPCODE_COLOR_3F, 3 );
926  if (n) {
927  n[1].f = c[0];
928  n[2].f = c[1];
929  n[3].f = c[2];
930  }
931  if (ctx->ExecuteFlag) {
932  (*ctx->Exec.Color3fv)( ctx, c );
933  }
934 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
const GLubyte * c
Definition: glext.h:8905
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Color4f()

void gl_save_Color4f ( GLcontext ctx,
GLfloat  r,
GLfloat  g,
GLfloat  b,
GLfloat  a 
)

Definition at line 937 of file dlist.c.

939 {
940  Node *n = alloc_instruction( ctx, OPCODE_COLOR_4F, 4 );
941  if (n) {
942  n[1].f = r;
943  n[2].f = g;
944  n[3].f = b;
945  n[4].f = a;
946  }
947  if (ctx->ExecuteFlag) {
948  (*ctx->Exec.Color4f)( ctx, r, g, b, a );
949  }
950 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
#define a
Definition: ke_i.h:78
#define b
Definition: ke_i.h:79
GLboolean GLboolean g
Definition: glext.h:6204
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
struct gl_api_table Exec
Definition: types.h:1270
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Color4fv()

void gl_save_Color4fv ( GLcontext ctx,
const GLfloat c 
)

Definition at line 953 of file dlist.c.

954 {
955  Node *n = alloc_instruction( ctx, OPCODE_COLOR_4F, 4 );
956  if (n) {
957  n[1].f = c[0];
958  n[2].f = c[1];
959  n[3].f = c[2];
960  n[4].f = c[3];
961  }
962  if (ctx->ExecuteFlag) {
963  (*ctx->Exec.Color4fv)( ctx, c );
964  }
965 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
const GLubyte * c
Definition: glext.h:8905
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Color4ub()

void gl_save_Color4ub ( GLcontext ctx,
GLubyte  r,
GLubyte  g,
GLubyte  b,
GLubyte  a 
)

Definition at line 968 of file dlist.c.

970 {
972  if (n) {
973  n[1].ub = r;
974  n[2].ub = g;
975  n[3].ub = b;
976  n[4].ub = a;
977  }
978  if (ctx->ExecuteFlag) {
979  (*ctx->Exec.Color4ub)( ctx, r, g, b, a );
980  }
981 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
#define a
Definition: ke_i.h:78
#define b
Definition: ke_i.h:79
GLboolean GLboolean g
Definition: glext.h:6204
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
struct gl_api_table Exec
Definition: types.h:1270
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Color4ubv()

void gl_save_Color4ubv ( GLcontext ctx,
const GLubyte c 
)

Definition at line 984 of file dlist.c.

985 {
987  if (n) {
988  n[1].ub = c[0];
989  n[2].ub = c[1];
990  n[3].ub = c[2];
991  n[4].ub = c[3];
992  }
993  if (ctx->ExecuteFlag) {
994  (*ctx->Exec.Color4ubv)( ctx, c );
995  }
996 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
const GLubyte * c
Definition: glext.h:8905
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ColorMask()

void gl_save_ColorMask ( GLcontext ctx,
GLboolean  red,
GLboolean  green,
GLboolean  blue,
GLboolean  alpha 
)

Definition at line 999 of file dlist.c.

1001 {
1002  Node *n = alloc_instruction( ctx, OPCODE_COLOR_MASK, 4 );
1003  if (n) {
1004  n[1].b = red;
1005  n[2].b = green;
1006  n[3].b = blue;
1007  n[4].b = alpha;
1008  }
1009  if (ctx->ExecuteFlag) {
1010  (*ctx->Exec.ColorMask)( ctx, red, green, blue, alpha );
1011  }
1012 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLclampf GLclampf blue
Definition: gl.h:1740
GLclampf green
Definition: gl.h:1740
#define red
Definition: linetest.c:67
struct gl_api_table Exec
Definition: types.h:1270
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ColorMaterial()

void gl_save_ColorMaterial ( GLcontext ctx,
GLenum  face,
GLenum  mode 
)

Definition at line 1015 of file dlist.c.

1016 {
1018  if (n) {
1019  n[1].e = face;
1020  n[2].e = mode;
1021  }
1022  if (ctx->ExecuteFlag) {
1023  (*ctx->Exec.ColorMaterial)( ctx, face, mode );
1024  }
1025 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
WORD face[3]
Definition: mesh.c:4747
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ColorSubTable()

void gl_save_ColorSubTable ( GLcontext ctx,
GLenum  target,
GLsizei  start,
struct gl_image data 
)

Definition at line 1047 of file dlist.c.

1049 {
1051  if (n) {
1052  n[1].e = target;
1053  n[2].i = start;
1054  n[3].data = (GLvoid *) data;
1055  if (data) {
1056  /* must retain this image */
1057  data->RefCount = 1;
1058  }
1059  }
1060  if (ctx->ExecuteFlag) {
1061  (*ctx->Exec.ColorSubTable)( ctx, target, start, data );
1062  }
1063 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
struct gl_api_table Exec
Definition: types.h:1270
GLuint start
Definition: gl.h:1545
GLenum target
Definition: glext.h:7315
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ColorTable()

void gl_save_ColorTable ( GLcontext ctx,
GLenum  target,
GLenum  internalFormat,
struct gl_image table 
)

Definition at line 1028 of file dlist.c.

1030 {
1032  if (n) {
1033  n[1].e = target;
1034  n[2].e = internalFormat;
1035  n[3].data = (GLvoid *) table;
1036  if (table) {
1037  /* must retain this image */
1038  table->RefCount = 1;
1039  }
1040  }
1041  if (ctx->ExecuteFlag) {
1042  (*ctx->Exec.ColorTable)( ctx, target, internalFormat, table );
1043  }
1044 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLenum internalFormat
Definition: glext.h:8404
struct gl_api_table Exec
Definition: types.h:1270
GLenum target
Definition: glext.h:7315
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_CopyPixels()

void gl_save_CopyPixels ( GLcontext ctx,
GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLenum  type 
)

Definition at line 1067 of file dlist.c.

1069 {
1071  if (n) {
1072  n[1].i = x;
1073  n[2].i = y;
1074  n[3].i = (GLint) width;
1075  n[4].i = (GLint) height;
1076  n[5].e = type;
1077  }
1078  if (ctx->ExecuteFlag) {
1079  (*ctx->Exec.CopyPixels)( ctx, x, y, width, height, type );
1080  }
1081 }
GLint GLint GLsizei width
Definition: gl.h:1546
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
int GLint
Definition: gl.h:156
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_CopyTexImage1D()

void gl_save_CopyTexImage1D ( GLcontext ctx,
GLenum  target,
GLint  level,
GLenum  internalformat,
GLint  x,
GLint  y,
GLsizei  width,
GLint  border 
)

Definition at line 1085 of file dlist.c.

1090 {
1092  if (n) {
1093  n[1].e = target;
1094  n[2].i = level;
1095  n[3].e = internalformat;
1096  n[4].i = x;
1097  n[5].i = y;
1098  n[6].i = width;
1099  n[7].i = border;
1100  }
1101  if (ctx->ExecuteFlag) {
1102  (*ctx->Exec.CopyTexImage1D)( ctx, target, level, internalformat,
1103  x, y, width, border );
1104  }
1105 }
GLint level
Definition: gl.h:1546
GLint GLint GLsizei width
Definition: gl.h:1546
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLint GLint GLsizei GLsizei GLsizei GLint border
Definition: gl.h:1546
struct gl_api_table Exec
Definition: types.h:1270
GLint GLint internalformat
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLenum target
Definition: glext.h:7315
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_CopyTexImage2D()

void gl_save_CopyTexImage2D ( GLcontext ctx,
GLenum  target,
GLint  level,
GLenum  internalformat,
GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLint  border 
)

Definition at line 1108 of file dlist.c.

1113 {
1115  if (n) {
1116  n[1].e = target;
1117  n[2].i = level;
1118  n[3].e = internalformat;
1119  n[4].i = x;
1120  n[5].i = y;
1121  n[6].i = width;
1122  n[7].i = height;
1123  n[8].i = border;
1124  }
1125  if (ctx->ExecuteFlag) {
1126  (*ctx->Exec.CopyTexImage2D)( ctx, target, level, internalformat,
1127  x, y, width, height, border );
1128  }
1129 }
GLint level
Definition: gl.h:1546
GLint GLint GLsizei width
Definition: gl.h:1546
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLint GLint GLsizei GLsizei GLsizei GLint border
Definition: gl.h:1546
struct gl_api_table Exec
Definition: types.h:1270
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint internalformat
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLenum target
Definition: glext.h:7315
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_CopyTexSubImage1D()

void gl_save_CopyTexSubImage1D ( GLcontext ctx,
GLenum  target,
GLint  level,
GLint  xoffset,
GLint  x,
GLint  y,
GLsizei  width 
)

Definition at line 1133 of file dlist.c.

1137 {
1139  if (n) {
1140  n[1].e = target;
1141  n[2].i = level;
1142  n[3].i = xoffset;
1143  n[4].i = x;
1144  n[5].i = y;
1145  n[6].i = width;
1146  }
1147  if (ctx->ExecuteFlag) {
1148  (*ctx->Exec.CopyTexSubImage1D)( ctx, target, level, xoffset, x, y, width );
1149  }
1150 }
GLint level
Definition: gl.h:1546
GLint GLint GLsizei width
Definition: gl.h:1546
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLint GLint xoffset
Definition: gl.h:1547
struct gl_api_table Exec
Definition: types.h:1270
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLenum target
Definition: glext.h:7315
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_CopyTexSubImage2D()

void gl_save_CopyTexSubImage2D ( GLcontext ctx,
GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLint  x,
GLint  y,
GLsizei  width,
GLint  height 
)

Definition at line 1153 of file dlist.c.

1158 {
1160  if (n) {
1161  n[1].e = target;
1162  n[2].i = level;
1163  n[3].i = xoffset;
1164  n[4].i = yoffset;
1165  n[5].i = x;
1166  n[6].i = y;
1167  n[7].i = width;
1168  n[8].i = height;
1169  }
1170  if (ctx->ExecuteFlag) {
1171  (*ctx->Exec.CopyTexSubImage2D)( ctx, target, level, xoffset, yoffset,
1172  x, y, width, height );
1173  }
1174 }
GLint level
Definition: gl.h:1546
GLint GLint GLsizei width
Definition: gl.h:1546
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint yoffset
Definition: gl.h:1547
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLint GLint xoffset
Definition: gl.h:1547
struct gl_api_table Exec
Definition: types.h:1270
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLenum target
Definition: glext.h:7315
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_CullFace()

void gl_save_CullFace ( GLcontext ctx,
GLenum  mode 
)

Definition at line 1176 of file dlist.c.

1177 {
1178  Node *n = alloc_instruction( ctx, OPCODE_CULL_FACE, 1 );
1179  if (n) {
1180  n[1].e = mode;
1181  }
1182  if (ctx->ExecuteFlag) {
1183  (*ctx->Exec.CullFace)( ctx, mode );
1184  }
1185 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_DepthFunc()

void gl_save_DepthFunc ( GLcontext ctx,
GLenum  func 
)

Definition at line 1188 of file dlist.c.

1189 {
1190  Node *n = alloc_instruction( ctx, OPCODE_DEPTH_FUNC, 1 );
1191  if (n) {
1192  n[1].e = func;
1193  }
1194  if (ctx->ExecuteFlag) {
1195  (*ctx->Exec.DepthFunc)( ctx, func );
1196  }
1197 }
GLenum func
Definition: glext.h:6028
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_DepthMask()

void gl_save_DepthMask ( GLcontext ctx,
GLboolean  mask 
)

Definition at line 1200 of file dlist.c.

1201 {
1202  Node *n = alloc_instruction( ctx, OPCODE_DEPTH_MASK, 1 );
1203  if (n) {
1204  n[1].b = mask;
1205  }
1206  if (ctx->ExecuteFlag) {
1207  (*ctx->Exec.DepthMask)( ctx, mask );
1208  }
1209 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLenum GLint GLuint mask
Definition: glext.h:6028
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_DepthRange()

void gl_save_DepthRange ( GLcontext ctx,
GLclampd  nearval,
GLclampd  farval 
)

Definition at line 1212 of file dlist.c.

1213 {
1215  if (n) {
1216  n[1].f = (GLfloat) nearval;
1217  n[2].f = (GLfloat) farval;
1218  }
1219  if (ctx->ExecuteFlag) {
1220  (*ctx->Exec.DepthRange)( ctx, nearval, farval );
1221  }
1222 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
float GLfloat
Definition: gl.h:161
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Disable()

void gl_save_Disable ( GLcontext ctx,
GLenum  cap 
)

Definition at line 1225 of file dlist.c.

1226 {
1227  Node *n = alloc_instruction( ctx, OPCODE_DISABLE, 1 );
1228  if (n) {
1229  n[1].e = cap;
1230  }
1231  if (ctx->ExecuteFlag) {
1232  (*ctx->Exec.Disable)( ctx, cap );
1233  }
1234 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLenum cap
Definition: glext.h:9639
struct gl_api_table Exec
Definition: types.h:1270
#define cap
Definition: glfuncs.h:226
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_DrawBuffer()

void gl_save_DrawBuffer ( GLcontext ctx,
GLenum  mode 
)

Definition at line 1237 of file dlist.c.

1238 {
1240  if (n) {
1241  n[1].e = mode;
1242  }
1243  if (ctx->ExecuteFlag) {
1244  (*ctx->Exec.DrawBuffer)( ctx, mode );
1245  }
1246 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_DrawPixels()

void gl_save_DrawPixels ( GLcontext ctx,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
const GLvoid pixels 
)

Definition at line 1249 of file dlist.c.

1251 {
1253  if (n) {
1254  n[1].i = (GLint) width;
1255  n[2].i = (GLint) height;
1256  n[3].e = format;
1257  n[4].e = type;
1258  n[5].data = (GLvoid *) pixels;
1259  }
1260 /* Special case: gl_DrawPixels takes care of GL_COMPILE_AND_EXECUTE case!
1261  if (ctx->ExecuteFlag) {
1262  (*ctx->Exec.DrawPixels)( ctx, width, height, format, type, pixels );
1263  }
1264 */
1265 }
GLint GLint GLsizei width
Definition: gl.h:1546
GLdouble n
Definition: glext.h:7729
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
Definition: gl.h:1546
int GLint
Definition: gl.h:156
Definition: dlist.c:348

Referenced by gl_DrawPixels().

◆ gl_save_EdgeFlag()

void gl_save_EdgeFlag ( GLcontext ctx,
GLboolean  flag 
)

Definition at line 1268 of file dlist.c.

1269 {
1270  Node *n = alloc_instruction( ctx, OPCODE_EDGE_FLAG, 1 );
1271  if (n) {
1272  n[1].b = flag;
1273  }
1274  if (ctx->ExecuteFlag) {
1275  (*ctx->Exec.EdgeFlag)( ctx, flag );
1276  }
1277 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
Definition: glfuncs.h:52
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Enable()

void gl_save_Enable ( GLcontext ctx,
GLenum  cap 
)

Definition at line 1280 of file dlist.c.

1281 {
1282  Node *n = alloc_instruction( ctx, OPCODE_ENABLE, 1 );
1283  if (n) {
1284  n[1].e = cap;
1285  }
1286  if (ctx->ExecuteFlag) {
1287  (*ctx->Exec.Enable)( ctx, cap );
1288  }
1289 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLenum cap
Definition: glext.h:9639
struct gl_api_table Exec
Definition: types.h:1270
#define cap
Definition: glfuncs.h:226
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_End()

void gl_save_End ( GLcontext ctx)

Definition at line 1292 of file dlist.c.

1293 {
1294  (void) alloc_instruction( ctx, OPCODE_END, 0 );
1295  if (ctx->ExecuteFlag) {
1296  (*ctx->Exec.End)( ctx );
1297  }
1298 }
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
GLboolean ExecuteFlag
Definition: types.h:1306
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270

Referenced by gl_save_DrawArrays(), gl_save_DrawElements(), and init_dlist_pointers().

◆ gl_save_EvalCoord1f()

void gl_save_EvalCoord1f ( GLcontext ctx,
GLfloat  u 
)

Definition at line 1301 of file dlist.c.

1302 {
1303  Node *n = alloc_instruction( ctx, OPCODE_EVALCOORD1, 1 );
1304  if (n) {
1305  n[1].f = u;
1306  }
1307  if (ctx->ExecuteFlag) {
1308  (*ctx->Exec.EvalCoord1f)( ctx, u );
1309  }
1310 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition: glfuncs.h:240
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_EvalCoord2f()

void gl_save_EvalCoord2f ( GLcontext ctx,
GLfloat  u,
GLfloat  v 
)

Definition at line 1313 of file dlist.c.

1314 {
1315  Node *n = alloc_instruction( ctx, OPCODE_EVALCOORD2, 2 );
1316  if (n) {
1317  n[1].f = u;
1318  n[2].f = v;
1319  }
1320  if (ctx->ExecuteFlag) {
1321  (*ctx->Exec.EvalCoord2f)( ctx, u, v );
1322  }
1323 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition: glfuncs.h:240
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
const GLdouble * v
Definition: gl.h:2040
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_EvalMesh1()

void gl_save_EvalMesh1 ( GLcontext ctx,
GLenum  mode,
GLint  i1,
GLint  i2 
)

Definition at line 1326 of file dlist.c.

1328 {
1329  Node *n = alloc_instruction( ctx, OPCODE_EVALMESH1, 3 );
1330  if (n) {
1331  n[1].e = mode;
1332  n[2].i = i1;
1333  n[3].i = i2;
1334  }
1335  if (ctx->ExecuteFlag) {
1336  (*ctx->Exec.EvalMesh1)( ctx, mode, i1, i2 );
1337  }
1338 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_EvalMesh2()

void gl_save_EvalMesh2 ( GLcontext ctx,
GLenum  mode,
GLint  i1,
GLint  i2,
GLint  j1,
GLint  j2 
)

Definition at line 1341 of file dlist.c.

1343 {
1344  Node *n = alloc_instruction( ctx, OPCODE_EVALMESH2, 5 );
1345  if (n) {
1346  n[1].e = mode;
1347  n[2].i = i1;
1348  n[3].i = i2;
1349  n[4].i = j1;
1350  n[5].i = j2;
1351  }
1352  if (ctx->ExecuteFlag) {
1353  (*ctx->Exec.EvalMesh2)( ctx, mode, i1, i2, j1, j2 );
1354  }
1355 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_EvalPoint1()

void gl_save_EvalPoint1 ( GLcontext ctx,
GLint  i 
)

Definition at line 1358 of file dlist.c.

1359 {
1360  Node *n = alloc_instruction( ctx, OPCODE_EVALPOINT1, 1 );
1361  if (n) {
1362  n[1].i = i;
1363  }
1364  if (ctx->ExecuteFlag) {
1365  (*ctx->Exec.EvalPoint1)( ctx, i );
1366  }
1367 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_EvalPoint2()

void gl_save_EvalPoint2 ( GLcontext ctx,
GLint  i,
GLint  j 
)

Definition at line 1370 of file dlist.c.

1371 {
1372  Node *n = alloc_instruction( ctx, OPCODE_EVALPOINT2, 2 );
1373  if (n) {
1374  n[1].i = i;
1375  n[2].i = j;
1376  }
1377  if (ctx->ExecuteFlag) {
1378  (*ctx->Exec.EvalPoint2)( ctx, i, j );
1379  }
1380 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
Definition: glfuncs.h:250
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Fogfv()

void gl_save_Fogfv ( GLcontext ctx,
GLenum  pname,
const GLfloat params 
)

Definition at line 1383 of file dlist.c.

1384 {
1385  Node *n = alloc_instruction( ctx, OPCODE_FOG, 5 );
1386  if (n) {
1387  n[1].e = pname;
1388  n[2].f = params[0];
1389  n[3].f = params[1];
1390  n[4].f = params[2];
1391  n[5].f = params[3];
1392  }
1393  if (ctx->ExecuteFlag) {
1394  (*ctx->Exec.Fogfv)( ctx, pname, params );
1395  }
1396 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLenum pname
Definition: glext.h:5645
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLenum const GLfloat * params
Definition: glext.h:5645
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_FrontFace()

void gl_save_FrontFace ( GLcontext ctx,
GLenum  mode 
)

Definition at line 1399 of file dlist.c.

1400 {
1401  Node *n = alloc_instruction( ctx, OPCODE_FRONT_FACE, 1 );
1402  if (n) {
1403  n[1].e = mode;
1404  }
1405  if (ctx->ExecuteFlag) {
1406  (*ctx->Exec.FrontFace)( ctx, mode );
1407  }
1408 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Frustum()

void gl_save_Frustum ( GLcontext ctx,
GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  nearval,
GLdouble  farval 
)

Definition at line 1411 of file dlist.c.

1414 {
1415  Node *n = alloc_instruction( ctx, OPCODE_FRUSTUM, 6 );
1416  if (n) {
1417  n[1].f = left;
1418  n[2].f = right;
1419  n[3].f = bottom;
1420  n[4].f = top;
1421  n[5].f = nearval;
1422  n[6].f = farval;
1423  }
1424  if (ctx->ExecuteFlag) {
1425  (*ctx->Exec.Frustum)( ctx, left, right, bottom, top, nearval, farval );
1426  }
1427 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLint GLint bottom
Definition: glext.h:7726
GLint left
Definition: glext.h:7726
GLdouble GLdouble right
Definition: glext.h:10859
struct gl_api_table Exec
Definition: types.h:1270
GLdouble GLdouble GLdouble GLdouble top
Definition: glext.h:10859
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Hint()

void gl_save_Hint ( GLcontext ctx,
GLenum  target,
GLenum  mode 
)

Definition at line 1430 of file dlist.c.

1431 {
1432  Node *n = alloc_instruction( ctx, OPCODE_HINT, 2 );
1433  if (n) {
1434  n[1].e = target;
1435  n[2].e = mode;
1436  }
1437  if (ctx->ExecuteFlag) {
1438  (*ctx->Exec.Hint)( ctx, target, mode );
1439  }
1440 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
GLenum target
Definition: glext.h:7315
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Indexf()

void gl_save_Indexf ( GLcontext ctx,
GLfloat  index 
)

Definition at line 1455 of file dlist.c.

1456 {
1457  Node *n = alloc_instruction( ctx, OPCODE_INDEX, 1 );
1458  if (n) {
1459  n[1].i = (GLint) index;
1460  }
1461  if (ctx->ExecuteFlag) {
1462  (*ctx->Exec.Indexf)( ctx,index );
1463  }
1464 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLuint index
Definition: glext.h:6031
struct gl_api_table Exec
Definition: types.h:1270
int GLint
Definition: gl.h:156
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Indexi()

void gl_save_Indexi ( GLcontext ctx,
GLint  index 
)

Definition at line 1443 of file dlist.c.

1444 {
1445  Node *n = alloc_instruction( ctx, OPCODE_INDEX, 1 );
1446  if (n) {
1447  n[1].i = index;
1448  }
1449  if (ctx->ExecuteFlag) {
1450  (*ctx->Exec.Indexi)( ctx, index );
1451  }
1452 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLuint index
Definition: glext.h:6031
#define index(s, c)
Definition: various.h:29
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_IndexMask()

void gl_save_IndexMask ( GLcontext ctx,
GLuint  mask 
)

Definition at line 1467 of file dlist.c.

1468 {
1469  Node *n = alloc_instruction( ctx, OPCODE_INDEX_MASK, 1 );
1470  if (n) {
1471  n[1].ui = mask;
1472  }
1473  if (ctx->ExecuteFlag) {
1474  (*ctx->Exec.IndexMask)( ctx, mask );
1475  }
1476 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLenum GLint GLuint mask
Definition: glext.h:6028
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_InitNames()

void gl_save_InitNames ( GLcontext ctx)

Definition at line 1479 of file dlist.c.

1480 {
1482  if (ctx->ExecuteFlag) {
1483  (*ctx->Exec.InitNames)( ctx );
1484  }
1485 }
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
GLboolean ExecuteFlag
Definition: types.h:1306
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270

Referenced by init_dlist_pointers().

◆ gl_save_Lightfv()

void gl_save_Lightfv ( GLcontext ctx,
GLenum  light,
GLenum  pname,
const GLfloat params,
GLint  numparams 
)

Definition at line 1488 of file dlist.c.

1490 {
1491  Node *n = alloc_instruction( ctx, OPCODE_LIGHT, 6 );
1492  if (OPCODE_LIGHT) {
1493  GLint i;
1494  n[1].e = light;
1495  n[2].e = pname;
1496  for (i=0;i<numparams;i++) {
1497  n[3+i].f = params[i];
1498  }
1499  }
1500  if (ctx->ExecuteFlag) {
1501  (*ctx->Exec.Lightfv)( ctx, light, pname, params, numparams );
1502  }
1503 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLenum pname
Definition: glext.h:5645
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum light
Definition: glfuncs.h:170
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLenum const GLfloat * params
Definition: glext.h:5645
struct gl_api_table Exec
Definition: types.h:1270
int GLint
Definition: gl.h:156
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_LightModelfv()

void gl_save_LightModelfv ( GLcontext ctx,
GLenum  pname,
const GLfloat params 
)

Definition at line 1506 of file dlist.c.

1508 {
1510  if (n) {
1511  n[1].e = pname;
1512  n[2].f = params[0];
1513  n[3].f = params[1];
1514  n[4].f = params[2];
1515  n[5].f = params[3];
1516  }
1517  if (ctx->ExecuteFlag) {
1518  (*ctx->Exec.LightModelfv)( ctx, pname, params );
1519  }
1520 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLenum pname
Definition: glext.h:5645
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLenum const GLfloat * params
Definition: glext.h:5645
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_LineStipple()

void gl_save_LineStipple ( GLcontext ctx,
GLint  factor,
GLushort  pattern 
)

Definition at line 1523 of file dlist.c.

1524 {
1526  if (n) {
1527  n[1].i = factor;
1528  n[2].us = pattern;
1529  }
1530  if (ctx->ExecuteFlag) {
1531  (*ctx->Exec.LineStipple)( ctx, factor, pattern );
1532  }
1533 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint factor
Definition: glfuncs.h:178
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLubyte * pattern
Definition: glext.h:7787
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_LineWidth()

void gl_save_LineWidth ( GLcontext ctx,
GLfloat  width 
)

Definition at line 1536 of file dlist.c.

1537 {
1538  Node *n = alloc_instruction( ctx, OPCODE_LINE_WIDTH, 1 );
1539  if (n) {
1540  n[1].f = width;
1541  }
1542  if (ctx->ExecuteFlag) {
1543  (*ctx->Exec.LineWidth)( ctx, width );
1544  }
1545 }
GLint GLint GLsizei width
Definition: gl.h:1546
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ListBase()

void gl_save_ListBase ( GLcontext ctx,
GLuint  base 
)

Definition at line 1548 of file dlist.c.

1549 {
1550  Node *n = alloc_instruction( ctx, OPCODE_LIST_BASE, 1 );
1551  if (n) {
1552  n[1].ui = base;
1553  }
1554  if (ctx->ExecuteFlag) {
1555  (*ctx->Exec.ListBase)( ctx, base );
1556  }
1557 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLuint base
Definition: 3dtext.c:35
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_LoadIdentity()

void gl_save_LoadIdentity ( GLcontext ctx)

Definition at line 1560 of file dlist.c.

1561 {
1563  if (ctx->ExecuteFlag) {
1564  (*ctx->Exec.LoadIdentity)( ctx );
1565  }
1566 }
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
GLboolean ExecuteFlag
Definition: types.h:1306
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270

Referenced by init_dlist_pointers().

◆ gl_save_LoadMatrixf()

void gl_save_LoadMatrixf ( GLcontext ctx,
const GLfloat m 
)

Definition at line 1569 of file dlist.c.

1570 {
1571  Node *n = alloc_instruction( ctx, OPCODE_LOAD_MATRIX, 16 );
1572  if (n) {
1573  GLuint i;
1574  for (i=0;i<16;i++) {
1575  n[1+i].f = m[i];
1576  }
1577  }
1578  if (ctx->ExecuteFlag) {
1579  (*ctx->Exec.LoadMatrixf)( ctx, m );
1580  }
1581 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
const GLfloat * m
Definition: glext.h:10848
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
unsigned int GLuint
Definition: gl.h:159
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_LoadName()

void gl_save_LoadName ( GLcontext ctx,
GLuint  name 
)

Definition at line 1584 of file dlist.c.

1585 {
1586  Node *n = alloc_instruction( ctx, OPCODE_LOAD_NAME, 1 );
1587  if (n) {
1588  n[1].ui = name;
1589  }
1590  if (ctx->ExecuteFlag) {
1591  (*ctx->Exec.LoadName)( ctx, name );
1592  }
1593 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: name.c:38
Definition: dlist.c:348
GLuint const GLchar * name
Definition: glext.h:6031

Referenced by init_dlist_pointers().

◆ gl_save_LogicOp()

void gl_save_LogicOp ( GLcontext ctx,
GLenum  opcode 
)

Definition at line 1596 of file dlist.c.

1597 {
1598  Node *n = alloc_instruction( ctx, OPCODE_LOGIC_OP, 1 );
1599  if (n) {
1600  n[1].e = opcode;
1601  }
1602  if (ctx->ExecuteFlag) {
1603  (*ctx->Exec.LogicOp)( ctx, opcode );
1604  }
1605 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Map1f()

void gl_save_Map1f ( GLcontext ctx,
GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  stride,
GLint  order,
const GLfloat points,
GLboolean  retain 
)

Definition at line 1608 of file dlist.c.

1611 {
1612  Node *n = alloc_instruction( ctx, OPCODE_MAP1, 6 );
1613  if (n) {
1614  n[1].e = target;
1615  n[2].f = u1;
1616  n[3].f = u2;
1617  n[4].i = stride;
1618  n[5].i = order;
1619  n[6].data = (void *) points;
1620  }
1621  if (ctx->ExecuteFlag) {
1622  (*ctx->Exec.Map1f)( ctx, target, u1, u2, stride, order, points, GL_TRUE );
1623  }
1624 }
GLdouble GLdouble u2
Definition: glext.h:8308
GLuint GLdouble GLdouble GLint GLint order
Definition: glext.h:11194
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLdouble u1
Definition: glext.h:8308
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLsizei stride
Definition: glext.h:5848
GLsizei const GLfloat * points
Definition: glext.h:8112
struct gl_api_table Exec
Definition: types.h:1270
#define GL_TRUE
Definition: gl.h:174
GLenum target
Definition: glext.h:7315
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Map2f()

void gl_save_Map2f ( GLcontext ctx,
GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  ustride,
GLint  uorder,
GLfloat  v1,
GLfloat  v2,
GLint  vstride,
GLint  vorder,
const GLfloat points,
GLboolean  retain 
)

Definition at line 1627 of file dlist.c.

1631 {
1632  Node *n = alloc_instruction( ctx, OPCODE_MAP2, 10 );
1633  if (n) {
1634  n[1].e = target;
1635  n[2].f = u1;
1636  n[3].f = u2;
1637  n[4].f = v1;
1638  n[5].f = v2;
1639  n[6].i = ustride;
1640  n[7].i = vstride;
1641  n[8].i = uorder;
1642  n[9].i = vorder;
1643  n[10].data = (void *) points;
1644  }
1645  if (ctx->ExecuteFlag) {
1646  (*ctx->Exec.Map2f)( ctx, target,
1647  u1, u2, ustride, uorder,
1648  v1, v2, vstride, vorder, points, GL_TRUE );
1649  }
1650 }
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint vstride
Definition: glext.h:8308
GLdouble GLdouble GLint ustride
Definition: glext.h:8308
GLdouble GLdouble u2
Definition: glext.h:8308
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint vorder
Definition: glext.h:8308
GLdouble u1
Definition: glext.h:8308
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLdouble GLdouble GLint GLint uorder
Definition: glext.h:8308
GLsizei const GLfloat * points
Definition: glext.h:8112
struct gl_api_table Exec
Definition: types.h:1270
GLfloat GLfloat GLfloat v2
Definition: glext.h:6063
#define GL_TRUE
Definition: gl.h:174
GLenum target
Definition: glext.h:7315
GLfloat GLfloat v1
Definition: glext.h:6062
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_MapGrid1f()

void gl_save_MapGrid1f ( GLcontext ctx,
GLint  un,
GLfloat  u1,
GLfloat  u2 
)

Definition at line 1653 of file dlist.c.

1654 {
1655  Node *n = alloc_instruction( ctx, OPCODE_MAPGRID1, 3 );
1656  if (n) {
1657  n[1].i = un;
1658  n[2].f = u1;
1659  n[3].f = u2;
1660  }
1661  if (ctx->ExecuteFlag) {
1662  (*ctx->Exec.MapGrid1f)( ctx, un, u1, u2 );
1663  }
1664 }
GLdouble GLdouble u2
Definition: glext.h:8308
GLboolean ExecuteFlag
Definition: types.h:1306
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint un
Definition: glfuncs.h:236
GLdouble n
Definition: glext.h:7729
GLdouble u1
Definition: glext.h:8308
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_MapGrid2f()

void gl_save_MapGrid2f ( GLcontext ctx,
GLint  un,
GLfloat  u1,
GLfloat  u2,
GLint  vn,
GLfloat  v1,
GLfloat  v2 
)

Definition at line 1667 of file dlist.c.

1670 {
1671  Node *n = alloc_instruction( ctx, OPCODE_MAPGRID2, 6 );
1672  if (n) {
1673  n[1].i = un;
1674  n[2].f = u1;
1675  n[3].f = u2;
1676  n[4].i = vn;
1677  n[5].f = v1;
1678  n[6].f = v2;
1679  }
1680  if (ctx->ExecuteFlag) {
1681  (*ctx->Exec.MapGrid2f)( ctx, un, u1, u2, vn, v1, v2 );
1682  }
1683 }
GLdouble GLdouble u2
Definition: glext.h:8308
GLboolean ExecuteFlag
Definition: types.h:1306
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint un
Definition: glfuncs.h:236
GLdouble n
Definition: glext.h:7729
GLdouble u1
Definition: glext.h:8308
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLfloat GLfloat GLfloat v2
Definition: glext.h:6063
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint vn
Definition: glfuncs.h:238
GLfloat GLfloat v1
Definition: glext.h:6062
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Materialfv()

void gl_save_Materialfv ( GLcontext ctx,
GLenum  face,
GLenum  pname,
const GLfloat params 
)

Definition at line 1686 of file dlist.c.

1688 {
1689  Node *n = alloc_instruction( ctx, OPCODE_MATERIAL, 6 );
1690  if (n) {
1691  n[1].e = face;
1692  n[2].e = pname;
1693  n[3].f = params[0];
1694  n[4].f = params[1];
1695  n[5].f = params[2];
1696  n[6].f = params[3];
1697  }
1698  if (ctx->ExecuteFlag) {
1699  (*ctx->Exec.Materialfv)( ctx, face, pname, params );
1700  }
1701 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
WORD face[3]
Definition: mesh.c:4747
GLenum pname
Definition: glext.h:5645
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLenum const GLfloat * params
Definition: glext.h:5645
struct gl_api_table Exec
Definition: types.h:1270
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_MatrixMode()

void gl_save_MatrixMode ( GLcontext ctx,
GLenum  mode 
)

Definition at line 1704 of file dlist.c.

1705 {
1707  if (n) {
1708  n[1].e = mode;
1709  }
1710  if (ctx->ExecuteFlag) {
1711  (*ctx->Exec.MatrixMode)( ctx, mode );
1712  }
1713 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_MultMatrixf()

void gl_save_MultMatrixf ( GLcontext ctx,
const GLfloat m 
)

Definition at line 1716 of file dlist.c.

1717 {
1718  Node *n = alloc_instruction( ctx, OPCODE_MULT_MATRIX, 16 );
1719  if (n) {
1720  GLuint i;
1721  for (i=0;i<16;i++) {
1722  n[1+i].f = m[i];
1723  }
1724  }
1725  if (ctx->ExecuteFlag) {
1726  (*ctx->Exec.MultMatrixf)( ctx, m );
1727  }
1728 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
const GLfloat * m
Definition: glext.h:10848
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
unsigned int GLuint
Definition: gl.h:159
Definition: dlist.c:348

Referenced by gl_save_Rotatef(), and init_dlist_pointers().

◆ gl_save_NewList()

void gl_save_NewList ( GLcontext ctx,
GLuint  list,
GLenum  mode 
)

Definition at line 1731 of file dlist.c.

1732 {
1733  /* It's an error to call this function while building a display list */
1734  gl_error( ctx, GL_INVALID_OPERATION, "glNewList" );
1735 }
#define GL_INVALID_OPERATION
Definition: gl.h:696
void gl_error(GLcontext *ctx, GLenum error, const char *s)
Definition: context.c:1421

Referenced by init_dlist_pointers().

◆ gl_save_Normal3f()

void gl_save_Normal3f ( GLcontext ctx,
GLfloat  nx,
GLfloat  ny,
GLfloat  nz 
)

Definition at line 1752 of file dlist.c.

1753 {
1754  Node *n = alloc_instruction( ctx, OPCODE_NORMAL, 3 );
1755  if (n) {
1756  n[1].f = nx;
1757  n[2].f = ny;
1758  n[3].f = nz;
1759  }
1760  if (ctx->ExecuteFlag) {
1761  (*ctx->Exec.Normal3f)( ctx, nx, ny, nz );
1762  }
1763 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLfloat GLfloat nz
Definition: glext.h:8896
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLfloat GLfloat GLfloat GLfloat nx
Definition: glext.h:8898
GLfloat ny
Definition: glext.h:8896
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Normal3fv()

void gl_save_Normal3fv ( GLcontext ctx,
const GLfloat  n[3] 
)

Definition at line 1738 of file dlist.c.

1739 {
1740  Node *n = alloc_instruction( ctx, OPCODE_NORMAL, 3 );
1741  if (n) {
1742  n[1].f = norm[0];
1743  n[2].f = norm[1];
1744  n[3].f = norm[2];
1745  }
1746  if (ctx->ExecuteFlag) {
1747  (*ctx->Exec.Normal3fv)( ctx, norm );
1748  }
1749 }
GLboolean ExecuteFlag
Definition: types.h:1306
_Tp _STLP_CALL norm(const complex< _Tp > &__z)
Definition: _complex.h:741
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Ortho()

void gl_save_Ortho ( GLcontext ctx,
GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  nearval,
GLdouble  farval 
)

Definition at line 1766 of file dlist.c.

1769 {
1770  Node *n = alloc_instruction( ctx, OPCODE_ORTHO, 6 );
1771  if (n) {
1772  n[1].f = left;
1773  n[2].f = right;
1774  n[3].f = bottom;
1775  n[4].f = top;
1776  n[5].f = nearval;
1777  n[6].f = farval;
1778  }
1779  if (ctx->ExecuteFlag) {
1780  (*ctx->Exec.Ortho)( ctx, left, right, bottom, top, nearval, farval );
1781  }
1782 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLint GLint bottom
Definition: glext.h:7726
GLint left
Definition: glext.h:7726
GLdouble GLdouble right
Definition: glext.h:10859
struct gl_api_table Exec
Definition: types.h:1270
GLdouble GLdouble GLdouble GLdouble top
Definition: glext.h:10859
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PassThrough()

void gl_save_PassThrough ( GLcontext ctx,
GLfloat  token 
)

Definition at line 1975 of file dlist.c.

1976 {
1978  if (n) {
1979  n[1].f = token;
1980  }
1981  if (ctx->ExecuteFlag) {
1982  (*ctx->Exec.PassThrough)( ctx, token );
1983  }
1984 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat token
Definition: glfuncs.h:210
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PixelMapfv()

void gl_save_PixelMapfv ( GLcontext ctx,
GLenum  map,
GLint  mapsize,
const GLfloat values 
)

Definition at line 1785 of file dlist.c.

1787 {
1788  Node *n = alloc_instruction( ctx, OPCODE_PIXEL_MAP, 3 );
1789  if (n) {
1790  n[1].e = map;
1791  n[2].i = mapsize;
1792  n[3].data = (void *) malloc( mapsize * sizeof(GLfloat) );
1793  MEMCPY( n[3].data, (void *) values, mapsize * sizeof(GLfloat) );
1794  }
1795  if (ctx->ExecuteFlag) {
1796  (*ctx->Exec.PixelMapfv)( ctx, map, mapsize, values );
1797  }
1798 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLboolean GLenum GLenum GLvoid * values
Definition: glext.h:5666
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum GLenum GLint GLuint GLenum GLenum GLfloat GLenum GLfloat GLenum GLint mapsize
Definition: glfuncs.h:262
#define MEMCPY(DST, SRC, BYTES)
Definition: macros.h:231
Definition: _map.h:44
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
struct gl_api_table Exec
Definition: types.h:1270
float GLfloat
Definition: gl.h:161
#define malloc
Definition: debug_ros.c:4
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum GLenum GLint GLuint GLenum GLenum GLfloat GLenum GLfloat GLenum map
Definition: glfuncs.h:262
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PixelTransferf()

void gl_save_PixelTransferf ( GLcontext ctx,
GLenum  pname,
GLfloat  param 
)

Definition at line 1801 of file dlist.c.

1802 {
1804  if (n) {
1805  n[1].e = pname;
1806  n[2].f = param;
1807  }
1808  if (ctx->ExecuteFlag) {
1809  (*ctx->Exec.PixelTransferf)( ctx, pname, param );
1810  }
1811 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLenum pname
Definition: glext.h:5645
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLfloat param
Definition: glext.h:5796
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PixelZoom()

void gl_save_PixelZoom ( GLcontext ctx,
GLfloat  xfactor,
GLfloat  yfactor 
)

Definition at line 1814 of file dlist.c.

1815 {
1816  Node *n = alloc_instruction( ctx, OPCODE_PIXEL_ZOOM, 2 );
1817  if (n) {
1818  n[1].f = xfactor;
1819  n[2].f = yfactor;
1820  }
1821  if (ctx->ExecuteFlag) {
1822  (*ctx->Exec.PixelZoom)( ctx, xfactor, yfactor );
1823  }
1824 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PointSize()

void gl_save_PointSize ( GLcontext ctx,
GLfloat  size 
)

Definition at line 1827 of file dlist.c.

1828 {
1829  Node *n = alloc_instruction( ctx, OPCODE_POINT_SIZE, 1 );
1830  if (n) {
1831  n[1].f = size;
1832  }
1833  if (ctx->ExecuteFlag) {
1834  (*ctx->Exec.PointSize)( ctx, size );
1835  }
1836 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLsizeiptr size
Definition: glext.h:5919
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PolygonMode()

void gl_save_PolygonMode ( GLcontext ctx,
GLenum  face,
GLenum  mode 
)

Definition at line 1839 of file dlist.c.

1840 {
1842  if (n) {
1843  n[1].e = face;
1844  n[2].e = mode;
1845  }
1846  if (ctx->ExecuteFlag) {
1847  (*ctx->Exec.PolygonMode)( ctx, face, mode );
1848  }
1849 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
WORD face[3]
Definition: mesh.c:4747
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PolygonOffset()

void gl_save_PolygonOffset ( GLcontext ctx,
GLfloat  factor,
GLfloat  units 
)

Definition at line 1867 of file dlist.c.

1868 {
1870  if (n) {
1871  n[1].f = factor;
1872  n[2].f = units;
1873  }
1874  if (ctx->ExecuteFlag) {
1875  (*ctx->Exec.PolygonOffset)( ctx, factor, units );
1876  }
1877 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint factor
Definition: glfuncs.h:178
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLfloat units
Definition: glext.h:11727
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PolygonStipple()

void gl_save_PolygonStipple ( GLcontext ctx,
const GLubyte mask 
)

Definition at line 1852 of file dlist.c.

1853 {
1855  if (n) {
1856  void *data;
1857  n[1].data = malloc( 32 * 4 );
1858  data = n[1].data; /* This needed for Acorn compiler */
1859  MEMCPY( data, mask, 32 * 4 );
1860  }
1861  if (ctx->ExecuteFlag) {
1862  (*ctx->Exec.PolygonStipple)( ctx, mask );
1863  }
1864 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLenum GLint GLuint mask
Definition: glext.h:6028
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
#define MEMCPY(DST, SRC, BYTES)
Definition: macros.h:231
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
struct gl_api_table Exec
Definition: types.h:1270
#define malloc
Definition: debug_ros.c:4
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PopAttrib()

void gl_save_PopAttrib ( GLcontext ctx)

Definition at line 1880 of file dlist.c.

1881 {
1883  if (ctx->ExecuteFlag) {
1884  (*ctx->Exec.PopAttrib)( ctx );
1885  }
1886 }
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
GLboolean ExecuteFlag
Definition: types.h:1306
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270

Referenced by init_dlist_pointers().

◆ gl_save_PopMatrix()

void gl_save_PopMatrix ( GLcontext ctx)

Definition at line 1889 of file dlist.c.

1890 {
1892  if (ctx->ExecuteFlag) {
1893  (*ctx->Exec.PopMatrix)( ctx );
1894  }
1895 }
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
GLboolean ExecuteFlag
Definition: types.h:1306
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270

Referenced by init_dlist_pointers().

◆ gl_save_PopName()

void gl_save_PopName ( GLcontext ctx)

Definition at line 1898 of file dlist.c.

1899 {
1900  (void) alloc_instruction( ctx, OPCODE_POP_NAME, 0 );
1901  if (ctx->ExecuteFlag) {
1902  (*ctx->Exec.PopName)( ctx );
1903  }
1904 }
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
GLboolean ExecuteFlag
Definition: types.h:1306
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270

Referenced by init_dlist_pointers().

◆ gl_save_PrioritizeTextures()

void gl_save_PrioritizeTextures ( GLcontext ctx,
GLsizei  n,
const GLuint textures,
const GLclampf priorities 
)

Definition at line 1907 of file dlist.c.

1910 {
1911  GLint i;
1912 
1913  for (i=0;i<num;i++) {
1915  if (n) {
1916  n[1].ui = textures[i];
1917  n[2].f = priorities[i];
1918  }
1919  }
1920  if (ctx->ExecuteFlag) {
1921  (*ctx->Exec.PrioritizeTextures)( ctx, num, textures, priorities );
1922  }
1923 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
const GLuint * textures
Definition: glext.h:8098
const GLuint const GLclampf * priorities
Definition: glext.h:8103
GLuint GLuint num
Definition: glext.h:9618
struct gl_api_table Exec
Definition: types.h:1270
int GLint
Definition: gl.h:156
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PushAttrib()

void gl_save_PushAttrib ( GLcontext ctx,
GLbitfield  mask 
)

Definition at line 1926 of file dlist.c.

1927 {
1929  if (n) {
1930  n[1].bf = mask;
1931  }
1932  if (ctx->ExecuteFlag) {
1933  (*ctx->Exec.PushAttrib)( ctx, mask );
1934  }
1935 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLenum GLint GLuint mask
Definition: glext.h:6028
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_PushMatrix()

void gl_save_PushMatrix ( GLcontext ctx)

Definition at line 1938 of file dlist.c.

1939 {
1941  if (ctx->ExecuteFlag) {
1942  (*ctx->Exec.PushMatrix)( ctx );
1943  }
1944 }
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
GLboolean ExecuteFlag
Definition: types.h:1306
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270

Referenced by init_dlist_pointers().

◆ gl_save_PushName()

void gl_save_PushName ( GLcontext ctx,
GLuint  name 
)

Definition at line 1947 of file dlist.c.

1948 {
1949  Node *n = alloc_instruction( ctx, OPCODE_PUSH_NAME, 1 );
1950  if (n) {
1951  n[1].ui = name;
1952  }
1953  if (ctx->ExecuteFlag) {
1954  (*ctx->Exec.PushName)( ctx, name );
1955  }
1956 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
Definition: name.c:38
Definition: dlist.c:348
GLuint const GLchar * name
Definition: glext.h:6031

Referenced by init_dlist_pointers().

◆ gl_save_RasterPos4f()

void gl_save_RasterPos4f ( GLcontext ctx,
GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  w 
)

Definition at line 1959 of file dlist.c.

1961 {
1962  Node *n = alloc_instruction( ctx, OPCODE_RASTER_POS, 4 );
1963  if (n) {
1964  n[1].f = x;
1965  n[2].f = y;
1966  n[3].f = z;
1967  n[4].f = w;
1968  }
1969  if (ctx->ExecuteFlag) {
1970  (*ctx->Exec.RasterPos4f)( ctx, x, y, z, w );
1971  }
1972 }
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:6102
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
GLdouble GLdouble z
Definition: glext.h:5874
struct gl_api_table Exec
Definition: types.h:1270
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_ReadBuffer()

void gl_save_ReadBuffer ( GLcontext ctx,
GLenum  mode 
)

Definition at line 1987 of file dlist.c.

1988 {
1990  if (n) {
1991  n[1].e = mode;
1992  }
1993  if (ctx->ExecuteFlag) {
1994  (*ctx->Exec.ReadBuffer)( ctx, mode );
1995  }
1996 }
GLboolean ExecuteFlag
Definition: types.h:1306
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: types.h:1270
GLenum mode
Definition: glext.h:6217
Definition: dlist.c:348

Referenced by init_dlist_pointers().

◆ gl_save_Rectf()

void gl_save_Rectf ( GLcontext ctx,
GLfloat  x1,
GLfloat  y1,
GLfloat  x2,
GLfloat  y2 
)

Definition at line 1999 of file dlist.c.

2001 {
2002  Node *n = alloc_instruction( ctx, OPCODE_RECTF, 4 );
2003  if (n) {
2004  n[1].f = x1;
2005  n[2].f = y1;
2006  n[3].f = x2;
2007  n[4].f = y2;
2008  }
2009  if (ctx->ExecuteFlag) {
2010  (*ctx->Exec.Rectf)( ctx, x1, y1, x2, y2 );
2011  }
2012 }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
GLboolean ExecuteFlag
Definition: types.h:1306
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
GLdouble n
Definition: glext.h:7729
static Node * alloc_instruction(GLcontext *ctx, OpCode opcode, GLint argcount)
Definition: dlist.c:381
struct gl_api_table Exec
Definition: typ