Lines Matching refs:Feedback
63 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer()
69 ctx->Feedback._Mask = 0; in _mesa_FeedbackBuffer()
72 ctx->Feedback._Mask = FB_3D; in _mesa_FeedbackBuffer()
75 ctx->Feedback._Mask = (FB_3D | FB_COLOR); in _mesa_FeedbackBuffer()
78 ctx->Feedback._Mask = (FB_3D | FB_COLOR | FB_TEXTURE); in _mesa_FeedbackBuffer()
81 ctx->Feedback._Mask = (FB_3D | FB_4D | FB_COLOR | FB_TEXTURE); in _mesa_FeedbackBuffer()
89 ctx->Feedback.Type = type; in _mesa_FeedbackBuffer()
90 ctx->Feedback.BufferSize = size; in _mesa_FeedbackBuffer()
91 ctx->Feedback.Buffer = buffer; in _mesa_FeedbackBuffer()
92 ctx->Feedback.Count = 0; /* Because of this. */ in _mesa_FeedbackBuffer()
120 if (ctx->Feedback._Mask & FB_3D) { in _mesa_feedback_vertex()
123 if (ctx->Feedback._Mask & FB_4D) { in _mesa_feedback_vertex()
126 if (ctx->Feedback._Mask & FB_COLOR) { in _mesa_feedback_vertex()
132 if (ctx->Feedback._Mask & FB_TEXTURE) { in _mesa_feedback_vertex()
445 if (ctx->Feedback.Count > ctx->Feedback.BufferSize) { in _mesa_RenderMode()
450 result = ctx->Feedback.Count; in _mesa_RenderMode()
452 ctx->Feedback.Count = 0; in _mesa_RenderMode()
469 if (ctx->Feedback.BufferSize==0) { in _mesa_RenderMode()
499 ctx->Feedback.Type = GL_2D; /* TODO: verify */ in _mesa_init_feedback()
500 ctx->Feedback.Buffer = NULL; in _mesa_init_feedback()
501 ctx->Feedback.BufferSize = 0; in _mesa_init_feedback()
502 ctx->Feedback.Count = 0; in _mesa_init_feedback()