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.c186 DHGLRC dhglrc, c, share_dhglrc = 0; in wglCreateContextAttribsARB() local
190 dhglrc = stw_dev->callbacks.pfnGetDhglrc(context); in wglCreateContextAttribsARB()
196 dhglrc = (DHGLRC)(INT_PTR)context; in wglCreateContextAttribsARB()
211 c = stw_create_context_handle(stw_ctx, dhglrc); in wglCreateContextAttribsARB()
227 DHGLRC dhglrc = 0; in wglMakeContextCurrentARB() local
231 dhglrc = stw_dev->callbacks.pfnGetDhglrc(hglrc); in wglMakeContextCurrentARB()
234 return stw_make_current_by_handles(hDrawDC, hReadDC, dhglrc); in wglMakeContextCurrentARB()
Dstw_device.h106 stw_lookup_context_locked( DHGLRC dhglrc ) in stw_lookup_context_locked() argument
108 if (dhglrc == 0 || stw_dev == NULL) in stw_lookup_context_locked()
110 return (struct stw_context *) handle_table_get(stw_dev->ctx_table, dhglrc); in stw_lookup_context_locked()
128 stw_lookup_context( DHGLRC dhglrc ) in stw_lookup_context() argument
132 ret = stw_lookup_context_locked(dhglrc); in stw_lookup_context()
Dstw_context.c299 assert(ctx->dhglrc == 0); in stw_create_context_handle()
320 ctx->dhglrc = handle; in stw_create_context_handle()
324 return ctx->dhglrc; in stw_create_context_handle()
340 DrvDeleteContext(DHGLRC dhglrc) in DrvDeleteContext() argument
349 ctx = stw_lookup_context_locked(dhglrc); in DrvDeleteContext()
350 handle_table_remove(stw_dev->ctx_table, dhglrc); in DrvDeleteContext()
387 DrvReleaseContext(DHGLRC dhglrc) in DrvReleaseContext() argument
395 ctx = stw_lookup_context_locked( dhglrc ); in DrvReleaseContext()
411 return ctx->dhglrc; in stw_get_current_context()
584 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.c212 DHGLRC dhglrc; in stw_cleanup() local
224 dhglrc = handle_table_get_first_handle(stw_dev->ctx_table); in stw_cleanup()
226 if (dhglrc) { in stw_cleanup()