Lines Matching refs:Feedback
62 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer()
68 ctx->Feedback._Mask = 0; in _mesa_FeedbackBuffer()
71 ctx->Feedback._Mask = FB_3D; in _mesa_FeedbackBuffer()
74 ctx->Feedback._Mask = (FB_3D | FB_COLOR); in _mesa_FeedbackBuffer()
77 ctx->Feedback._Mask = (FB_3D | FB_COLOR | FB_TEXTURE); in _mesa_FeedbackBuffer()
80 ctx->Feedback._Mask = (FB_3D | FB_4D | FB_COLOR | FB_TEXTURE); in _mesa_FeedbackBuffer()
88 ctx->Feedback.Type = type; in _mesa_FeedbackBuffer()
89 ctx->Feedback.BufferSize = size; in _mesa_FeedbackBuffer()
90 ctx->Feedback.Buffer = buffer; in _mesa_FeedbackBuffer()
91 ctx->Feedback.Count = 0; /* Because of this. */ in _mesa_FeedbackBuffer()
119 if (ctx->Feedback._Mask & FB_3D) { in _mesa_feedback_vertex()
122 if (ctx->Feedback._Mask & FB_4D) { in _mesa_feedback_vertex()
125 if (ctx->Feedback._Mask & FB_COLOR) { in _mesa_feedback_vertex()
131 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()