• Home
  • Raw
  • Download

Lines Matching refs:Shared

61       _mesa_HashLookup(ctx->Shared->TexObjects, id);  in _mesa_lookup_texture()
722 if (!ctx->Shared->FallbackTex[tex]) { in _mesa_get_fallback_texture()
821 ctx->Shared->FallbackTex[tex] = texObj; in _mesa_get_fallback_texture()
823 return ctx->Shared->FallbackTex[tex]; in _mesa_get_fallback_texture()
874 _mesa_HashWalk(ctx->Shared->TexObjects, count_tex_size, &total); in _mesa_total_texture_memory()
878 total += texture_size(ctx->Shared->DefaultTex[tgt]); in _mesa_total_texture_memory()
976 _glthread_LOCK_MUTEX(ctx->Shared->Mutex); in _mesa_GenTextures()
978 first = _mesa_HashFindFreeKeyBlock(ctx->Shared->TexObjects, n); in _mesa_GenTextures()
987 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex); in _mesa_GenTextures()
993 _mesa_HashInsert(ctx->Shared->TexObjects, texObj->Name, texObj); in _mesa_GenTextures()
998 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex); in _mesa_GenTextures()
1045 ctx->Shared->DefaultTex[tex]); in unbind_texobj_from_texunits()
1104 _glthread_LOCK_MUTEX(ctx->Shared->Mutex); in _mesa_DeleteTextures()
1105 _mesa_HashRemove(ctx->Shared->TexObjects, delObj->Name); in _mesa_DeleteTextures()
1106 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex); in _mesa_DeleteTextures()
1204 newTexObj = ctx->Shared->DefaultTex[targetIndex]; in _mesa_BindTexture()
1235 _glthread_LOCK_MUTEX(ctx->Shared->Mutex); in _mesa_BindTexture()
1236 _mesa_HashInsert(ctx->Shared->TexObjects, texName, newTexObj); in _mesa_BindTexture()
1237 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex); in _mesa_BindTexture()
1249 _glthread_LOCK_MUTEX(ctx->Shared->Mutex); in _mesa_BindTexture()
1250 early_out = ((ctx->Shared->RefCount == 1) in _mesa_BindTexture()
1252 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex); in _mesa_BindTexture()
1405 _glthread_LOCK_MUTEX(ctx->Shared->TexMutex); in _mesa_lock_context_textures()
1407 if (ctx->Shared->TextureStateStamp != ctx->TextureStateTimestamp) { in _mesa_lock_context_textures()
1409 ctx->TextureStateTimestamp = ctx->Shared->TextureStateStamp; in _mesa_lock_context_textures()
1417 assert(ctx->Shared->TextureStateStamp == ctx->TextureStateTimestamp); in _mesa_unlock_context_textures()
1418 _glthread_UNLOCK_MUTEX(ctx->Shared->TexMutex); in _mesa_unlock_context_textures()