Lines Matching refs:Feedback
69 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer()
75 ctx->Feedback._Mask = 0; in _mesa_FeedbackBuffer()
78 ctx->Feedback._Mask = FB_3D; in _mesa_FeedbackBuffer()
81 ctx->Feedback._Mask = (FB_3D | FB_COLOR); in _mesa_FeedbackBuffer()
84 ctx->Feedback._Mask = (FB_3D | FB_COLOR | FB_TEXTURE); in _mesa_FeedbackBuffer()
87 ctx->Feedback._Mask = (FB_3D | FB_4D | FB_COLOR | FB_TEXTURE); in _mesa_FeedbackBuffer()
95 ctx->Feedback.Type = type; in _mesa_FeedbackBuffer()
96 ctx->Feedback.BufferSize = size; in _mesa_FeedbackBuffer()
97 ctx->Feedback.Buffer = buffer; in _mesa_FeedbackBuffer()
98 ctx->Feedback.Count = 0; /* Becaues of this. */ in _mesa_FeedbackBuffer()
127 if (ctx->Feedback._Mask & FB_3D) { in _mesa_feedback_vertex()
130 if (ctx->Feedback._Mask & FB_4D) { in _mesa_feedback_vertex()
133 if (ctx->Feedback._Mask & FB_COLOR) { in _mesa_feedback_vertex()
139 if (ctx->Feedback._Mask & FB_TEXTURE) { in _mesa_feedback_vertex()
457 if (ctx->Feedback.Count > ctx->Feedback.BufferSize) { in _mesa_RenderMode()
462 result = ctx->Feedback.Count; in _mesa_RenderMode()
464 ctx->Feedback.Count = 0; in _mesa_RenderMode()
483 if (ctx->Feedback.BufferSize==0) { in _mesa_RenderMode()
531 ctx->Feedback.Type = GL_2D; /* TODO: verify */ in _mesa_init_feedback()
532 ctx->Feedback.Buffer = NULL; in _mesa_init_feedback()
533 ctx->Feedback.BufferSize = 0; in _mesa_init_feedback()
534 ctx->Feedback.Count = 0; in _mesa_init_feedback()