Commit Graph

9493 Commits

Author SHA1 Message Date
Henri Verbeet 7fae37c0e1 wined3d: Move texture2d_load_drawable() to texture.c.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:08:27 +02:00
Henri Verbeet 5239000a9e wined3d: Pass a wined3d_context_gl structure to wined3d_buffer_gl_create_buffer_object().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:08:24 +02:00
Henri Verbeet 1381d179f9 wined3d: Pass a wined3d_context_gl structure to wined3d_buffer_gl_bind().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:08:22 +02:00
Henri Verbeet 8c231b018b wined3d: Pass a wined3d_context_gl structure to find_arb_vs_compile_args().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:08:20 +02:00
Henri Verbeet 620bb84551 wined3d: Pass a wined3d_context_gl structure to find_arb_ps_compile_args().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:08:17 +02:00
Zebediah Figura 0922237c83 wined3d: Use a backup device context for swapchains created on the desktop window.
This patch was written by "naur".

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=18490
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 22:51:55 +02:00
Henri Verbeet 3595c42a62 wined3d: Merge the wined3d_texture_gl texture ops implementations.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:05:52 +02:00
Henri Verbeet 17d159e3ca wined3d: Pass a wined3d_context_gl structure to find_arb_pshader().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:05:50 +02:00
Henri Verbeet 28d61adf5e wined3d: Pass a wined3d_context_gl structure to shader_arb_load_constants_internal().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:05:48 +02:00
Henri Verbeet f1918742cf wined3d: Pass a wined3d_context_gl structure to shader_arb_vs_local_constants().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:05:46 +02:00
Henri Verbeet 048f1b16bb wined3d: Pass a wined3d_context_gl structure to shader_arb_ps_local_constants().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:05:44 +02:00
Andrew Eikum 628d60a159 wined3d: Validate that we got a valid window in wined3d_device_setup_fullscreen_window().
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 08:48:36 +02:00
Henri Verbeet 9de80e1edd wined3d: Use wined3d_texture_gl_load_texture() in texture3d_load_location().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 08:47:34 +02:00
Henri Verbeet c9046a3f4e wined3d: Pass a wined3d_context_gl structure to destroy_dummy_textures().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 08:47:32 +02:00
Henri Verbeet f89a303bcb wined3d: Pass a wined3d_context_gl structure to context_draw_textured_quad().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 08:47:29 +02:00
Henri Verbeet a668fa8949 wined3d: Pass a wined3d_context_gl structure to context_draw_shaded_quad().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 08:47:27 +02:00
Henri Verbeet 292a15886a wined3d: Pass a wined3d_context_gl structure to context_unload_numbered_arrays().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 08:47:20 +02:00
Zhiyi Zhang a600760fa1 dxgi: Implement Alt+Enter handling.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 20:41:26 +02:00
Henri Verbeet b94a6b1efd wined3d: Do not acquire/release the focus window in wined3d_swapchain_set_fullscreen().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 20:41:26 +02:00
Henri Verbeet c4ba02aac4 wined3d: Use texture2d_load_texture() in texture1d_load_location().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 10:26:16 +02:00
Henri Verbeet 7dd4bb2ab6 wined3d: Pass a wined3d_context_gl structure to context_unload_numbered_array().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 10:26:14 +02:00
Henri Verbeet f585a301c7 wined3d: Pass a wined3d_context_gl structure to context_load_vertex_data().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 10:26:12 +02:00
Henri Verbeet 26203c8a58 wined3d: Pass a wined3d_context_gl structure to context_unload_vertex_data().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 10:26:09 +02:00
Henri Verbeet 6001575f9d wined3d: Pass a wined3d_context_gl structure to draw_indirect().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 10:26:05 +02:00
Henri Verbeet 19470fc870 wined3d: Use wined3d_texture_gl_load_sysmem() in texture3d_load_location().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 08:57:16 +02:00
Henri Verbeet 578e7cd566 wined3d: Pass a wined3d_context_gl structure to draw_primitive_arrays().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 08:57:13 +02:00
Henri Verbeet 3dce7bcffd wined3d: Pass a wined3d_context_gl structure to context_setup_target().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 08:57:11 +02:00
Henri Verbeet 50d8290b25 wined3d: Pass a wined3d_context_gl structure to context_pause_transform_feedback().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 08:57:09 +02:00
Henri Verbeet 9c746674e0 wined3d: Pass a wined3d_context_gl structure to context_bind_unordered_access_views().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 08:57:07 +02:00
Henri Verbeet 410cf7d24c wined3d: Use texture2d_load_sysmem() in texture1d_load_location().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 20:47:46 +02:00
Henri Verbeet cf48248b09 wined3d: Pass a wined3d_context_gl structure to context_apply_blit_projection().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 20:47:44 +02:00
Henri Verbeet adc4a9a345 wined3d: Pass a wined3d_context_gl structure to context_set_render_offscreen().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 20:47:41 +02:00
Henri Verbeet fdc2812d04 wined3d: Pass a wined3d_context_gl structure to context_apply_draw_buffers().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 20:47:39 +02:00
Henri Verbeet 3c448b5dac wined3d: Pass a wined3d_context_gl structure to context_create_fbo_entry().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 20:47:37 +02:00
Henri Verbeet 8e6d89b752 wined3d: Download texture data through the texture ops in wined3d_texture_download_from_texture().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 18:19:20 +02:00
Henri Verbeet c600fd86e1 wined3d: Pass a wined3d_context_gl structure to context_generate_fbo_key().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 18:19:18 +02:00
Henri Verbeet b5ecad008b wined3d: Pass a wined3d_context_gl structure to context_set_fbo_key_for_render_target().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 18:19:15 +02:00
Henri Verbeet 6c1bd3a067 wined3d: Pass a wined3d_context_gl structure to context_attach_surface_fbo().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 18:19:13 +02:00
Henri Verbeet 5a143e5a29 wined3d: Pass a wined3d_context_gl structure to context_attach_depth_stencil_fbo().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 18:19:11 +02:00
Paul Gofman c13351c05a wined3d: Do not zero 'w' with zero norm for 'nrm' opcode in GLSL backend.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 20:56:20 +02:00
Paul Gofman 447c9523f8 wined3d: Use 3 component norm for 'nrm' opcode in GLSL backend.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=8848
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 20:56:17 +02:00
Henri Verbeet eb5afc560c wined3d: Upload texture data through the texture ops in wined3d_texture_upload_from_texture().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 20:55:35 +02:00
Henri Verbeet ec6a830130 wined3d: Get rid of the unused "gl_info" argument to compute_texture_matrix().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 20:55:35 +02:00
Henri Verbeet f7c80fae51 wined3d: Pass a wined3d_context_gl structure to context_attach_gl_texture_fbo().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 20:55:35 +02:00
Henri Verbeet 90485cdcc7 wined3d: Pass a wined3d_context_gl structure to wined3d_sampler_bind().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 20:55:35 +02:00
Henri Verbeet f3ee4d40ce wined3d: Pass a wined3d_context_gl structure to wined3d_texture_gl_set_compatible_renderbuffer().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 20:55:35 +02:00
Henri Verbeet 2d36c1c253 wined3d: Upload texture data through the texture ops in surface_convert_format().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:11:38 +02:00
Henri Verbeet 5fcffb10f7 wined3d: Pass a wined3d_context_gl structure to wined3d_texture_gl_bind().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:11:35 +02:00
Henri Verbeet 6811cc6414 wined3d: Pass a wined3d_context_gl structure to wined3d_texture_gl_apply_sampler_desc().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:11:33 +02:00
Henri Verbeet ed9a6a2d67 wined3d: Pass a wined3d_context_gl structure to wined3d_texture_prepare_texture().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:11:30 +02:00