ReactOS 0.4.16-dev-297-gc569aee
|
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "accum.h"
#include "alpha.h"
#include "attrib.h"
#include "bitmap.h"
#include "blend.h"
#include "clip.h"
#include "colortab.h"
#include "context.h"
#include "copypix.h"
#include "depth.h"
#include "drawpix.h"
#include "enable.h"
#include "eval.h"
#include "feedback.h"
#include "fog.h"
#include "hash.h"
#include "image.h"
#include "light.h"
#include "lines.h"
#include "dlist.h"
#include "logic.h"
#include "macros.h"
#include "masking.h"
#include "matrix.h"
#include "misc.h"
#include "pixel.h"
#include "points.h"
#include "polygon.h"
#include "rastpos.h"
#include "rect.h"
#include "scissor.h"
#include "stencil.h"
#include "texobj.h"
#include "teximage.h"
#include "texstate.h"
#include "types.h"
#include "vb.h"
#include "vbfill.h"
Go to the source code of this file.
Classes | |
struct | node |
Macros | |
#define | BLOCK_SIZE 500 |
Variables | |
static GLuint | InstSize [OPCODE_END_OF_LIST+1] |
Definition at line 229 of file dlist.c.
Definition at line 381 of file dlist.c.
Referenced by gl_EndList(), gl_save_Accum(), gl_save_AlphaFunc(), gl_save_Begin(), gl_save_BindTexture(), gl_save_Bitmap(), gl_save_BlendFunc(), gl_save_CallList(), gl_save_CallLists(), gl_save_Clear(), gl_save_ClearAccum(), gl_save_ClearColor(), gl_save_ClearDepth(), gl_save_ClearIndex(), gl_save_ClearStencil(), gl_save_ClipPlane(), gl_save_Color3f(), gl_save_Color3fv(), gl_save_Color4f(), gl_save_Color4fv(), gl_save_Color4ub(), gl_save_Color4ubv(), gl_save_ColorMask(), gl_save_ColorMaterial(), gl_save_ColorSubTable(), gl_save_ColorTable(), gl_save_CopyPixels(), gl_save_CopyTexImage1D(), gl_save_CopyTexImage2D(), gl_save_CopyTexSubImage1D(), gl_save_CopyTexSubImage2D(), gl_save_CullFace(), gl_save_DepthFunc(), gl_save_DepthMask(), gl_save_DepthRange(), gl_save_Disable(), gl_save_DrawBuffer(), gl_save_DrawPixels(), gl_save_EdgeFlag(), gl_save_Enable(), gl_save_End(), gl_save_EvalCoord1f(), gl_save_EvalCoord2f(), gl_save_EvalMesh1(), gl_save_EvalMesh2(), gl_save_EvalPoint1(), gl_save_EvalPoint2(), gl_save_Fogfv(), gl_save_FrontFace(), gl_save_Frustum(), gl_save_Hint(), gl_save_Indexf(), gl_save_Indexi(), gl_save_IndexMask(), gl_save_InitNames(), gl_save_Lightfv(), gl_save_LightModelfv(), gl_save_LineStipple(), gl_save_LineWidth(), gl_save_ListBase(), gl_save_LoadIdentity(), gl_save_LoadMatrixf(), gl_save_LoadName(), gl_save_LogicOp(), gl_save_Map1f(), gl_save_Map2f(), gl_save_MapGrid1f(), gl_save_MapGrid2f(), gl_save_Materialfv(), gl_save_MatrixMode(), gl_save_MultMatrixf(), gl_save_Normal3f(), gl_save_Normal3fv(), gl_save_Ortho(), gl_save_PassThrough(), gl_save_PixelMapfv(), gl_save_PixelTransferf(), gl_save_PixelZoom(), gl_save_PointSize(), gl_save_PolygonMode(), gl_save_PolygonOffset(), gl_save_PolygonStipple(), gl_save_PopAttrib(), gl_save_PopMatrix(), gl_save_PopName(), gl_save_PrioritizeTextures(), gl_save_PushAttrib(), gl_save_PushMatrix(), gl_save_PushName(), gl_save_RasterPos4f(), gl_save_ReadBuffer(), gl_save_Rectf(), gl_save_Scalef(), gl_save_Scissor(), gl_save_ShadeModel(), gl_save_StencilFunc(), gl_save_StencilMask(), gl_save_StencilOp(), gl_save_TexCoord2f(), gl_save_TexCoord4f(), gl_save_TexEnvfv(), gl_save_TexGenfv(), gl_save_TexImage1D(), gl_save_TexImage2D(), gl_save_TexParameterfv(), gl_save_TexSubImage1D(), gl_save_TexSubImage2D(), gl_save_Translatef(), gl_save_Vertex2f(), gl_save_Vertex3f(), gl_save_Vertex3fv(), gl_save_Vertex4f(), and gl_save_Viewport().
Definition at line 2397 of file dlist.c.
Referenced by execute_list(), gl_CallList(), and gl_CallLists().
Definition at line 3048 of file dlist.c.
Referenced by init_exec_pointers().
Definition at line 3064 of file dlist.c.
Referenced by init_exec_pointers().
Definition at line 2923 of file dlist.c.
Referenced by init_dlist_pointers(), and init_exec_pointers().
Definition at line 429 of file dlist.c.
Referenced by free_shared_state(), gl_DeleteLists(), and gl_EndList().
Definition at line 3020 of file dlist.c.
Referenced by init_dlist_pointers(), and init_exec_pointers().
Definition at line 2946 of file dlist.c.
Referenced by init_dlist_pointers(), and init_exec_pointers().
Definition at line 573 of file dlist.c.
Referenced by gl_create_context().
Definition at line 2908 of file dlist.c.
Referenced by execute_list(), init_dlist_pointers(), and init_exec_pointers().
Definition at line 3089 of file dlist.c.
Referenced by execute_list(), and init_exec_pointers().
Definition at line 2978 of file dlist.c.
Referenced by init_exec_pointers().
Definition at line 696 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 722 of file dlist.c.
Referenced by gl_save_DrawArrays(), gl_save_DrawElements(), and init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
Definition at line 770 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 795 of file dlist.c.
Referenced by init_dlist_pointers().
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 | ||
) |
Definition at line 893 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_ColorMask | ( | GLcontext * | ctx, |
GLboolean | red, | ||
GLboolean | green, | ||
GLboolean | blue, | ||
GLboolean | alpha | ||
) |
Definition at line 999 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1015 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_ColorSubTable | ( | GLcontext * | ctx, |
GLenum | target, | ||
GLsizei | start, | ||
struct gl_image * | data | ||
) |
Definition at line 1047 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_ColorTable | ( | GLcontext * | ctx, |
GLenum | target, | ||
GLenum | internalFormat, | ||
struct gl_image * | table | ||
) |
Definition at line 1028 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_CopyPixels | ( | GLcontext * | ctx, |
GLint | x, | ||
GLint | y, | ||
GLsizei | width, | ||
GLsizei | height, | ||
GLenum | type | ||
) |
Definition at line 1067 of file dlist.c.
Referenced by init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
Definition at line 1176 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1188 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1200 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1212 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1225 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1237 of file dlist.c.
Referenced by init_dlist_pointers().
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.
Referenced by gl_DrawPixels().
Definition at line 1268 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1280 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1292 of file dlist.c.
Referenced by gl_save_DrawArrays(), gl_save_DrawElements(), and init_dlist_pointers().
Definition at line 1301 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1313 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1326 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1358 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1370 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1383 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1399 of file dlist.c.
Referenced by init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
Definition at line 1455 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1443 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1467 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_Lightfv | ( | GLcontext * | ctx, |
GLenum | light, | ||
GLenum | pname, | ||
const GLfloat * | params, | ||
GLint | numparams | ||
) |
Definition at line 1488 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1506 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1523 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1536 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1548 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1569 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1596 of file dlist.c.
Referenced by init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
Definition at line 1653 of file dlist.c.
Referenced by init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
Definition at line 1686 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1704 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1716 of file dlist.c.
Referenced by gl_save_Rotatef(), and init_dlist_pointers().
Definition at line 1731 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1752 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1738 of file dlist.c.
Referenced by init_dlist_pointers().
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.
Referenced by init_dlist_pointers().
Definition at line 1975 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1785 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1801 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1814 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1827 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1839 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1867 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1852 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_PrioritizeTextures | ( | GLcontext * | ctx, |
GLsizei | num, | ||
const GLuint * | textures, | ||
const GLclampf * | priorities | ||
) |
Definition at line 1907 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_PushAttrib | ( | GLcontext * | ctx, |
GLbitfield | mask | ||
) |
Definition at line 1926 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1947 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1959 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1987 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 1999 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2015 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2038 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2054 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2066 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2080 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2107 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2120 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2136 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2154 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_TexImage1D | ( | GLcontext * | ctx, |
GLenum | target, | ||
GLint | level, | ||
GLint | components, | ||
GLsizei | width, | ||
GLint | border, | ||
GLenum | format, | ||
GLenum | type, | ||
struct gl_image * | teximage | ||
) |
Definition at line 2190 of file dlist.c.
Referenced by init_dlist_pointers().
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 | ||
) |
Definition at line 2218 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_TexParameterfv | ( | GLcontext * | ctx, |
GLenum | target, | ||
GLenum | pname, | ||
const GLfloat * | params | ||
) |
Definition at line 2172 of file dlist.c.
Referenced by init_dlist_pointers().
void gl_save_TexSubImage1D | ( | GLcontext * | ctx, |
GLenum | target, | ||
GLint | level, | ||
GLint | xoffset, | ||
GLsizei | width, | ||
GLenum | format, | ||
GLenum | type, | ||
struct gl_image * | image | ||
) |
Definition at line 2247 of file dlist.c.
Referenced by init_dlist_pointers().
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 | ||
) |
Definition at line 2271 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2299 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2326 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2356 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2340 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 2370 of file dlist.c.
Referenced by init_dlist_pointers().
Definition at line 515 of file dlist.c.
Referenced by gl_CallLists(), and gl_save_CallLists().
|
static |
Definition at line 366 of file dlist.c.
Referenced by alloc_instruction(), execute_list(), gl_destroy_list(), and gl_init_lists().