#include "main/config.h"
Data Structures | |
| struct | gl_program_machine |
| Virtual machine state used during execution of vertex/fragment programs. More... | |
Typedefs | |
| typedef void(* | FetchTexelLodFunc )(GLcontext *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4]) |
| typedef void(* | FetchTexelDerivFunc )(GLcontext *ctx, const GLfloat texcoord[4], const GLfloat texdx[4], const GLfloat texdy[4], GLfloat lodBias, GLuint unit, GLfloat color[4]) |
Functions | |
| void | _mesa_get_program_register (GLcontext *ctx, gl_register_file file, GLuint index, GLfloat val[4]) |
| GLboolean | _mesa_execute_program (GLcontext *ctx, const struct gl_program *program, struct gl_program_machine *machine) |
| Execute the given vertex/fragment program. | |
| typedef void(* FetchTexelDerivFunc)(GLcontext *ctx, const GLfloat texcoord[4], const GLfloat texdx[4], const GLfloat texdy[4], GLfloat lodBias, GLuint unit, GLfloat color[4]) |
| typedef void(* FetchTexelLodFunc)(GLcontext *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4]) |
| GLboolean _mesa_execute_program | ( | GLcontext * | ctx, | |
| const struct gl_program * | program, | |||
| struct gl_program_machine * | machine | |||
| ) |
Execute the given vertex/fragment program.
| ctx | rendering context | |
| program | the program to execute | |
| machine | machine state (must be initialized) |
| void _mesa_get_program_register | ( | GLcontext * | ctx, | |
| gl_register_file | file, | |||
| GLuint | index, | |||
| GLfloat | val[4] | |||
| ) |
1.5.4