ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

context.c File Reference
#include "config.h"
#include <stdio.h>
#include "wined3d_private.h"

Go to the source code of this file.

Typedefs

typedef voidcontext_fbo_entry_func_t )(struct wined3d_context *context, struct fbo_entry *entry)

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (d3d)
static void context_bind_fbo (struct wined3d_context *context, GLenum target, GLuint *fbo)
static void context_clean_fbo_attachments (const struct wined3d_gl_info *gl_info, GLenum target)
static void context_destroy_fbo (struct wined3d_context *context, GLuint *fbo)
static void context_attach_depth_stencil_rb (const struct wined3d_gl_info *gl_info, GLenum fbo_target, DWORD format_flags, GLuint rb)
static void context_attach_depth_stencil_fbo (struct wined3d_context *context, GLenum fbo_target, struct wined3d_surface *depth_stencil, DWORD location)
static void context_attach_surface_fbo (struct wined3d_context *context, GLenum fbo_target, DWORD idx, struct wined3d_surface *surface, DWORD location)
void context_check_fbo_status (const struct wined3d_context *context, GLenum target)
static DWORD context_generate_rt_mask (GLenum buffer)
static DWORD context_generate_rt_mask_from_surface (const struct wined3d_surface *target)
static struct fbo_entrycontext_create_fbo_entry (const struct wined3d_context *context, struct wined3d_surface **render_targets, struct wined3d_surface *depth_stencil, DWORD location)
static void context_reuse_fbo_entry (struct wined3d_context *context, GLenum target, struct wined3d_surface **render_targets, struct wined3d_surface *depth_stencil, DWORD location, struct fbo_entry *entry)
static void context_destroy_fbo_entry (struct wined3d_context *context, struct fbo_entry *entry)
static struct fbo_entrycontext_find_fbo_entry (struct wined3d_context *context, GLenum target, struct wined3d_surface **render_targets, struct wined3d_surface *depth_stencil, DWORD location)
static void context_apply_fbo_entry (struct wined3d_context *context, GLenum target, struct fbo_entry *entry)
static void context_apply_fbo_state (struct wined3d_context *context, GLenum target, struct wined3d_surface **render_targets, struct wined3d_surface *depth_stencil, DWORD location)
void context_apply_fbo_state_blit (struct wined3d_context *context, GLenum target, struct wined3d_surface *render_target, struct wined3d_surface *depth_stencil, DWORD location)
void context_alloc_occlusion_query (struct wined3d_context *context, struct wined3d_occlusion_query *query)
void context_free_occlusion_query (struct wined3d_occlusion_query *query)
void context_alloc_event_query (struct wined3d_context *context, struct wined3d_event_query *query)
void context_free_event_query (struct wined3d_event_query *query)
static void context_enum_surface_fbo_entries (const struct wined3d_device *device, const struct wined3d_surface *surface, context_fbo_entry_func_t *callback)
static void context_queue_fbo_entry_destruction (struct wined3d_context *context, struct fbo_entry *entry)
void context_resource_released (const struct wined3d_device *device, struct wined3d_resource *resource, enum wined3d_resource_type type)
static void context_detach_fbo_entry (struct wined3d_context *context, struct fbo_entry *entry)
void context_resource_unloaded (const struct wined3d_device *device, struct wined3d_resource *resource, enum wined3d_resource_type type)
void context_surface_update (struct wined3d_context *context, const struct wined3d_surface *surface)
static BOOL context_set_pixel_format (const struct wined3d_gl_info *gl_info, HDC dc, int format)
static BOOL context_set_gl_context (struct wined3d_context *ctx)
static void context_restore_gl_context (const struct wined3d_gl_info *gl_info, HDC dc, HGLRC gl_ctx, int pf)
static void context_update_window (struct wined3d_context *context)
static void context_destroy_gl_resources (struct wined3d_context *context)
DWORD context_get_tls_idx (void)
void context_set_tls_idx (DWORD idx)
struct wined3d_contextcontext_get_current (void)
BOOL context_set_current (struct wined3d_context *ctx)
void context_release (struct wined3d_context *context)
static void context_enter (struct wined3d_context *context)
void context_invalidate_state (struct wined3d_context *context, DWORD state)
static int context_choose_pixel_format (const struct wined3d_device *device, HDC hdc, const struct wined3d_format *color_format, const struct wined3d_format *ds_format, BOOL auxBuffers, BOOL findCompatible)
static void bind_dummy_textures (const struct wined3d_device *device, const struct wined3d_context *context)
struct wined3d_contextcontext_create (struct wined3d_swapchain *swapchain, struct wined3d_surface *target, const struct wined3d_format *ds_format)
void context_destroy (struct wined3d_device *device, struct wined3d_context *context)
static void set_blit_dimension (UINT width, UINT height)
static void SetupForBlit (const struct wined3d_device *device, struct wined3d_context *context)
static BOOL is_rt_mask_onscreen (DWORD rt_mask)
static GLenum draw_buffer_from_rt_mask (DWORD rt_mask)
static void context_apply_draw_buffers (struct wined3d_context *context, DWORD rt_mask)
void context_set_draw_buffer (struct wined3d_context *context, GLenum buffer)
void context_active_texture (struct wined3d_context *context, const struct wined3d_gl_info *gl_info, unsigned int unit)
void context_bind_texture (struct wined3d_context *context, GLenum target, GLuint name)
static void context_set_render_offscreen (struct wined3d_context *context, BOOL offscreen)
static BOOL match_depth_stencil_format (const struct wined3d_format *existing, const struct wined3d_format *required)
static void context_validate_onscreen_formats (struct wined3d_context *context, const struct wined3d_surface *depth_stencil)
static DWORD context_generate_rt_mask_no_fbo (const struct wined3d_device *device, const struct wined3d_surface *rt)
void context_apply_blit_state (struct wined3d_context *context, const struct wined3d_device *device)
static BOOL context_validate_rt_config (UINT rt_count, struct wined3d_surface *const *rts, const struct wined3d_surface *ds)
BOOL context_apply_clear_state (struct wined3d_context *context, const struct wined3d_device *device, UINT rt_count, const struct wined3d_fb_state *fb)
static DWORD find_draw_buffers_mask (const struct wined3d_context *context, const struct wined3d_device *device)
void context_state_fb (struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id)
void context_state_drawbuf (struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id)
BOOL context_apply_draw_state (struct wined3d_context *context, struct wined3d_device *device)
static void context_setup_target (struct wined3d_context *context, struct wined3d_surface *target)
struct wined3d_contextcontext_acquire (const struct wined3d_device *device, struct wined3d_surface *target)

Variables

static DWORD wined3d_context_tls_idx

Generated on Sun May 27 2012 04:57:30 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.