Lines Matching refs:dhglrc
303 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
590 struct stw_context *ctx = stw_lookup_context(dhglrc); in stw_make_current_by_handles()
591 if (dhglrc && !ctx) { in stw_make_current_by_handles()
996 DrvSetContext(HDC hdc, DHGLRC dhglrc, PFN_SETPROCTABLE pfnSetProcTable) in DrvSetContext() argument
1000 if (!stw_make_current_by_handles(hdc, hdc, dhglrc)) in DrvSetContext()