Home
last modified time | relevance | path

Searched refs:dhglrc (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_context.c197 DHGLRC dhglrc, c, share_dhglrc = 0; in wglCreateContextAttribsARB() local
201 dhglrc = stw_dev->callbacks.pfnGetDhglrc(context); in wglCreateContextAttribsARB()
207 dhglrc = (DHGLRC)(INT_PTR)context; in wglCreateContextAttribsARB()
223 c = stw_create_context_handle(stw_ctx, dhglrc); in wglCreateContextAttribsARB()
239 DHGLRC dhglrc = 0; in wglMakeContextCurrentARB() local
243 dhglrc = stw_dev->callbacks.pfnGetDhglrc(hglrc); in wglMakeContextCurrentARB()
246 return stw_make_current_by_handles(hDrawDC, hReadDC, dhglrc); in wglMakeContextCurrentARB()
Dstw_device.h107 stw_lookup_context_locked( DHGLRC dhglrc ) in stw_lookup_context_locked() argument
109 if (dhglrc == 0 || stw_dev == NULL) in stw_lookup_context_locked()
111 return (struct stw_context *) handle_table_get(stw_dev->ctx_table, dhglrc); in stw_lookup_context_locked()
129 stw_lookup_context( DHGLRC dhglrc ) in stw_lookup_context() argument
133 ret = stw_lookup_context_locked(dhglrc); in stw_lookup_context()
Dstw_context.c303 assert(ctx->dhglrc == 0); in stw_create_context_handle()
324 ctx->dhglrc = handle; in stw_create_context_handle()
328 return ctx->dhglrc; in stw_create_context_handle()
344 DrvDeleteContext(DHGLRC dhglrc) in DrvDeleteContext() argument
353 ctx = stw_lookup_context_locked(dhglrc); in DrvDeleteContext()
354 handle_table_remove(stw_dev->ctx_table, dhglrc); in DrvDeleteContext()
391 DrvReleaseContext(DHGLRC dhglrc) in DrvReleaseContext() argument
399 ctx = stw_lookup_context_locked( dhglrc ); in DrvReleaseContext()
415 return ctx->dhglrc; in stw_get_current_context()
588 stw_make_current_by_handles(HDC hDrawDC, HDC hReadDC, DHGLRC dhglrc) in stw_make_current_by_handles() argument
[all …]
Dstw_context.h40 DHGLRC dhglrc; member
74 BOOL stw_make_current_by_handles( HDC hDrawDC, HDC hReadDC, DHGLRC dhglrc );
Dstw_device.c215 DHGLRC dhglrc; in stw_cleanup() local
227 dhglrc = handle_table_get_first_handle(stw_dev->ctx_table); in stw_cleanup()
229 if (dhglrc) { in stw_cleanup()