Searched defs:gl_ctx (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | context.c | 853 static void context_restore_gl_context(const struct wined3d_gl_info *gl_info, HDC dc, HGLRC gl_ctx, int pf) argument 863 if (!wglMakeCurrent(dc, gl_ctx)) 866 gl_ctx, dc, GetLastError()); 875 if (current_context && current_context->glCtx != gl_ctx) 882 if (ctx->glCtx == gl_ctx)
|
H A D | directx.c | 293 HGLRC gl_ctx; member in struct:wined3d_fake_gl_ctx 305 if (!wglDeleteContext(ctx->gl_ctx)) 308 ERR("wglDeleteContext(%p) failed, last error %#x.\n", ctx->gl_ctx, err); 342 if (!wglDeleteContext(fake_gl_ctx->gl_ctx)) 344 fake_gl_ctx->gl_ctx = new_ctx; 398 if (!(ctx->gl_ctx = pVBoxCreateContext(ctx->dc, pHgsmi))) 400 if (!(ctx->gl_ctx = wglCreateContext(ctx->dc))) 408 pVBoxCtxChromiumParameteriCR(ctx->gl_ctx, GL_HOST_WND_CREATED_HIDDEN_CR, GL_TRUE); 412 if (!wglMakeCurrent(ctx->dc, ctx->gl_ctx)) 421 if (ctx->gl_ctx) wglDeleteContex [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | directx.c | 231 HGLRC gl_ctx; member in struct:wined3d_fake_gl_ctx 245 if (!pwglDeleteContext(ctx->gl_ctx)) 248 ERR("wglDeleteContext(%p) failed, last error %#x.\n", ctx->gl_ctx, err); 306 ctx->gl_ctx = pVBoxCreateContext(ctx->dc, pHgsmi); 307 if (!ctx->gl_ctx) 319 if (!pwglMakeCurrent(ctx->dc, ctx->gl_ctx)) 328 if (ctx->gl_ctx) pwglDeleteContext(ctx->gl_ctx); 329 ctx->gl_ctx = NULL;
|
Completed in 140 milliseconds