Lines Matching refs:wined3d_context

48 # define vboxGetCurrentContext() VBoxTlsRefGetCurrent(struct wined3d_context, wined3d_context_tls_idx)
49 # define vboxSetCurrentContext(_ctx) VBoxTlsRefSetCurrent(struct wined3d_context, wined3d_context_tls_idx, (_ctx))
55 static void context_bind_fbo(struct wined3d_context *context, GLenum target, GLuint fbo)
105 static void context_destroy_fbo(struct wined3d_context *context, GLuint fbo)
134 static void context_attach_depth_stencil_fbo(struct wined3d_context *context,
216 static void context_attach_surface_fbo(struct wined3d_context *context,
266 void context_check_fbo_status(const struct wined3d_context *context, GLenum target)
326 static struct fbo_entry *context_create_fbo_entry(const struct wined3d_context *context,
347 static void context_reuse_fbo_entry(struct wined3d_context *context, GLenum target,
363 static void context_destroy_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry)
378 static struct fbo_entry *context_find_fbo_entry(struct wined3d_context *context, GLenum target,
424 static void context_apply_fbo_entry(struct wined3d_context *context, GLenum target, struct fbo_entry *entry)
467 static void context_apply_fbo_state(struct wined3d_context *context, GLenum target,
496 void context_apply_fbo_state_blit(struct wined3d_context *context, GLenum target,
508 void context_alloc_occlusion_query(struct wined3d_context *context, struct wined3d_occlusion_query *query)
538 struct wined3d_context *context = query->context;
563 void context_alloc_event_query(struct wined3d_context *context, struct wined3d_event_query *query)
606 struct wined3d_context *context = query->context;
630 typedef void (context_fbo_entry_func_t)(struct wined3d_context *context, struct fbo_entry *entry);
639 struct wined3d_context *context = device->contexts[i];
667 static void context_queue_fbo_entry_destruction(struct wined3d_context *context, struct fbo_entry *entry)
690 static void context_detach_fbo_entry(struct wined3d_context *context, struct fbo_entry *entry)
710 void context_surface_update(struct wined3d_context *context, const struct wined3d_surface *surface)
779 static BOOL context_set_gl_context(struct wined3d_context *ctx)
874 const struct wined3d_context *current_context = context_get_current();
881 struct wined3d_context *ctx = device->contexts[i];
927 struct wined3d_context * context = device->contexts[0];
962 struct wined3d_context *context_find_create(struct wined3d_device *device,
966 struct wined3d_context *context;
1003 static void context_update_window(struct wined3d_context *context
1066 static void context_adjust_any_valid(struct wined3d_context *context)
1086 static void context_destroy_gl_resources(struct wined3d_context *context)
1220 static struct wined3d_context *context_get_current_ex(DWORD adjustTid)
1222 struct wined3d_context *ctx = vboxGetCurrentContext();
1246 struct wined3d_context *context_get_current(void)
1257 BOOL context_set_current(struct wined3d_context *ctx)
1260 struct wined3d_context *old = context_get_current_ex(0);
1263 struct wined3d_context *old = context_get_current();
1358 struct wined3d_context *old = context_get_current_ex(0);
1378 void context_release(struct wined3d_context *context)
1399 static void context_enter(struct wined3d_context *context)
1405 const struct wined3d_context *current_context = context_get_current();
1419 void context_invalidate_state(struct wined3d_context *context, DWORD state)
1545 static void bind_dummy_textures(const struct wined3d_device *device, const struct wined3d_context *context)
1581 struct wined3d_context * context = (struct wined3d_context *)pvCtx;
1618 struct wined3d_context *context_create(struct wined3d_swapchain *swapchain,
1628 struct wined3d_context *ret;
2037 void context_destroy(struct wined3d_device *device, struct wined3d_context *context)
2098 static void context_get_rt_size(const struct wined3d_context *context, SIZE *size)
2141 static void SetupForBlit(const struct wined3d_device *device, struct wined3d_context *context)
2332 static void context_apply_draw_buffers(struct wined3d_context *context, DWORD rt_mask)
2382 void context_set_draw_buffer(struct wined3d_context *context, GLenum buffer)
2398 void context_active_texture(struct wined3d_context *context, const struct wined3d_gl_info *gl_info, unsigned int unit)
2405 void context_bind_texture(struct wined3d_context *context, GLenum target, GLuint name)
2454 static void context_set_render_offscreen(struct wined3d_context *context, BOOL offscreen)
2485 static void context_validate_onscreen_formats(struct wined3d_context *context,
2517 void context_apply_blit_state(struct wined3d_context *context, const struct wined3d_device *device)
2583 BOOL context_apply_clear_state(struct wined3d_context *context, const struct wined3d_device *device,
2677 static DWORD find_draw_buffers_mask(const struct wined3d_context *context, const struct wined3d_device *device)
2705 void context_state_fb(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id)
2734 void context_state_drawbuf(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id)
2751 BOOL context_apply_draw_state(struct wined3d_context *context, struct wined3d_device *device)
2815 static void context_setup_target(struct wined3d_context *context, struct wined3d_surface *target)
2868 struct wined3d_context *context_acquire(const struct wined3d_device *device, struct wined3d_surface *target)
2870 struct wined3d_context *current_context = context_get_current();
2871 struct wined3d_context *context;