H A D | device.c | 176 static void device_stream_info_from_declaration(struct wined3d_device *device, struct wined3d_stream_info *stream_info) argument 178 const struct wined3d_state *state = &device->stateBlock->state; 212 buffer_get_memory(buffer, &device->adapter->gl_info, &data); 226 data.addr = buffer_get_sysmem(buffer, &device->adapter->gl_info); 282 if (!device->adapter->gl_info.supported[ARB_VERTEX_ARRAY_BGRA] 292 device->num_buffer_queries = 0; 313 element->data.addr = buffer_get_sysmem(buffer, &device->adapter->gl_info) + (ptrdiff_t)element->data.addr; 320 device->buffer_queries[device->num_buffer_queries++] = buffer->query; 325 void device_update_stream_info(struct wined3d_device *device, cons argument 373 device_preload_textures(const struct wined3d_device *device) argument 407 device_context_add(struct wined3d_device *device, struct wined3d_context *context) argument 428 device_context_remove(struct wined3d_device *device, struct wined3d_context *context) argument 470 device_switch_onscreen_ds(struct wined3d_device *device, struct wined3d_context *context, struct wined3d_surface *depth_stencil) argument 557 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) argument 738 wined3d_device_incref(struct wined3d_device *device) argument 747 wined3d_device_decref(struct wined3d_device *device) argument 795 HeapFree(GetProcessHeap(), 0, device); local 802 wined3d_device_get_swapchain_count(const struct wined3d_device *device) argument 809 wined3d_device_get_swapchain(const struct wined3d_device *device, UINT swapchain_idx) argument 824 device_load_logo(struct wined3d_device *device, const char *filename) argument 884 create_dummy_textures(struct wined3d_device *device, struct wined3d_context *context) argument 973 destroy_dummy_textures(struct wined3d_device *device, const struct wined3d_gl_info *gl_info) argument 1021 wined3d_device_setup_fullscreen_window(struct wined3d_device *device, HWND window, UINT w, UINT h) argument 1053 wined3d_device_restore_fullscreen_window(struct wined3d_device *device, HWND window) argument 1096 wined3d_device_acquire_focus_window(struct wined3d_device *device, HWND window) argument 1117 wined3d_device_release_focus_window(struct wined3d_device *device) argument 1129 wined3d_device_init_3d(struct wined3d_device *device, struct wined3d_swapchain_desc *swapchain_desc) argument 1284 wined3d_device_init_gdi(struct wined3d_device *device, struct wined3d_swapchain_desc *swapchain_desc) argument 1317 wined3d_device_uninit_3d(struct wined3d_device *device) argument 1450 wined3d_device_uninit_gdi(struct wined3d_device *device) argument 1473 wined3d_device_set_multithreaded(struct wined3d_device *device) argument 1482 wined3d_device_get_available_texture_mem(const struct wined3d_device *device) argument 1498 wined3d_device_set_stream_output(struct wined3d_device *device, UINT idx, struct wined3d_buffer *buffer, UINT offset) argument 1539 wined3d_device_get_stream_output(struct wined3d_device *device, UINT idx, UINT *offset) argument 1554 wined3d_device_set_stream_source(struct wined3d_device *device, UINT stream_idx, struct wined3d_buffer *buffer, UINT offset, UINT stride) argument 1621 wined3d_device_get_stream_source(const struct wined3d_device *device, UINT stream_idx, struct wined3d_buffer **buffer, UINT *offset, UINT *stride) argument 1646 wined3d_device_set_stream_source_freq(struct wined3d_device *device, UINT stream_idx, UINT divider) argument 1685 wined3d_device_get_stream_source_freq(const struct wined3d_device *device, UINT stream_idx, UINT *divider) argument 1700 wined3d_device_set_transform(struct wined3d_device *device, enum wined3d_transform_state d3dts, const struct wined3d_matrix *matrix) argument 1737 wined3d_device_get_transform(const struct wined3d_device *device, enum wined3d_transform_state state, struct wined3d_matrix *matrix) argument 1745 wined3d_device_multiply_transform(struct wined3d_device *device, enum wined3d_transform_state state, const struct wined3d_matrix *matrix) argument 1777 wined3d_device_set_light(struct wined3d_device *device, UINT light_idx, const struct wined3d_light *light) argument 1934 wined3d_device_get_light(const struct wined3d_device *device, UINT light_idx, struct wined3d_light *light) argument 1961 wined3d_device_set_light_enable(struct wined3d_device *device, UINT light_idx, BOOL enable) argument 2063 wined3d_device_get_light_enable(const struct wined3d_device *device, UINT light_idx, BOOL *enable) argument 2089 wined3d_device_set_clip_plane(struct wined3d_device *device, UINT plane_idx, const struct wined3d_vec4 *plane) argument 2123 wined3d_device_get_clip_plane(const struct wined3d_device *device, UINT plane_idx, struct wined3d_vec4 *plane) argument 2140 wined3d_device_set_clip_status(struct wined3d_device *device, const struct wined3d_clip_status *clip_status) argument 2151 wined3d_device_get_clip_status(const struct wined3d_device *device, struct wined3d_clip_status *clip_status) argument 2162 wined3d_device_set_material(struct wined3d_device *device, const struct wined3d_material *material) argument 2179 wined3d_device_get_material(const struct wined3d_device *device, struct wined3d_material *material) argument 2200 wined3d_device_set_index_buffer(struct wined3d_device *device, struct wined3d_buffer *buffer, enum wined3d_format_id format_id) argument 2241 wined3d_device_get_index_buffer(const struct wined3d_device *device, enum wined3d_format_id *format) argument 2250 wined3d_device_set_base_vertex_index(struct wined3d_device *device, INT base_index) argument 2257 wined3d_device_get_base_vertex_index(const struct wined3d_device *device) argument 2264 wined3d_device_set_viewport(struct wined3d_device *device, const struct wined3d_viewport *viewport) argument 2283 wined3d_device_get_viewport(const struct wined3d_device *device, struct wined3d_viewport *viewport) argument 2306 wined3d_device_set_render_state(struct wined3d_device *device, enum wined3d_render_state state, DWORD value) argument 2336 wined3d_device_get_render_state(const struct wined3d_device *device, enum wined3d_render_state state) argument 2343 wined3d_device_set_sampler_state(struct wined3d_device *device, UINT sampler_idx, enum wined3d_sampler_state state, DWORD value) argument 2381 wined3d_device_get_sampler_state(const struct wined3d_device *device, UINT sampler_idx, enum wined3d_sampler_state state) argument 2400 wined3d_device_set_scissor_rect(struct wined3d_device *device, const RECT *rect) argument 2421 wined3d_device_get_scissor_rect(const struct wined3d_device *device, RECT *rect) argument 2429 wined3d_device_set_vertex_declaration(struct wined3d_device *device, struct wined3d_vertex_declaration *declaration) argument 2460 wined3d_device_get_vertex_declaration(const struct wined3d_device *device) argument 2467 wined3d_device_set_vertex_shader(struct wined3d_device *device, struct wined3d_shader *shader) argument 2496 wined3d_device_get_vertex_shader(const struct wined3d_device *device) argument 2503 wined3d_device_set_vs_cb(struct wined3d_device *device, UINT idx, struct wined3d_buffer *buffer) argument 2542 wined3d_device_get_vs_cb(const struct wined3d_device *device, UINT idx) argument 2555 wined3d_device_set_vs_sampler(struct wined3d_device *device, UINT idx, struct wined3d_sampler *sampler) argument 2576 wined3d_device_get_vs_sampler(const struct wined3d_device *device, UINT idx) argument 2589 wined3d_device_set_vs_consts_b(struct wined3d_device *device, UINT start_register, const BOOL *constants, UINT bool_count) argument 2614 wined3d_device_get_vs_consts_b(const struct wined3d_device *device, UINT start_register, BOOL *constants, UINT bool_count) argument 2630 wined3d_device_set_vs_consts_i(struct wined3d_device *device, UINT start_register, const int *constants, UINT vector4i_count) argument 2657 wined3d_device_get_vs_consts_i(const struct wined3d_device *device, UINT start_register, int *constants, UINT vector4i_count) argument 2672 wined3d_device_set_vs_consts_f(struct wined3d_device *device, UINT start_register, const float *constants, UINT vector4f_count) argument 2710 wined3d_device_get_vs_consts_f(const struct wined3d_device *device, UINT start_register, float *constants, UINT vector4f_count) argument 2727 device_invalidate_texture_stage(const struct wined3d_device *device, DWORD stage) argument 2737 device_map_stage(struct wined3d_device *device, DWORD stage, DWORD unit) argument 2751 device_update_fixed_function_usage_map(struct wined3d_device *device) argument 2788 device_map_fixed_function_samplers(struct wined3d_device *device, const struct wined3d_d3d_info *d3d_info) argument 2830 device_map_psamplers(struct wined3d_device *device, const struct wined3d_d3d_info *d3d_info) argument 2848 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) argument 2873 device_map_vsamplers(struct wined3d_device *device, BOOL ps, const struct wined3d_gl_info *gl_info) argument 2915 device_update_tex_unit_map(struct wined3d_device *device) argument 2938 wined3d_device_set_pixel_shader(struct wined3d_device *device, struct wined3d_shader *shader) argument 2967 wined3d_device_get_pixel_shader(const struct wined3d_device *device) argument 2974 wined3d_device_set_ps_cb(struct wined3d_device *device, UINT idx, struct wined3d_buffer *buffer) argument 3013 wined3d_device_get_ps_cb(const struct wined3d_device *device, UINT idx) argument 3026 wined3d_device_set_ps_sampler(struct wined3d_device *device, UINT idx, struct wined3d_sampler *sampler) argument 3047 wined3d_device_get_ps_sampler(const struct wined3d_device *device, UINT idx) argument 3060 wined3d_device_set_ps_consts_b(struct wined3d_device *device, UINT start_register, const BOOL *constants, UINT bool_count) argument 3085 wined3d_device_get_ps_consts_b(const struct wined3d_device *device, UINT start_register, BOOL *constants, UINT bool_count) argument 3101 wined3d_device_set_ps_consts_i(struct wined3d_device *device, UINT start_register, const int *constants, UINT vector4i_count) argument 3128 wined3d_device_get_ps_consts_i(const struct wined3d_device *device, UINT start_register, int *constants, UINT vector4i_count) argument 3144 wined3d_device_set_ps_consts_f(struct wined3d_device *device, UINT start_register, const float *constants, UINT vector4f_count) argument 3182 wined3d_device_get_ps_consts_f(const struct wined3d_device *device, UINT start_register, float *constants, UINT vector4f_count) argument 3199 wined3d_device_set_geometry_shader(struct wined3d_device *device, struct wined3d_shader *shader) argument 3218 wined3d_device_get_geometry_shader(const struct wined3d_device *device) argument 3225 wined3d_device_set_gs_cb(struct wined3d_device *device, UINT idx, struct wined3d_buffer *buffer) argument 3264 wined3d_device_get_gs_cb(const struct wined3d_device *device, UINT idx) argument 3277 wined3d_device_set_gs_sampler(struct wined3d_device *device, UINT idx, struct wined3d_sampler *sampler) argument 3298 wined3d_device_get_gs_sampler(const struct wined3d_device *device, UINT idx) argument 3314 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) argument 3580 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) argument 3642 wined3d_device_set_texture_stage_state(struct wined3d_device *device, UINT stage, enum wined3d_texture_stage_state state, DWORD value) argument 3734 wined3d_device_get_texture_stage_state(const struct wined3d_device *device, UINT stage, enum wined3d_texture_stage_state state) argument 3749 wined3d_device_set_texture(struct wined3d_device *device, UINT stage, struct wined3d_texture *texture) argument 3855 wined3d_device_get_texture(const struct wined3d_device *device, UINT stage) argument 3871 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) argument 3887 wined3d_device_get_device_caps(const struct wined3d_device *device, WINED3DCAPS *caps) argument 3895 wined3d_device_get_display_mode(const struct wined3d_device *device, UINT swapchain_idx, struct wined3d_display_mode *mode, enum wined3d_display_rotation *rotation) argument 3909 wined3d_device_begin_stateblock(struct wined3d_device *device) argument 3932 wined3d_device_end_stateblock(struct wined3d_device *device, struct wined3d_stateblock **stateblock) argument 3958 wined3d_device_begin_scene(struct wined3d_device *device) argument 3973 wined3d_device_end_scene(struct wined3d_device *device) argument 3996 wined3d_device_present(const struct wined3d_device *device, const RECT *src_rect, const RECT *dst_rect, HWND dst_window_override, const RGNDATA *dirty_region, DWORD flags) argument 4015 wined3d_device_clear(struct wined3d_device *device, DWORD rect_count, const RECT *rects, DWORD flags, const struct wined3d_color *color, float depth, DWORD stencil) argument 4056 wined3d_device_set_primitive_type(struct wined3d_device *device, enum wined3d_primitive_type primitive_type) argument 4072 wined3d_device_get_primitive_type(const struct wined3d_device *device, enum wined3d_primitive_type *primitive_type) argument 4082 wined3d_device_draw_primitive(struct wined3d_device *device, UINT start_vertex, UINT vertex_count) argument 4104 wined3d_device_draw_indexed_primitive(struct wined3d_device *device, UINT start_idx, UINT index_count) argument 4138 wined3d_device_draw_indexed_primitive_instanced(struct wined3d_device *device, UINT start_idx, UINT index_count, UINT start_instance, UINT instance_count) argument 4147 device_update_volume(struct wined3d_device *device, struct wined3d_volume *src_volume, struct wined3d_volume *dst_volume) argument 4178 wined3d_device_update_texture(struct wined3d_device *device, struct wined3d_texture *src_texture, struct wined3d_texture *dst_texture) argument 4284 wined3d_device_get_front_buffer_data(const struct wined3d_device *device, UINT swapchain_idx, struct wined3d_surface *dst_surface) argument 4297 wined3d_device_validate_device(const struct wined3d_device *device, DWORD *num_passes) argument 4360 wined3d_device_set_software_vertex_processing(struct wined3d_device *device, BOOL software) argument 4375 wined3d_device_get_software_vertex_processing(const struct wined3d_device *device) argument 4390 wined3d_device_get_raster_status(const struct wined3d_device *device, UINT swapchain_idx, struct wined3d_raster_status *raster_status) argument 4404 wined3d_device_set_npatch_mode(struct wined3d_device *device, float segments) argument 4422 wined3d_device_get_npatch_mode(const struct wined3d_device *device) argument 4437 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) argument 4456 wined3d_device_color_fill(struct wined3d_device *device, struct wined3d_surface *surface, const RECT *rect, const struct wined3d_color *color) argument 4481 wined3d_device_clear_rendertarget_view(struct wined3d_device *device, struct wined3d_rendertarget_view *rendertarget_view, const struct wined3d_color *color) argument 4500 wined3d_device_get_render_target(const struct wined3d_device *device, UINT render_target_idx) argument 4514 wined3d_device_get_depth_stencil(const struct wined3d_device *device) argument 4521 wined3d_device_set_render_target(struct wined3d_device *device, UINT render_target_idx, struct wined3d_surface *render_target, BOOL set_viewport) argument 4588 wined3d_device_set_depth_stencil(struct wined3d_device *device, struct wined3d_surface *depth_stencil) argument 4640 wined3d_device_set_cursor_properties(struct wined3d_device *device, UINT x_hotspot, UINT y_hotspot, struct wined3d_surface *cursor_image) argument 4785 wined3d_device_set_cursor_position(struct wined3d_device *device, int x_screen_space, int y_screen_space, DWORD flags) argument 4814 wined3d_device_show_cursor(struct wined3d_device *device, BOOL show) argument 4849 wined3d_device_evict_managed_resources(struct wined3d_device *device) argument 4872 delete_opengl_contexts(struct wined3d_device *device, struct wined3d_swapchain *swapchain) argument 4928 create_primary_opengl_context(struct wined3d_device *device, struct wined3d_swapchain *swapchain) argument 4988 wined3d_device_reset(struct wined3d_device *device, const struct wined3d_swapchain_desc *swapchain_desc, const struct wined3d_display_mode *mode, wined3d_device_reset_cb callback, BOOL reset_state) argument 5327 wined3d_device_set_dialog_box_mode(struct wined3d_device *device, BOOL enable_dialogs) argument 5337 wined3d_device_get_creation_parameters(const struct wined3d_device *device, struct wined3d_device_creation_parameters *parameters) argument 5345 wined3d_device_set_gamma_ramp(const struct wined3d_device *device, UINT swapchain_idx, DWORD flags, const struct wined3d_gamma_ramp *ramp) argument 5357 wined3d_device_get_gamma_ramp(const struct wined3d_device *device, UINT swapchain_idx, struct wined3d_gamma_ramp *ramp) argument 5369 device_resource_add(struct wined3d_device *device, struct wined3d_resource *resource) argument 5376 device_resource_remove(struct wined3d_device *device, struct wined3d_resource *resource) argument 5383 device_resource_released(struct wined3d_device *device, struct wined3d_resource *resource) argument 5491 wined3d_device_get_surface_from_dc(const struct wined3d_device *device, HDC dc) argument 5517 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) argument 5588 device_invalidate_state(const struct wined3d_device *device, DWORD state) argument 5626 device_process_message(struct wined3d_device *device, HWND window, BOOL unicode, UINT message, WPARAM wparam, LPARAM lparam, WNDPROC proc) argument 5659 wined3d_device_flush(struct wined3d_device *device) argument 5671 wined3d_device_flush_to_host(struct wined3d_device *device) argument 5685 wined3d_device_finish(struct wined3d_device *device) argument 5698 wined3d_device_get_host_id(struct wined3d_device *device, int32_t *pid) argument 5733 zv_create(struct wined3d_device *device, GLenum enmzvValue, GLuint czvValue, GLuint czvValueElements, const GLvoid *pzvValue) argument 5793 zv_destroy(struct wined3d_device *device) argument 5807 struct wined3d_device *device = context->swapchain->device; local [all...] |