• Home
  • Raw
  • Download

Lines Matching refs:Shared

120       _mesa_HashLookup(ctx->Shared->TexObjects, id);  in _mesa_lookup_texture()
146 _mesa_HashLookupLocked(ctx->Shared->TexObjects, id); in _mesa_lookup_texture_locked()
934 if (!ctx->Shared->FallbackTex[tex]) { in _mesa_get_fallback_texture()
1047 ctx->Shared->FallbackTex[tex] = texObj; in _mesa_get_fallback_texture()
1053 return ctx->Shared->FallbackTex[tex]; in _mesa_get_fallback_texture()
1104 _mesa_HashWalk(ctx->Shared->TexObjects, count_tex_size, &total); in _mesa_total_texture_memory()
1108 total += texture_size(ctx->Shared->DefaultTex[tgt]); in _mesa_total_texture_memory()
1202 _mesa_HashLockMutex(ctx->Shared->TexObjects); in create_textures()
1204 _mesa_HashFindFreeKeys(ctx->Shared->TexObjects, textures, n); in create_textures()
1211 _mesa_HashUnlockMutex(ctx->Shared->TexObjects); in create_textures()
1217 _mesa_HashInsertLocked(ctx->Shared->TexObjects, texObj->Name, texObj, true); in create_textures()
1220 _mesa_HashUnlockMutex(ctx->Shared->TexObjects); in create_textures()
1379 ctx->Shared->DefaultTex[index]); in unbind_texobj_from_texunits()
1417 struct gl_texture_object *texObj = ctx->Shared->DefaultTex[index]; in unbind_textures_from_unit()
1488 _mesa_HashRemove(ctx->Shared->TexObjects, delObj->Name); in delete_textures()
1609 ctx->Shared->RefCount == 1 && in bind_texture_object()
1681 newTexObj = ctx->Shared->DefaultTex[targetIndex]; in _mesa_lookup_or_create_texture()
1714 _mesa_HashInsert(ctx->Shared->TexObjects, texName, newTexObj, false); in _mesa_lookup_or_create_texture()
1897 _mesa_HashLockMutex(ctx->Shared->TexObjects); in bind_textures()
1929 _mesa_HashUnlockMutex(ctx->Shared->TexObjects); in bind_textures()
2111 simple_mtx_lock(&ctx->Shared->TexMutex); in _mesa_lock_context_textures()
2113 if (ctx->Shared->TextureStateStamp != ctx->TextureStateTimestamp) { in _mesa_lock_context_textures()
2116 ctx->TextureStateTimestamp = ctx->Shared->TextureStateStamp; in _mesa_lock_context_textures()
2124 assert(ctx->Shared->TextureStateStamp == ctx->TextureStateTimestamp); in _mesa_unlock_context_textures()
2126 simple_mtx_unlock(&ctx->Shared->TexMutex); in _mesa_unlock_context_textures()