Searched refs:wined3d_context_tls_idx (Results 1 – 2 of 2) sorted by relevance
149 DWORD wined3d_context_tls_idx; in wined3d_dll_init() local157 wined3d_context_tls_idx = TlsAlloc(); in wined3d_dll_init()158 if (wined3d_context_tls_idx == TLS_OUT_OF_INDEXES) in wined3d_dll_init()164 context_set_tls_idx(wined3d_context_tls_idx); in wined3d_dll_init()183 if (!TlsFree(wined3d_context_tls_idx)) in wined3d_dll_init()336 DWORD wined3d_context_tls_idx = context_get_tls_idx(); in wined3d_dll_destroy() local339 if (!TlsFree(wined3d_context_tls_idx)) in wined3d_dll_destroy()
48 static DWORD wined3d_context_tls_idx; variable1499 return wined3d_context_tls_idx; in context_get_tls_idx()1504 wined3d_context_tls_idx = idx; in context_set_tls_idx()1509 return TlsGetValue(wined3d_context_tls_idx); in context_get_current()1563 TlsSetValue(wined3d_context_tls_idx, NULL); in context_set_current()1568 return TlsSetValue(wined3d_context_tls_idx, ctx); in context_set_current()2312 TlsSetValue(wined3d_context_tls_idx, NULL); in context_destroy()