Lines Matching refs:wined3d_context

45 # define vboxGetCurrentContext() VBoxTlsRefGetCurrent(struct wined3d_context, wined3d_context_tls_idx)
46 # define vboxSetCurrentContext(_ctx) VBoxTlsRefSetCurrent(struct wined3d_context, wined3d_context_tls_idx, (_ctx))
52 void context_bind_fbo(struct wined3d_context *context, GLenum target, GLuint *fbo)
118 static void context_destroy_fbo(struct wined3d_context *context, GLuint *fbo)
198 void context_attach_depth_stencil_fbo(struct wined3d_context *context,
270 void context_attach_surface_fbo(const struct wined3d_context *context,
294 static void context_check_fbo_status(struct wined3d_context *context)
335 static struct fbo_entry *context_create_fbo_entry(struct wined3d_context *context)
352 static void context_reuse_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry)
366 static void context_destroy_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry)
381 static struct fbo_entry *context_find_fbo_entry(struct wined3d_context *context)
417 static void context_apply_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry)
467 static void context_apply_fbo_state(struct wined3d_context *context)
497 void context_alloc_occlusion_query(struct wined3d_context *context, struct wined3d_occlusion_query *query)
529 struct wined3d_context *context = query->context;
554 void context_alloc_event_query(struct wined3d_context *context, struct wined3d_event_query *query)
601 struct wined3d_context *context = query->context;
638 struct wined3d_context *context = This->contexts[i];
675 void context_surface_update(struct wined3d_context *context, IWineD3DSurfaceImpl *surface)
777 static void context_update_window(struct wined3d_context *context
850 static void context_validate(struct wined3d_context *context
906 static void context_validate_adjust_wnd(struct wined3d_context *context)
938 static void context_destroy_gl_resources(struct wined3d_context *context)
1081 static struct wined3d_context *context_get_current_ex(DWORD adjustTid)
1083 struct wined3d_context *ctx = vboxGetCurrentContext();
1106 struct wined3d_context *context_get_current(void)
1117 BOOL context_set_current(struct wined3d_context *ctx)
1120 struct wined3d_context *old = context_get_current_ex(0);
1123 struct wined3d_context *old = context_get_current();
1221 struct wined3d_context *old = context_get_current_ex(0);
1241 void context_release(struct wined3d_context *context)
1266 const struct wined3d_context *current_context = context_get_current();
1277 struct wined3d_context *ctx = device->contexts[i];
1297 static void context_enter(struct wined3d_context *context)
1303 const struct wined3d_context *current_context = context_get_current();
1329 static void Context_MarkStateDirty(struct wined3d_context *context, DWORD state, const struct StateEntry *StateTable)
1504 struct IWineD3DDeviceImpl *context_get_device(const struct wined3d_context *context)
1516 struct wined3d_context * context = (struct wined3d_context *)pvCtx;
1533 struct wined3d_context *context_create(IWineD3DSwapChainImpl *swapchain, IWineD3DSurfaceImpl *target,
1543 struct wined3d_context *ret;
1888 static void context_setup_target(IWineD3DDeviceImpl *device, struct wined3d_context *context, IWineD3DSurface *target);
1889 static void context_apply_state(struct wined3d_context *context, IWineD3DDeviceImpl *device, enum ContextUsage usage);
1891 BOOL context_acquire_context(struct wined3d_context * context, IWineD3DSurface *target, enum ContextUsage usage, BOOL bReValidate)
1894 struct wined3d_context *current_context = context_get_current();
1948 struct wined3d_context *context_find_create(IWineD3DDeviceImpl *device, IWineD3DSwapChainImpl *swapchain, IWineD3DSurfaceImpl *target,
1955 struct wined3d_context *context = NULL;
2010 void context_destroy(IWineD3DDeviceImpl *This, struct wined3d_context *context)
2080 static void SetupForBlit(IWineD3DDeviceImpl *This, struct wined3d_context *context)
2286 static struct wined3d_context *findThreadContextForSwapChain(IWineD3DSwapChain *swapchain
2338 static struct wined3d_context *FindContext(IWineD3DDeviceImpl *This, IWineD3DSurface *target)
2341 struct wined3d_context *current_context = context_get_current();
2345 struct wined3d_context *context;
2467 static struct wined3d_context *FindContext(IWineD3DDeviceImpl *This, IWineD3DSurface *target)
2470 struct wined3d_context *context = This->numContexts ? This->contexts[0] : NULL;
2553 static void context_apply_draw_buffer(struct wined3d_context *context, BOOL blit)
2599 void context_set_draw_buffer(struct wined3d_context *context, GLenum buffer)
2606 static inline void context_set_render_offscreen(struct wined3d_context *context, const struct StateEntry *StateTable,
2637 static void context_validate_onscreen_formats(IWineD3DDeviceImpl *device, struct wined3d_context *context)
2658 static void context_apply_state(struct wined3d_context *context, IWineD3DDeviceImpl *device, enum ContextUsage usage)
2771 static void context_setup_target(IWineD3DDeviceImpl *device, struct wined3d_context *context, IWineD3DSurface *target)
2861 struct wined3d_context *context_acquire(IWineD3DDeviceImpl *device, IWineD3DSurface *target, enum ContextUsage usage)
2863 struct wined3d_context *current_context = context_get_current();
2864 struct wined3d_context *context;