Home | History | Annotate | Download | only in main

Lines Matching refs:Shared

61       _mesa_HashLookup(ctx->Shared->TexObjects, id);
73 * \param shared the shared GL state structure to contain the texture object
194 * \param shared the shared GL state to which the object belongs.
722 if (!ctx->Shared->FallbackTex[tex]) {
821 ctx->Shared->FallbackTex[tex] = texObj;
823 return ctx->Shared->FallbackTex[tex];
874 _mesa_HashWalk(ctx->Shared->TexObjects, count_tex_size, &total);
878 total += texture_size(ctx->Shared->DefaultTex[tgt]);
976 _glthread_LOCK_MUTEX(ctx->Shared->Mutex);
978 first = _mesa_HashFindFreeKeyBlock(ctx->Shared->TexObjects, n);
987 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex);
993 _mesa_HashInsert(ctx->Shared->TexObjects, texObj->Name, texObj);
998 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex);
1045 ctx->Shared->DefaultTex[tex]);
1065 * Recall that texture objects can be shared among several rendering
1104 _glthread_LOCK_MUTEX(ctx->Shared->Mutex);
1105 _mesa_HashRemove(ctx->Shared->TexObjects, delObj->Name);
1106 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex);
1204 newTexObj = ctx->Shared->DefaultTex[targetIndex];
1235 _glthread_LOCK_MUTEX(ctx->Shared->Mutex);
1236 _mesa_HashInsert(ctx->Shared->TexObjects, texName, newTexObj);
1237 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex);
1249 _glthread_LOCK_MUTEX(ctx->Shared->Mutex);
1250 early_out = ((ctx->Shared->RefCount == 1)
1252 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex);
1392 * Simplest implementation of texture locking: grab the shared tex
1393 * mutex. Examine the shared context state timestamp and if there has
1405 _glthread_LOCK_MUTEX(ctx->Shared->TexMutex);
1407 if (ctx->Shared->TextureStateStamp != ctx->TextureStateTimestamp) {
1409 ctx->TextureStateTimestamp = ctx->Shared->TextureStateStamp;
1417 assert(ctx->Shared->TextureStateStamp == ctx->TextureStateTimestamp);
1418 _glthread_UNLOCK_MUTEX(ctx->Shared->TexMutex);