Lines Matching defs:fake_gl_ctx
318 static void wined3d_create_fake_gl_context_attribs(struct wined3d_fake_gl_ctx *fake_gl_ctx,
326 if (!(new_ctx = gl_info->p_wglCreateContextAttribsARB(fake_gl_ctx->dc, NULL, ctx_attribs)))
333 if (!wglMakeCurrent(fake_gl_ctx->dc, new_ctx))
342 if (!wglDeleteContext(fake_gl_ctx->gl_ctx))
344 fake_gl_ctx->gl_ctx = new_ctx;
5294 struct wined3d_fake_gl_ctx fake_gl_ctx = {0};
5379 if (!WineD3D_CreateFakeGLContext(&fake_gl_ctx
5398 wined3d_create_fake_gl_context_attribs(&fake_gl_ctx, gl_info, ctx_attribs);
5403 WineD3D_ReleaseFakeGLContext(&fake_gl_ctx);
5410 wined3d_adapter_init_fb_cfgs(adapter, fake_gl_ctx.dc);
5416 WineD3D_ReleaseFakeGLContext(&fake_gl_ctx);
5427 WineD3D_ReleaseFakeGLContext(&fake_gl_ctx);
5446 WineD3D_ReleaseFakeGLContext(&fake_gl_ctx);