Defines |
| #define | copy_and_next(dest, src, size) memcpy(dest, src, size); dest += (size) |
Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (d3d) |
| static GLenum | gl_primitive_type_from_d3d (enum wined3d_primitive_type primitive_type) |
| static enum wined3d_primitive_type | d3d_primitive_type_from_gl (GLenum primitive_type) |
| static BOOL | fixed_get_input (BYTE usage, BYTE usage_idx, unsigned int *regnum) |
| void | device_stream_info_from_declaration (struct wined3d_device *device, struct wined3d_stream_info *stream_info, BOOL *fixup) |
| static void | stream_info_element_from_strided (const struct wined3d_gl_info *gl_info, const struct wined3d_strided_element *strided, struct wined3d_stream_info_element *e) |
| static void | device_stream_info_from_strided (const struct wined3d_gl_info *gl_info, const struct wined3d_strided_data *strided, struct wined3d_stream_info *stream_info) |
| static void | device_trace_strided_stream_info (const struct wined3d_stream_info *stream_info) |
| void | device_update_stream_info (struct wined3d_device *device, const struct wined3d_gl_info *gl_info) |
| static void | device_preload_texture (const struct wined3d_state *state, unsigned int idx) |
| void | device_preload_textures (const struct wined3d_device *device) |
| BOOL | device_context_add (struct wined3d_device *device, struct wined3d_context *context) |
| void | device_context_remove (struct wined3d_device *device, struct wined3d_context *context) |
| void | device_switch_onscreen_ds (struct wined3d_device *device, struct wined3d_context *context, struct wined3d_surface *depth_stencil) |
| static BOOL | is_full_clear (const struct wined3d_surface *target, const RECT *draw_rect, const RECT *clear_rect) |
| static void | prepare_ds_clear (struct wined3d_surface *ds, struct wined3d_context *context, DWORD location, const RECT *draw_rect, UINT rect_count, const RECT *clear_rect, RECT *out_rect) |
| HRESULT | device_clear_render_targets (struct wined3d_device *device, UINT rt_count, const struct wined3d_fb_state *fb, UINT rect_count, const RECT *rects, const RECT *draw_rect, DWORD flags, const struct wined3d_color *color, float depth, DWORD stencil) |
| ULONG CDECL | wined3d_device_incref (struct wined3d_device *device) |
| ULONG CDECL | wined3d_device_decref (struct wined3d_device *device) |
| UINT CDECL | wined3d_device_get_swapchain_count (const struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_get_swapchain (const struct wined3d_device *device, UINT swapchain_idx, struct wined3d_swapchain **swapchain) |
| static void | device_load_logo (struct wined3d_device *device, const char *filename) |
| static void | create_dummy_textures (struct wined3d_device *device, struct wined3d_context *context) |
| static void | destroy_dummy_textures (struct wined3d_device *device, const struct wined3d_gl_info *gl_info) |
| static LONG | fullscreen_style (LONG style) |
| static LONG | fullscreen_exstyle (LONG exstyle) |
| void CDECL | wined3d_device_setup_fullscreen_window (struct wined3d_device *device, HWND window, UINT w, UINT h) |
| void CDECL | wined3d_device_restore_fullscreen_window (struct wined3d_device *device, HWND window) |
| HRESULT CDECL | wined3d_device_acquire_focus_window (struct wined3d_device *device, HWND window) |
| void CDECL | wined3d_device_release_focus_window (struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_init_3d (struct wined3d_device *device, struct wined3d_swapchain_desc *swapchain_desc) |
| HRESULT CDECL | wined3d_device_init_gdi (struct wined3d_device *device, struct wined3d_swapchain_desc *swapchain_desc) |
| HRESULT CDECL | wined3d_device_uninit_3d (struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_uninit_gdi (struct wined3d_device *device) |
| void CDECL | wined3d_device_set_multithreaded (struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_set_display_mode (struct wined3d_device *device, UINT swapchain_idx, const struct wined3d_display_mode *mode) |
| HRESULT CDECL | wined3d_device_get_wined3d (const struct wined3d_device *device, struct wined3d **wined3d) |
| UINT CDECL | wined3d_device_get_available_texture_mem (const struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_set_stream_source (struct wined3d_device *device, UINT stream_idx, struct wined3d_buffer *buffer, UINT offset, UINT stride) |
| HRESULT CDECL | wined3d_device_get_stream_source (const struct wined3d_device *device, UINT stream_idx, struct wined3d_buffer **buffer, UINT *offset, UINT *stride) |
| HRESULT CDECL | wined3d_device_set_stream_source_freq (struct wined3d_device *device, UINT stream_idx, UINT divider) |
| HRESULT CDECL | wined3d_device_get_stream_source_freq (const struct wined3d_device *device, UINT stream_idx, UINT *divider) |
| HRESULT CDECL | wined3d_device_set_transform (struct wined3d_device *device, enum wined3d_transform_state d3dts, const struct wined3d_matrix *matrix) |
| HRESULT CDECL | wined3d_device_get_transform (const struct wined3d_device *device, enum wined3d_transform_state state, struct wined3d_matrix *matrix) |
| HRESULT CDECL | wined3d_device_multiply_transform (struct wined3d_device *device, enum wined3d_transform_state state, const struct wined3d_matrix *matrix) |
| HRESULT CDECL | wined3d_device_set_light (struct wined3d_device *device, UINT light_idx, const struct wined3d_light *light) |
| HRESULT CDECL | wined3d_device_get_light (const struct wined3d_device *device, UINT light_idx, struct wined3d_light *light) |
| HRESULT CDECL | wined3d_device_set_light_enable (struct wined3d_device *device, UINT light_idx, BOOL enable) |
| HRESULT CDECL | wined3d_device_get_light_enable (const struct wined3d_device *device, UINT light_idx, BOOL *enable) |
| HRESULT CDECL | wined3d_device_set_clip_plane (struct wined3d_device *device, UINT plane_idx, const float *plane) |
| HRESULT CDECL | wined3d_device_get_clip_plane (const struct wined3d_device *device, UINT plane_idx, float *plane) |
| HRESULT CDECL | wined3d_device_set_clip_status (struct wined3d_device *device, const struct wined3d_clip_status *clip_status) |
| HRESULT CDECL | wined3d_device_get_clip_status (const struct wined3d_device *device, struct wined3d_clip_status *clip_status) |
| HRESULT CDECL | wined3d_device_set_material (struct wined3d_device *device, const struct wined3d_material *material) |
| HRESULT CDECL | wined3d_device_get_material (const struct wined3d_device *device, struct wined3d_material *material) |
| HRESULT CDECL | wined3d_device_set_index_buffer (struct wined3d_device *device, struct wined3d_buffer *buffer, enum wined3d_format_id format_id) |
| HRESULT CDECL | wined3d_device_get_index_buffer (const struct wined3d_device *device, struct wined3d_buffer **buffer) |
| HRESULT CDECL | wined3d_device_set_base_vertex_index (struct wined3d_device *device, INT base_index) |
| INT CDECL | wined3d_device_get_base_vertex_index (const struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_set_viewport (struct wined3d_device *device, const struct wined3d_viewport *viewport) |
| HRESULT CDECL | wined3d_device_get_viewport (const struct wined3d_device *device, struct wined3d_viewport *viewport) |
| HRESULT CDECL | wined3d_device_set_render_state (struct wined3d_device *device, enum wined3d_render_state state, DWORD value) |
| HRESULT CDECL | wined3d_device_get_render_state (const struct wined3d_device *device, enum wined3d_render_state state, DWORD *value) |
| HRESULT CDECL | wined3d_device_set_sampler_state (struct wined3d_device *device, UINT sampler_idx, enum wined3d_sampler_state state, DWORD value) |
| HRESULT CDECL | wined3d_device_get_sampler_state (const struct wined3d_device *device, UINT sampler_idx, enum wined3d_sampler_state state, DWORD *value) |
| HRESULT CDECL | wined3d_device_set_scissor_rect (struct wined3d_device *device, const RECT *rect) |
| HRESULT CDECL | wined3d_device_get_scissor_rect (const struct wined3d_device *device, RECT *rect) |
| HRESULT CDECL | wined3d_device_set_vertex_declaration (struct wined3d_device *device, struct wined3d_vertex_declaration *declaration) |
| HRESULT CDECL | wined3d_device_get_vertex_declaration (const struct wined3d_device *device, struct wined3d_vertex_declaration **declaration) |
| HRESULT CDECL | wined3d_device_set_vertex_shader (struct wined3d_device *device, struct wined3d_shader *shader) |
| struct wined3d_shader *CDECL | wined3d_device_get_vertex_shader (const struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_set_vs_consts_b (struct wined3d_device *device, UINT start_register, const BOOL *constants, UINT bool_count) |
| HRESULT CDECL | wined3d_device_get_vs_consts_b (const struct wined3d_device *device, UINT start_register, BOOL *constants, UINT bool_count) |
| HRESULT CDECL | wined3d_device_set_vs_consts_i (struct wined3d_device *device, UINT start_register, const int *constants, UINT vector4i_count) |
| HRESULT CDECL | wined3d_device_get_vs_consts_i (const struct wined3d_device *device, UINT start_register, int *constants, UINT vector4i_count) |
| HRESULT CDECL | wined3d_device_set_vs_consts_f (struct wined3d_device *device, UINT start_register, const float *constants, UINT vector4f_count) |
| HRESULT CDECL | wined3d_device_get_vs_consts_f (const struct wined3d_device *device, UINT start_register, float *constants, UINT vector4f_count) |
| static void | device_invalidate_texture_stage (const struct wined3d_device *device, DWORD stage) |
| static void | device_map_stage (struct wined3d_device *device, DWORD stage, DWORD unit) |
| static void | device_update_fixed_function_usage_map (struct wined3d_device *device) |
| static void | device_map_fixed_function_samplers (struct wined3d_device *device, const struct wined3d_gl_info *gl_info) |
| static void | device_map_psamplers (struct wined3d_device *device, const struct wined3d_gl_info *gl_info) |
| static BOOL | device_unit_free_for_vs (const struct wined3d_device *device, const enum wined3d_sampler_texture_type *pshader_sampler_tokens, const enum wined3d_sampler_texture_type *vshader_sampler_tokens, DWORD unit) |
| static void | device_map_vsamplers (struct wined3d_device *device, BOOL ps, const struct wined3d_gl_info *gl_info) |
| void | device_update_tex_unit_map (struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_set_pixel_shader (struct wined3d_device *device, struct wined3d_shader *shader) |
| struct wined3d_shader *CDECL | wined3d_device_get_pixel_shader (const struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_set_ps_consts_b (struct wined3d_device *device, UINT start_register, const BOOL *constants, UINT bool_count) |
| HRESULT CDECL | wined3d_device_get_ps_consts_b (const struct wined3d_device *device, UINT start_register, BOOL *constants, UINT bool_count) |
| HRESULT CDECL | wined3d_device_set_ps_consts_i (struct wined3d_device *device, UINT start_register, const int *constants, UINT vector4i_count) |
| HRESULT CDECL | wined3d_device_get_ps_consts_i (const struct wined3d_device *device, UINT start_register, int *constants, UINT vector4i_count) |
| HRESULT CDECL | wined3d_device_set_ps_consts_f (struct wined3d_device *device, UINT start_register, const float *constants, UINT vector4f_count) |
| HRESULT CDECL | wined3d_device_get_ps_consts_f (const struct wined3d_device *device, UINT start_register, float *constants, UINT vector4f_count) |
| static HRESULT | process_vertices_strided (const struct wined3d_device *device, DWORD dwDestIndex, DWORD dwCount, const struct wined3d_stream_info *stream_info, struct wined3d_buffer *dest, DWORD flags, DWORD DestFVF) |
| HRESULT CDECL | wined3d_device_process_vertices (struct wined3d_device *device, UINT src_start_idx, UINT dst_idx, UINT vertex_count, struct wined3d_buffer *dst_buffer, const struct wined3d_vertex_declaration *declaration, DWORD flags, DWORD dst_fvf) |
| HRESULT CDECL | wined3d_device_set_texture_stage_state (struct wined3d_device *device, UINT stage, enum wined3d_texture_stage_state state, DWORD value) |
| HRESULT CDECL | wined3d_device_get_texture_stage_state (const struct wined3d_device *device, UINT stage, enum wined3d_texture_stage_state state, DWORD *value) |
| HRESULT CDECL | wined3d_device_set_texture (struct wined3d_device *device, UINT stage, struct wined3d_texture *texture) |
| HRESULT CDECL | wined3d_device_get_texture (const struct wined3d_device *device, UINT stage, struct wined3d_texture **texture) |
| HRESULT CDECL | wined3d_device_get_back_buffer (const struct wined3d_device *device, UINT swapchain_idx, UINT backbuffer_idx, enum wined3d_backbuffer_type backbuffer_type, struct wined3d_surface **backbuffer) |
| HRESULT CDECL | wined3d_device_get_device_caps (const struct wined3d_device *device, WINED3DCAPS *caps) |
| HRESULT CDECL | wined3d_device_get_display_mode (const struct wined3d_device *device, UINT swapchain_idx, struct wined3d_display_mode *mode) |
| HRESULT CDECL | wined3d_device_begin_stateblock (struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_end_stateblock (struct wined3d_device *device, struct wined3d_stateblock **stateblock) |
| HRESULT CDECL | wined3d_device_begin_scene (struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_end_scene (struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_present (const struct wined3d_device *device, const RECT *src_rect, const RECT *dst_rect, HWND dst_window_override, const RGNDATA *dirty_region) |
| HRESULT CDECL | wined3d_device_clear (struct wined3d_device *device, DWORD rect_count, const RECT *rects, DWORD flags, const struct wined3d_color *color, float depth, DWORD stencil) |
| void CDECL | wined3d_device_set_primitive_type (struct wined3d_device *device, enum wined3d_primitive_type primitive_type) |
| void CDECL | wined3d_device_get_primitive_type (const struct wined3d_device *device, enum wined3d_primitive_type *primitive_type) |
| HRESULT CDECL | wined3d_device_draw_primitive (struct wined3d_device *device, UINT start_vertex, UINT vertex_count) |
| HRESULT CDECL | wined3d_device_draw_indexed_primitive (struct wined3d_device *device, UINT start_idx, UINT index_count) |
| HRESULT CDECL | wined3d_device_draw_primitive_up (struct wined3d_device *device, UINT vertex_count, const void *stream_data, UINT stream_stride) |
| HRESULT CDECL | wined3d_device_draw_indexed_primitive_up (struct wined3d_device *device, UINT index_count, const void *index_data, enum wined3d_format_id index_data_format_id, const void *stream_data, UINT stream_stride) |
| HRESULT CDECL | wined3d_device_draw_primitive_strided (struct wined3d_device *device, UINT vertex_count, const struct wined3d_strided_data *strided_data) |
| HRESULT CDECL | wined3d_device_draw_indexed_primitive_strided (struct wined3d_device *device, UINT index_count, const struct wined3d_strided_data *strided_data, UINT vertex_count, const void *index_data, enum wined3d_format_id index_data_format_id) |
| static HRESULT | device_update_volume (struct wined3d_device *device, struct wined3d_volume *src_volume, struct wined3d_volume *dst_volume) |
| HRESULT CDECL | wined3d_device_update_texture (struct wined3d_device *device, struct wined3d_texture *src_texture, struct wined3d_texture *dst_texture) |
| HRESULT CDECL | wined3d_device_get_front_buffer_data (const struct wined3d_device *device, UINT swapchain_idx, struct wined3d_surface *dst_surface) |
| HRESULT CDECL | wined3d_device_validate_device (const struct wined3d_device *device, DWORD *num_passes) |
| HRESULT CDECL | wined3d_device_set_software_vertex_processing (struct wined3d_device *device, BOOL software) |
| BOOL CDECL | wined3d_device_get_software_vertex_processing (const struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_get_raster_status (const struct wined3d_device *device, UINT swapchain_idx, struct wined3d_raster_status *raster_status) |
| HRESULT CDECL | wined3d_device_set_npatch_mode (struct wined3d_device *device, float segments) |
| float CDECL | wined3d_device_get_npatch_mode (const struct wined3d_device *device) |
| HRESULT CDECL | wined3d_device_update_surface (struct wined3d_device *device, struct wined3d_surface *src_surface, const RECT *src_rect, struct wined3d_surface *dst_surface, const POINT *dst_point) |
| HRESULT CDECL | wined3d_device_draw_rect_patch (struct wined3d_device *device, UINT handle, const float *num_segs, const struct wined3d_rect_patch_info *rect_patch_info) |
| HRESULT CDECL | wined3d_device_draw_tri_patch (struct wined3d_device *device, UINT handle, const float *segment_count, const struct wined3d_tri_patch_info *patch_info) |
| HRESULT CDECL | wined3d_device_delete_patch (struct wined3d_device *device, UINT handle) |
| HRESULT CDECL | wined3d_device_color_fill (struct wined3d_device *device, struct wined3d_surface *surface, const RECT *rect, const struct wined3d_color *color) |
| void CDECL | wined3d_device_clear_rendertarget_view (struct wined3d_device *device, struct wined3d_rendertarget_view *rendertarget_view, const struct wined3d_color *color) |
| HRESULT CDECL | wined3d_device_get_render_target (const struct wined3d_device *device, UINT render_target_idx, struct wined3d_surface **render_target) |
| HRESULT CDECL | wined3d_device_get_depth_stencil (const struct wined3d_device *device, struct wined3d_surface **depth_stencil) |
| HRESULT CDECL | wined3d_device_set_render_target (struct wined3d_device *device, UINT render_target_idx, struct wined3d_surface *render_target, BOOL set_viewport) |
| HRESULT CDECL | wined3d_device_set_depth_stencil (struct wined3d_device *device, struct wined3d_surface *depth_stencil) |
| HRESULT CDECL | wined3d_device_set_cursor_properties (struct wined3d_device *device, UINT x_hotspot, UINT y_hotspot, struct wined3d_surface *cursor_image) |
| void CDECL | wined3d_device_set_cursor_position (struct wined3d_device *device, int x_screen_space, int y_screen_space, DWORD flags) |
| BOOL CDECL | wined3d_device_show_cursor (struct wined3d_device *device, BOOL show) |
| void CDECL | wined3d_device_evict_managed_resources (struct wined3d_device *device) |
| static BOOL | is_display_mode_supported (const struct wined3d_device *device, const struct wined3d_swapchain_desc *swapchain_desc) |
| static void | delete_opengl_contexts (struct wined3d_device *device, struct wined3d_swapchain *swapchain) |
| static HRESULT | create_primary_opengl_context (struct wined3d_device *device, struct wined3d_swapchain *swapchain) |
| HRESULT CDECL | wined3d_device_reset (struct wined3d_device *device, const struct wined3d_swapchain_desc *swapchain_desc, wined3d_device_reset_cb callback) |
| HRESULT CDECL | wined3d_device_set_dialog_box_mode (struct wined3d_device *device, BOOL enable_dialogs) |
| HRESULT CDECL | wined3d_device_get_creation_parameters (const struct wined3d_device *device, struct wined3d_device_creation_parameters *parameters) |
| void CDECL | wined3d_device_set_gamma_ramp (const struct wined3d_device *device, UINT swapchain_idx, DWORD flags, const struct wined3d_gamma_ramp *ramp) |
| void CDECL | wined3d_device_get_gamma_ramp (const struct wined3d_device *device, UINT swapchain_idx, struct wined3d_gamma_ramp *ramp) |
| void | device_resource_add (struct wined3d_device *device, struct wined3d_resource *resource) |
| static void | device_resource_remove (struct wined3d_device *device, struct wined3d_resource *resource) |
| void | device_resource_released (struct wined3d_device *device, struct wined3d_resource *resource) |
| HRESULT CDECL | wined3d_device_get_surface_from_dc (const struct wined3d_device *device, HDC dc, struct wined3d_surface **surface) |
| HRESULT | device_init (struct wined3d_device *device, struct wined3d *wined3d, UINT adapter_idx, enum wined3d_device_type device_type, HWND focus_window, DWORD flags, BYTE surface_alignment, struct wined3d_device_parent *device_parent) |
| void | device_invalidate_state (const struct wined3d_device *device, DWORD state) |
| void | get_drawable_size_fbo (const struct wined3d_context *context, UINT *width, UINT *height) |
| void | get_drawable_size_backbuffer (const struct wined3d_context *context, UINT *width, UINT *height) |
| LRESULT | device_process_message (struct wined3d_device *device, HWND window, BOOL unicode, UINT message, WPARAM wparam, LPARAM lparam, WNDPROC proc) |
Variables |
| struct wined3d_light | WINED3D_default_light |
| const float | identity [] |