|
Navigation
- Home
- Community
- Development
- myReactOS
- Fundraiser 2012
Doxygen
- Main Page
- Alphabetical List
- Data Structures
- Directories
- File List
- Data Fields
- Globals
- Related Pages
Search
|
dd_function_table Struct Reference
#include <dd.h>
Data Fields |
| const GLubyte *(* | GetString )(GLcontext *ctx, GLenum name) |
| void(* | UpdateState )(GLcontext *ctx, GLbitfield new_state) |
| void(* | GetBufferSize )(GLframebuffer *buffer, GLuint *width, GLuint *height) |
| void(* | ResizeBuffers )(GLcontext *ctx, GLframebuffer *fb, GLuint width, GLuint height) |
| void(* | Error )(GLcontext *ctx) |
| void(* | Finish )(GLcontext *ctx) |
| void(* | Flush )(GLcontext *ctx) |
| void(* | Clear )(GLcontext *ctx, GLbitfield buffers) |
| void(* | Accum )(GLcontext *ctx, GLenum op, GLfloat value) |
| void(* | RasterPos )(GLcontext *ctx, const GLfloat v[4]) |
|
|
| void(* | DrawPixels )(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) |
| void(* | ReadPixels )(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, GLvoid *dest) |
| void(* | CopyPixels )(GLcontext *ctx, GLint srcx, GLint srcy, GLsizei width, GLsizei height, GLint dstx, GLint dsty, GLenum type) |
| void(* | Bitmap )(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap) |
|
|
| struct gl_texture_format *(* | ChooseTextureFormat )(GLcontext *ctx, GLint internalFormat, GLenum srcFormat, GLenum srcType) |
| void(* | TexImage1D )(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | TexImage2D )(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | TexImage3D )(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | TexSubImage1D )(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | TexSubImage2D )(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | TexSubImage3D )(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | GetTexImage )(GLcontext *ctx, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | CopyTexImage1D )(GLcontext *ctx, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border) |
| void(* | CopyTexImage2D )(GLcontext *ctx, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| void(* | CopyTexSubImage1D )(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
| void(* | CopyTexSubImage2D )(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| void(* | CopyTexSubImage3D )(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| void(* | GenerateMipmap )(GLcontext *ctx, GLenum target, struct gl_texture_object *texObj) |
| GLboolean(* | TestProxyTexImage )(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border) |
|
|
| void(* | CompressedTexImage1D )(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | CompressedTexImage2D )(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | CompressedTexImage3D )(GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | CompressedTexSubImage1D )(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | CompressedTexSubImage2D )(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLint height, GLenum format, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | CompressedTexSubImage3D )(GLcontext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLint height, GLint depth, GLenum format, GLsizei imageSize, const GLvoid *data, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| void(* | GetCompressedTexImage )(GLcontext *ctx, GLenum target, GLint level, GLvoid *img, struct gl_texture_object *texObj, struct gl_texture_image *texImage) |
| GLuint(* | CompressedTextureSize )(GLcontext *ctx, GLsizei width, GLsizei height, GLsizei depth, GLenum format) |
|
|
| void(* | BindTexture )(GLcontext *ctx, GLenum target, struct gl_texture_object *tObj) |
| struct gl_texture_object *(* | NewTextureObject )(GLcontext *ctx, GLuint name, GLenum target) |
| void(* | DeleteTexture )(GLcontext *ctx, struct gl_texture_object *tObj) |
| struct gl_texture_image *(* | NewTextureImage )(GLcontext *ctx) |
| void(* | FreeTexImageData )(GLcontext *ctx, struct gl_texture_image *tImage) |
| void(* | MapTexture )(GLcontext *ctx, struct gl_texture_object *tObj) |
| void(* | UnmapTexture )(GLcontext *ctx, struct gl_texture_object *tObj) |
| void *(* | TextureMemCpy )(void *to, const void *from, size_t sz) |
| GLboolean(* | IsTextureResident )(GLcontext *ctx, struct gl_texture_object *t) |
| void(* | PrioritizeTexture )(GLcontext *ctx, struct gl_texture_object *t, GLclampf priority) |
| void(* | ActiveTexture )(GLcontext *ctx, GLuint texUnitNumber) |
| void(* | UpdateTexturePalette )(GLcontext *ctx, struct gl_texture_object *tObj) |
|
|
| void(* | CopyColorTable )(GLcontext *ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| void(* | CopyColorSubTable )(GLcontext *ctx, GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) |
| void(* | CopyConvolutionFilter1D )(GLcontext *ctx, GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width) |
| void(* | CopyConvolutionFilter2D )(GLcontext *ctx, GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height) |
|
|
| void(* | BindProgram )(GLcontext *ctx, GLenum target, struct gl_program *prog) |
| struct gl_program *(* | NewProgram )(GLcontext *ctx, GLenum target, GLuint id) |
| void(* | DeleteProgram )(GLcontext *ctx, struct gl_program *prog) |
| void(* | ProgramStringNotify )(GLcontext *ctx, GLenum target, struct gl_program *prog) |
| void(* | GetProgramRegister )(GLcontext *ctx, enum register_file file, GLuint index, GLfloat val[4]) |
| GLboolean(* | IsProgramNative )(GLcontext *ctx, GLenum target, struct gl_program *prog) |
|
- Note:
- drawing functions are above.
These functions are called by their corresponding OpenGL API functions. They are also called by the gl_PopAttrib() function!!! May add more functions like these to the device driver in the future.
|
| void(* | AlphaFunc )(GLcontext *ctx, GLenum func, GLfloat ref) |
| void(* | BlendColor )(GLcontext *ctx, const GLfloat color[4]) |
| void(* | BlendEquationSeparate )(GLcontext *ctx, GLenum modeRGB, GLenum modeA) |
| void(* | BlendFuncSeparate )(GLcontext *ctx, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorA, GLenum dfactorA) |
| void(* | ClearColor )(GLcontext *ctx, const GLfloat color[4]) |
| void(* | ClearDepth )(GLcontext *ctx, GLclampd d) |
| void(* | ClearIndex )(GLcontext *ctx, GLuint index) |
| void(* | ClearStencil )(GLcontext *ctx, GLint s) |
| void(* | ClipPlane )(GLcontext *ctx, GLenum plane, const GLfloat *equation) |
| void(* | ColorMask )(GLcontext *ctx, GLboolean rmask, GLboolean gmask, GLboolean bmask, GLboolean amask) |
| void(* | ColorMaterial )(GLcontext *ctx, GLenum face, GLenum mode) |
| void(* | CullFace )(GLcontext *ctx, GLenum mode) |
| void(* | FrontFace )(GLcontext *ctx, GLenum mode) |
| void(* | DepthFunc )(GLcontext *ctx, GLenum func) |
| void(* | DepthMask )(GLcontext *ctx, GLboolean flag) |
| void(* | DepthRange )(GLcontext *ctx, GLclampd nearval, GLclampd farval) |
| void(* | DrawBuffer )(GLcontext *ctx, GLenum buffer) |
| void(* | DrawBuffers )(GLcontext *ctx, GLsizei n, const GLenum *buffers) |
| void(* | Enable )(GLcontext *ctx, GLenum cap, GLboolean state) |
| void(* | Fogfv )(GLcontext *ctx, GLenum pname, const GLfloat *params) |
| void(* | Hint )(GLcontext *ctx, GLenum target, GLenum mode) |
| void(* | IndexMask )(GLcontext *ctx, GLuint mask) |
| void(* | Lightfv )(GLcontext *ctx, GLenum light, GLenum pname, const GLfloat *params) |
| void(* | LightModelfv )(GLcontext *ctx, GLenum pname, const GLfloat *params) |
| void(* | LineStipple )(GLcontext *ctx, GLint factor, GLushort pattern) |
| void(* | LineWidth )(GLcontext *ctx, GLfloat width) |
| void(* | LogicOpcode )(GLcontext *ctx, GLenum opcode) |
| void(* | PointParameterfv )(GLcontext *ctx, GLenum pname, const GLfloat *params) |
| void(* | PointSize )(GLcontext *ctx, GLfloat size) |
| void(* | PolygonMode )(GLcontext *ctx, GLenum face, GLenum mode) |
| void(* | PolygonOffset )(GLcontext *ctx, GLfloat factor, GLfloat units) |
| void(* | PolygonStipple )(GLcontext *ctx, const GLubyte *mask) |
| void(* | ReadBuffer )(GLcontext *ctx, GLenum buffer) |
| void(* | RenderMode )(GLcontext *ctx, GLenum mode) |
| void(* | Scissor )(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h) |
| void(* | ShadeModel )(GLcontext *ctx, GLenum mode) |
| void(* | StencilFuncSeparate )(GLcontext *ctx, GLenum face, GLenum func, GLint ref, GLuint mask) |
| void(* | StencilMaskSeparate )(GLcontext *ctx, GLenum face, GLuint mask) |
| void(* | StencilOpSeparate )(GLcontext *ctx, GLenum face, GLenum fail, GLenum zfail, GLenum zpass) |
| void(* | TexGen )(GLcontext *ctx, GLenum coord, GLenum pname, const GLfloat *params) |
| void(* | TexEnv )(GLcontext *ctx, GLenum target, GLenum pname, const GLfloat *param) |
| void(* | TexParameter )(GLcontext *ctx, GLenum target, struct gl_texture_object *texObj, GLenum pname, const GLfloat *params) |
| void(* | TextureMatrix )(GLcontext *ctx, GLuint unit, const GLmatrix *mat) |
| void(* | Viewport )(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h) |
|
Called by the corresponding OpenGL functions.
|
| void(* | VertexPointer )(GLcontext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
| void(* | NormalPointer )(GLcontext *ctx, GLenum type, GLsizei stride, const GLvoid *ptr) |
| void(* | ColorPointer )(GLcontext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
| void(* | FogCoordPointer )(GLcontext *ctx, GLenum type, GLsizei stride, const GLvoid *ptr) |
| void(* | IndexPointer )(GLcontext *ctx, GLenum type, GLsizei stride, const GLvoid *ptr) |
| void(* | SecondaryColorPointer )(GLcontext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
| void(* | TexCoordPointer )(GLcontext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
| void(* | EdgeFlagPointer )(GLcontext *ctx, GLsizei stride, const GLvoid *ptr) |
| void(* | VertexAttribPointer )(GLcontext *ctx, GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
| void(* | LockArraysEXT )(GLcontext *ctx, GLint first, GLsizei count) |
| void(* | UnlockArraysEXT )(GLcontext *ctx) |
|
Return GL_TRUE if query was completed, GL_FALSE otherwise.
|
| GLboolean(* | GetBooleanv )(GLcontext *ctx, GLenum pname, GLboolean *result) |
| GLboolean(* | GetDoublev )(GLcontext *ctx, GLenum pname, GLdouble *result) |
| GLboolean(* | GetFloatv )(GLcontext *ctx, GLenum pname, GLfloat *result) |
| GLboolean(* | GetIntegerv )(GLcontext *ctx, GLenum pname, GLint *result) |
| GLboolean(* | GetPointerv )(GLcontext *ctx, GLenum pname, GLvoid **result) |
|
|
| struct gl_query_object *(* | NewQueryObject )(GLcontext *ctx, GLuint id) |
| void(* | DeleteQuery )(GLcontext *ctx, struct gl_query_object *q) |
| void(* | BeginQuery )(GLcontext *ctx, struct gl_query_object *q) |
| void(* | EndQuery )(GLcontext *ctx, struct gl_query_object *q) |
| void(* | CheckQuery )(GLcontext *ctx, struct gl_query_object *q) |
| void(* | WaitQuery )(GLcontext *ctx, struct gl_query_object *q) |
|
|
| struct gl_array_object *(* | NewArrayObject )(GLcontext *ctx, GLuint id) |
| void(* | DeleteArrayObject )(GLcontext *ctx, struct gl_array_object *obj) |
| void(* | BindArrayObject )(GLcontext *ctx, struct gl_array_object *obj) |
|
|
| void(* | AttachShader )(GLcontext *ctx, GLuint program, GLuint shader) |
| void(* | BindAttribLocation )(GLcontext *ctx, GLuint program, GLuint index, const GLcharARB *name) |
| void(* | CompileShader )(GLcontext *ctx, GLuint shader) |
| GLuint(* | CreateShader )(GLcontext *ctx, GLenum type) |
| GLuint(* | CreateProgram )(GLcontext *ctx) |
| void(* | DeleteProgram2 )(GLcontext *ctx, GLuint program) |
| void(* | DeleteShader )(GLcontext *ctx, GLuint shader) |
| void(* | DetachShader )(GLcontext *ctx, GLuint program, GLuint shader) |
| void(* | GetActiveAttrib )(GLcontext *ctx, GLuint program, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name) |
| void(* | GetActiveUniform )(GLcontext *ctx, GLuint program, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name) |
| void(* | GetAttachedShaders )(GLcontext *ctx, GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) |
| GLint(* | GetAttribLocation )(GLcontext *ctx, GLuint program, const GLcharARB *name) |
| GLuint(* | GetHandle )(GLcontext *ctx, GLenum pname) |
| void(* | GetProgramiv )(GLcontext *ctx, GLuint program, GLenum pname, GLint *params) |
| void(* | GetProgramInfoLog )(GLcontext *ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| void(* | GetShaderiv )(GLcontext *ctx, GLuint shader, GLenum pname, GLint *params) |
| void(* | GetShaderInfoLog )(GLcontext *ctx, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| void(* | GetShaderSource )(GLcontext *ctx, GLuint shader, GLsizei maxLength, GLsizei *length, GLcharARB *sourceOut) |
| void(* | GetUniformfv )(GLcontext *ctx, GLuint program, GLint location, GLfloat *params) |
| void(* | GetUniformiv )(GLcontext *ctx, GLuint program, GLint location, GLint *params) |
| GLint(* | GetUniformLocation )(GLcontext *ctx, GLuint program, const GLcharARB *name) |
| GLboolean(* | IsProgram )(GLcontext *ctx, GLuint name) |
| GLboolean(* | IsShader )(GLcontext *ctx, GLuint name) |
| void(* | LinkProgram )(GLcontext *ctx, GLuint program) |
| void(* | ShaderSource )(GLcontext *ctx, GLuint shader, const GLchar *source) |
| void(* | Uniform )(GLcontext *ctx, GLint location, GLsizei count, const GLvoid *values, GLenum type) |
| void(* | UniformMatrix )(GLcontext *ctx, GLint cols, GLint rows, GLenum matrixType, GLint location, GLsizei count, GLboolean transpose, const GLfloat *values) |
| void(* | UseProgram )(GLcontext *ctx, GLuint program) |
| void(* | ValidateProgram )(GLcontext *ctx, GLuint program) |
|
|
| GLuint | NeedValidate |
| void(* | ValidateTnlModule )(GLcontext *ctx, GLuint new_state) |
| GLuint | CurrentExecPrimitive |
| GLuint | CurrentSavePrimitive |
| GLuint | NeedFlush |
| GLuint | SaveNeedFlush |
| void(* | FlushVertices )(GLcontext *ctx, GLuint flags) |
| void(* | SaveFlushVertices )(GLcontext *ctx) |
| GLboolean(* | NotifySaveBegin )(GLcontext *ctx, GLenum mode) |
| void(* | LightingSpaceChange )(GLcontext *ctx) |
| void(* | NewList )(GLcontext *ctx, GLuint list, GLenum mode) |
| void(* | EndList )(GLcontext *ctx) |
| void(* | BeginCallList )(GLcontext *ctx, struct mesa_display_list *dlist) |
| void(* | EndCallList )(GLcontext *ctx) |
Detailed Description
Device driver function table. Core Mesa uses these function pointers to call into device drivers. Most of these functions directly correspond to OpenGL state commands. Core Mesa will call these functions after error checking has been done so that the drivers don't have to worry about error testing.
Vertex transformation/clipping/lighting is patched into the T&L module. Rasterization functions are patched into the swrast module.
Note: when new functions are added here, the drivers/common/driverfuncs.c file should be updated too!!!
Definition at line 52 of file dd.h.
The documentation for this struct was generated from the following file:
- dll/3rdparty/mesa32/src/main/dd.h
Generated on Tue May 15 06:25:57 2012 for ReactOS by
1.6.3
|