Home
last modified time | relevance | path

Searched refs:wined3d_context_tls_idx (Results 1 – 2 of 2) sorted by relevance

/reactos/dll/directx/wine/wined3d/
H A Dwined3d_main.c149 DWORD wined3d_context_tls_idx; in wined3d_dll_init() local
157 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() local
339 if (!TlsFree(wined3d_context_tls_idx)) in wined3d_dll_destroy()
H A Dcontext.c48 static DWORD wined3d_context_tls_idx; variable
1499 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()