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

utils.c File Reference
#include "config.h"
#include "wined3d_private.h"

Go to the source code of this file.

Data Structures

struct  StaticPixelFormatDesc
struct  wined3d_format_base_flags
struct  wined3d_format_block_info
struct  wined3d_format_vertex_info
struct  wined3d_format_texture_info

Defines

#define FMT_TO_STR(format_id)   case format_id: return #format_id
#define DEVTYPE_TO_STR(dev)   case dev: return #dev
#define WINED3DUSAGE_TO_STR(u)   if (usage & u) { strcat(buf, " | "#u); usage &= ~u; }
#define WINED3DUSAGEQUERY_TO_STR(u)   if (usagequery & u) { strcat(buf, " | "#u); usagequery &= ~u; }
#define WINED3DDECLMETHOD_TO_STR(u)   case u: return #u
#define WINED3DDECLUSAGE_TO_STR(u)   case u: return #u
#define RES_TO_STR(res)   case res: return #res
#define PRIM_TO_STR(prim)   case prim: return #prim
#define D3DSTATE_TO_STR(u)   case u: return #u
#define D3DSTATE_TO_STR(u)   case u: return #u
#define D3DTEXTUREFILTERTYPE_TO_STR(u)   case u: return #u
#define D3DSTATE_TO_STR(u)   case u: return #u
#define D3DTOP_TO_STR(u)   case u: return #u
#define TSTYPE_TO_STR(tstype)   case tstype: return #tstype
#define POOL_TO_STR(p)   case p: return #p
#define FBOSTATUS_TO_STR(u)   case u: return #u
#define GLERROR_TO_STR(u)   case u: return #u
#define WINED3D_TO_STR(x)   case x: return #x
#define WINED3D_TO_STR(x)   case x: return #x
#define ARG1   0x01
#define ARG2   0x02
#define ARG0   0x04

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (d3d)
static void convert_l4a4_unorm (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_r5g5_snorm_l6_unorm (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_r5g5_snorm_l6_unorm_nv (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_r8g8_snorm (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_r8g8_snorm_l8x8_unorm (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_r8g8_snorm_l8x8_unorm_nv (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_r8g8b8a8_snorm (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_r16g16_snorm (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_r16g16 (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_r32g32_float (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_s1_uint_d15_unorm (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_s4x4_uint_d24_unorm (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static void convert_s8_uint_d24_float (const BYTE *src, BYTE *dst, UINT pitch, UINT width, UINT height)
static int getFmtIdx (enum wined3d_format_id format_id)
static BOOL init_format_base_info (struct wined3d_gl_info *gl_info)
static BOOL init_format_block_info (struct wined3d_gl_info *gl_info)
static void check_fbo_compat (const struct wined3d_gl_info *gl_info, struct wined3d_format *format)
static void init_format_fbo_compat_info (struct wined3d_gl_info *gl_info)
static BOOL init_format_texture_info (struct wined3d_gl_info *gl_info)
static BOOL color_match (DWORD c1, DWORD c2, BYTE max_diff)
static BOOL check_filter (const struct wined3d_gl_info *gl_info, GLenum internal)
static void init_format_filter_info (struct wined3d_gl_info *gl_info, enum wined3d_pci_vendor vendor)
static void apply_format_fixups (struct wined3d_gl_info *gl_info)
static BOOL init_format_vertex_info (struct wined3d_gl_info *gl_info)
BOOL initPixelFormatsNoGL (struct wined3d_gl_info *gl_info)
BOOL initPixelFormats (struct wined3d_gl_info *gl_info, enum wined3d_pci_vendor vendor)
struct wined3d_formatwined3d_get_format (const struct wined3d_gl_info *gl_info, enum wined3d_format_id format_id)
UINT wined3d_format_calculate_size (const struct wined3d_format *format, UINT alignment, UINT width, UINT height)
const chardebug_d3dformat (enum wined3d_format_id format_id)
const chardebug_d3ddevicetype (enum wined3d_device_type device_type)
const chardebug_d3dusage (DWORD usage)
const chardebug_d3dusagequery (DWORD usagequery)
const chardebug_d3ddeclmethod (WINED3DDECLMETHOD method)
const chardebug_d3ddeclusage (BYTE usage)
const chardebug_d3dresourcetype (enum wined3d_resource_type resource_type)
const chardebug_d3dprimitivetype (enum wined3d_primitive_type primitive_type)
const chardebug_d3drenderstate (enum wined3d_render_state state)
const chardebug_d3dsamplerstate (enum wined3d_sampler_state state)
const chardebug_d3dtexturefiltertype (enum wined3d_texture_filter_type filter_type)
const chardebug_d3dtexturestate (enum wined3d_texture_stage_state state)
const chardebug_d3dtop (enum wined3d_texture_op d3dtop)
const chardebug_d3dtstype (enum wined3d_transform_state tstype)
const chardebug_d3dstate (DWORD state)
const chardebug_d3dpool (enum wined3d_pool pool)
const chardebug_fbostatus (GLenum status)
const chardebug_glerror (GLenum error)
const chardebug_d3dbasis (enum wined3d_basis_type basis)
const chardebug_d3ddegree (enum wined3d_degree_type degree)
static const chardebug_fixup_channel_source (enum fixup_channel_source source)
static const chardebug_complex_fixup (enum complex_fixup fixup)
void dump_color_fixup_desc (struct color_fixup_desc fixup)
const chardebug_surflocation (DWORD flag)
BOOL is_invalid_op (const struct wined3d_state *state, int stage, enum wined3d_texture_op op, DWORD arg1, DWORD arg2, DWORD arg3)
void set_texture_matrix (const float *smat, DWORD flags, BOOL calculatedCoords, BOOL transformed, enum wined3d_format_id vtx_fmt, BOOL ffp_proj_control)
unsigned int count_bits (unsigned int mask)
BOOL getColorBits (const struct wined3d_format *format, BYTE *redSize, BYTE *greenSize, BYTE *blueSize, BYTE *alphaSize, BYTE *totalSize)
BOOL getDepthStencilBits (const struct wined3d_format *format, BYTE *depthSize, BYTE *stencilSize)
DWORD wined3d_format_convert_from_float (const struct wined3d_surface *surface, const struct wined3d_color *color)
enum wined3d_format_id pixelformat_for_depth (DWORD depth)
void multiply_matrix (struct wined3d_matrix *dest, const struct wined3d_matrix *src1, const struct wined3d_matrix *src2)
DWORD get_flexible_vertex_size (DWORD d3dvtVertexType)
void gen_ffp_frag_op (const struct wined3d_device *device, const struct wined3d_state *state, struct ffp_frag_settings *settings, BOOL ignore_textype)
struct ffp_frag_descfind_ffp_frag_shader (const struct wine_rb_tree *fragment_shaders, const struct ffp_frag_settings *settings)
void add_ffp_frag_shader (struct wine_rb_tree *shaders, struct ffp_frag_desc *desc)
void texture_activate_dimensions (const struct wined3d_texture *texture, const struct wined3d_gl_info *gl_info)
void sampler_texdim (struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id)
voidwined3d_rb_alloc (size_t size)
voidwined3d_rb_realloc (void *ptr, size_t size)
void wined3d_rb_free (void *ptr)
static int ffp_frag_program_key_compare (const void *key, const struct wine_rb_entry *entry)
UINT wined3d_log2i (UINT32 x)
void select_shader_mode (const struct wined3d_gl_info *gl_info, int *ps_selected, int *vs_selected)
struct blit_shaderwined3d_select_blitter (const struct wined3d_gl_info *gl_info, enum wined3d_blit_op blit_op, const RECT *src_rect, DWORD src_usage, enum wined3d_pool src_pool, const struct wined3d_format *src_format, const RECT *dst_rect, DWORD dst_usage, enum wined3d_pool dst_pool, const struct wined3d_format *dst_format)
void wined3d_get_draw_rect (const struct wined3d_state *state, RECT *rect)

Variables

static struct StaticPixelFormatDesc formats []
static struct
wined3d_format_base_flags 
format_base_flags []
static struct
wined3d_format_block_info 
format_block_info []
static struct
wined3d_format_vertex_info 
format_vertex_info []
static struct
wined3d_format_texture_info 
format_texture_info []
struct wine_rb_functions wined3d_ffp_frag_program_rb_functions

Generated on Sat May 26 2012 05:03:11 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.