Lines Matching refs:TransformFeedback
39 #include "transformfeedback.h"
115 ctx->TransformFeedback.DefaultObject =
118 assert(ctx->TransformFeedback.DefaultObject->RefCount == 1);
120 reference_transform_feedback_object(&ctx->TransformFeedback.CurrentObject,
121 ctx->TransformFeedback.DefaultObject);
123 assert(ctx->TransformFeedback.DefaultObject->RefCount == 2);
125 ctx->TransformFeedback.Objects = _mesa_NewHashTable();
128 &ctx->TransformFeedback.CurrentBuffer,
158 &ctx->TransformFeedback.CurrentBuffer,
162 _mesa_HashDeleteAll(ctx->TransformFeedback.Objects, delete_cb, ctx);
163 _mesa_DeleteHashTable(ctx->TransformFeedback.Objects);
168 ctx->TransformFeedback.DefaultObject);
170 ctx->TransformFeedback.CurrentObject = NULL;
188 ctx->TransformFeedback.DefaultObject = new_transform_feedback(ctx, 0);
189 ctx->TransformFeedback.CurrentObject = ctx->TransformFeedback.DefaultObject;
191 &ctx->TransformFeedback.CurrentBuffer,
199 &ctx->TransformFeedback.CurrentBuffer,
201 ctx->TransformFeedback.CurrentObject = NULL;
202 delete_transform_feedback(ctx, ctx->TransformFeedback.DefaultObject);
320 obj = ctx->TransformFeedback.CurrentObject;
364 ctx->TransformFeedback.Mode = mode;
377 obj = ctx->TransformFeedback.CurrentObject;
386 ctx->TransformFeedback.CurrentObject->Active = GL_FALSE;
387 ctx->TransformFeedback.CurrentObject->Paused = GL_FALSE;
388 ctx->TransformFeedback.CurrentObject->EndedAnytime = GL_TRUE;
404 ctx->TransformFeedback.CurrentObject;
413 &ctx->TransformFeedback.CurrentBuffer,
442 obj = ctx->TransformFeedback.CurrentObject;
485 obj = ctx->TransformFeedback.CurrentObject;
526 obj = ctx->TransformFeedback.CurrentObject;
639 for (i = 0; i < shProg->TransformFeedback.NumVarying; i++) {
640 free(shProg->TransformFeedback.VaryingNames[i]);
642 free(shProg->TransformFeedback.VaryingNames);
645 shProg->TransformFeedback.VaryingNames =
648 if (!shProg->TransformFeedback.VaryingNames) {
655 shProg->TransformFeedback.VaryingNames[i] = _mesa_strdup(varyings[i]);
657 shProg->TransformFeedback.NumVarying = count;
659 shProg->TransformFeedback.BufferMode = bufferMode;
711 return ctx->TransformFeedback.DefaultObject;
715 _mesa_HashLookup(ctx->TransformFeedback.Objects, name);
742 first = _mesa_HashFindFreeKeyBlock(ctx->TransformFeedback.Objects, n);
753 _mesa_HashInsert(ctx->TransformFeedback.Objects, first + i, obj);
795 if (ctx->TransformFeedback.CurrentObject->Active &&
796 !ctx->TransformFeedback.CurrentObject->Paused) {
809 reference_transform_feedback_object(&ctx->TransformFeedback.CurrentObject,
845 _mesa_HashRemove(ctx->TransformFeedback.Objects, names[i]);
864 obj = ctx->TransformFeedback.CurrentObject;
890 obj = ctx->TransformFeedback.CurrentObject;