#include "mtypes.h"
Defines | |
| #define | FEEDBACK_TOKEN(CTX, T) |
Functions | |
| void | _mesa_init_feedback (GLcontext *ctx) |
| Initialize context feedback data. More... | |
| void | _mesa_feedback_vertex (GLcontext *ctx, const GLfloat win[4], const GLfloat color[4], GLfloat index, const GLfloat texcoord[4]) |
| void | _mesa_update_hitflag (GLcontext *ctx, GLfloat z) |
| Update the hit flag and the maximum and minimum depth values. More... | |
| void GLAPIENTRY | _mesa_PassThrough (GLfloat token) |
| void GLAPIENTRY | _mesa_FeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer) |
| void GLAPIENTRY | _mesa_SelectBuffer (GLsizei size, GLuint *buffer) |
| Establish a buffer for selection mode values. More... | |
| void GLAPIENTRY | _mesa_InitNames (void) |
| Initialize the name stack. More... | |
| void GLAPIENTRY | _mesa_LoadName (GLuint name) |
| Load the top-most name of the name stack. More... | |
| void GLAPIENTRY | _mesa_PushName (GLuint name) |
| Push a name into the name stack. More... | |
| void GLAPIENTRY | _mesa_PopName (void) |
| Pop a name into the name stack. More... | |
| GLint GLAPIENTRY | _mesa_RenderMode (GLenum mode) |
| Set rasterization mode. More... | |
|
|
Value: if (CTX->Feedback.Count < CTX->Feedback.BufferSize) { \
CTX->Feedback.Buffer[CTX->Feedback.Count] = (GLfloat) (T); \
} \
CTX->Feedback.Count++; |
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Initialize context feedback data.
|
|
|
Initialize the name stack. Verifies we are in select mode and resets the name stack depth and resets the hit record data in gl_selection. Marks new render mode in __GLcontextRec::NewState. |
|
|
Load the top-most name of the name stack.
|
|
|
|
|
|
Pop a name into the name stack. Verifies we are in selection mode and that the name stack is not empty. Flushes vertices. If there is a hit flag writes it (via write_hit_record()), and removes top-most name in the name stack. |
|
|
Push a name into the name stack.
|
|
|
Set rasterization mode.
|
|
||||||||||||
|
Establish a buffer for selection mode values.
|
|
||||||||||||
|
Update the hit flag and the maximum and minimum depth values.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001