Lines Matching refs:top
582 struct glthread_client_attrib *top =
586 top->VAO = *glthread->CurrentVAO;
587 top->CurrentArrayBufferName = glthread->CurrentArrayBufferName;
588 top->ClientActiveTexture = glthread->ClientActiveTexture;
589 top->RestartIndex = glthread->RestartIndex;
590 top->PrimitiveRestart = glthread->PrimitiveRestart;
591 top->PrimitiveRestartFixedIndex = glthread->PrimitiveRestartFixedIndex;
592 top->Valid = true;
594 top->Valid = false;
613 struct glthread_client_attrib *top =
616 if (!top->Valid)
621 if (top->VAO.Name) {
622 vao = lookup_vao(ctx, top->VAO.Name);
628 glthread->CurrentArrayBufferName = top->CurrentArrayBufferName;
629 glthread->ClientActiveTexture = top->ClientActiveTexture;
630 glthread->RestartIndex = top->RestartIndex;
631 glthread->PrimitiveRestart = top->PrimitiveRestart;
632 glthread->PrimitiveRestartFixedIndex = top->PrimitiveRestartFixedIndex;
637 assert(top->VAO.Name == vao->Name);
638 *vao = top->VAO; /* Copy all fields. */