Henri Verbeet
3de4515c18
wined3d: Implement 3D texture clears in surface_cpu_blt_colour_fill().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 20:17:09 +02:00
Henri Verbeet
0a0ab960fb
wined3d: Set WINED3D_BLT_RAW for raw blits in cpu_blitter_blit().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 20:17:07 +02:00
Henri Verbeet
65164450d6
wined3d: Make the adapter responsible for flushes.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 20:17:04 +02:00
Henri Verbeet
1174c894e8
wined3d: Make the adapter responsible for query creation and destruction.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 20:17:01 +02:00
Henri Verbeet
5356292ee9
wined3d: Introduce a separate structure for OpenGL sampler information.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 20:16:58 +02:00
Henri Verbeet
41995669d0
wined3d: Make the adapter responsible for sampler creation and destruction.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 17:41:01 +02:00
Matteo Bruni
493f4098c6
wined3d: Allow cross-swapchain blits in the supported cases.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 14:30:48 +02:00
Matteo Bruni
cdacbd9850
wined3d: Get rid of surface_blt_special() fallback in wined3d_surface_blt().
...
It turns out it was actually dead code. The last remaining caller was
the cross-swapchain blit case but surface_blt_special() actually
rejected those (or any swapchain to swapchain blit).
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 14:30:43 +02:00
Matteo Bruni
b3bf2c4f26
wined3d: Clean up fallback paths in wined3d_surface_blt().
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 14:30:39 +02:00
Matteo Bruni
fdf37d3e51
wined3d: Get rid of wined3d_max_compat_varyings().
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 14:30:33 +02:00
Matteo Bruni
4774db8880
wined3d: Fix color mask 1-3 state setting.
...
Fixes a regression from commit
74b9ef2c1d
.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-14 14:30:29 +02:00
Henri Verbeet
9bbe8ec590
wined3d: Get rid of a redundant NULL check in wined3d_context_gl_acquire() (Coverity).
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 11:02:52 +02:00
Henri Verbeet
b27f961eeb
wined3d: Move the context array from struct wined3d_swapchain to struct wined3d_swapchain_gl.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 11:02:50 +02:00
Henri Verbeet
17ce100766
wined3d: Move the backup window from struct wined3d_swapchain to struct wined3d_swapchain_gl.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 11:02:47 +02:00
Henri Verbeet
eef96e89ac
wined3d: Introduce a separate structure for OpenGL swapchain information.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 11:02:44 +02:00
Henri Verbeet
e3e9bdeedb
wined3d: Make the adapter responsible for texture creation and destruction.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 11:02:40 +02:00
Henri Verbeet
96567c6900
wined3d: Report a few more ddraw surface caps on 3D devices.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:33:02 +02:00
Henri Verbeet
4773e0add0
wined3d: Report WINEDDSCAPS_BACKBUFFER and WINEDDSCAPS_FRONTBUFFER only on 3D devices.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:59 +02:00
Henri Verbeet
5eca371a6c
wined3d: Always report WINEDDSCAPS_TEXTURE, WINEDDSCAPS_ZBUFFER and WINEDDSCAPS_MIPMAP.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:55 +02:00
Henri Verbeet
1500693828
wined3d: Never report WINEDDSCAPS_ALPHA, WINEDDSCAPS_SYSTEMMEMORY and WINEDDSCAPS_VISIBLE.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:52 +02:00
Henri Verbeet
eeed93464b
wined3d: Make the adapter responsible for unordered access view creation and destruction.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:41 +02:00
Henri Verbeet
a3241fa2a8
wined3d: Make the adapter responsible for shader resource view creation and destruction.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:36 +02:00
Henri Verbeet
b7e134f80a
wined3d: Make the adapter responsible for render target view creation and destruction.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:33 +02:00
Henri Verbeet
da3eb0e752
wined3d: Don't call wined3d_texture_prepare_location() with a NULL context in wined3d_texture_update_desc().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:31 +02:00
Henri Verbeet
5b3f89ae8d
wined3d: Make the adapter responsible for buffer creation and destruction.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:25 +02:00
Henri Verbeet
e1448751ea
wined3d: Download buffer ranges through buffer ops.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 09:02:10 +02:00
Henri Verbeet
ac7ca87a68
wined3d: Upload buffer ranges through buffer ops.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 09:02:07 +02:00
Henri Verbeet
3ab6b82932
wined3d: Setup and tear down the shader backend for the Vulkan adapter.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 09:02:03 +02:00
Henri Verbeet
f654f983fa
wined3d: Introduce a structure for Vulkan context information.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 09:02:00 +02:00
Henri Verbeet
7170f67456
wined3d: Make the adapter responsible for swapchain creation and destruction.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 09:01:55 +02:00
Kai Krakow
682805ec6a
wined3d: Add GPU information for NVIDIA GTX 1660 Ti.
...
Signed-off-by: Kai Krakow <kai@kaishome.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 20:02:24 +02:00
Henri Verbeet
2ddb6b66a7
wined3d: Get rid of the "dirtyArray" field from struct wined3d_context.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 19:56:22 +02:00
Henri Verbeet
3bc8df5166
wined3d: Invalidate the relevant sampler when unloading a currently bound texture.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 19:56:20 +02:00
Henri Verbeet
6a66af88de
wined3d: Move the "level" field from struct wined3d_context to struct wined3d_context_gl.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 19:56:18 +02:00
Henri Verbeet
74b9ef2c1d
wined3d: Move the "gl_info" field from struct wined3d_context to struct wined3d_context_gl.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 19:56:16 +02:00
Henri Verbeet
844a5ad74f
wined3d: Use the format info to determine the A8_UNORM output swizzle in find_ps_compile_args().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 19:56:13 +02:00
Henri Verbeet
c3e2909fd3
wined3d: Store the maximum number of "compat" varyings in struct wined3d_d3d_limits.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-06 08:41:35 +02:00
Henri Verbeet
ca6cbb73e1
wined3d: Store fixed-function alpha test support in struct wined3d_d3d_info.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-06 08:41:32 +02:00
Henri Verbeet
e795ddb3d8
wined3d: Store clip control support in struct wined3d_d3d_info.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-06 08:41:29 +02:00
Henri Verbeet
d4fa7e4cfc
wined3d: Store sRGB write control support in struct wined3d_d3d_info.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-06 08:41:27 +02:00
Henri Verbeet
60938b4e94
wined3d: Store sRGB read control support in struct wined3d_d3d_info.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-06 08:41:24 +02:00
Henri Verbeet
4f86e35c53
wined3d: Use d3d_info to determine whether shader outputs need interpolation qualifiers.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:45:06 +02:00
Henri Verbeet
1c41aac4a4
wined3d: Get rid of the float16 fallback in context_update_stream_info().
...
This is never used, since we reject creation of vertex declarations that
contain any elements with unsupported formats.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:45:03 +02:00
Henri Verbeet
337dc8a272
wined3d: Use d3d_info to determine BGRA vertex support in context_update_stream_info().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:45:01 +02:00
Henri Verbeet
157440e3d3
wined3d: Return a wined3d_context_gl structure from context_get_current().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:44:58 +02:00
Henri Verbeet
360e1a46d8
wined3d: Pass a wined3d_context_gl structure to context_set_current().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:44:55 +02:00
Kristján Gerhardsson
8003f1fd64
wined3d: Add GPU information for a few more Intel KBL GPUs.
...
Signed-off-by: Kristján Gerhardsson <kristjang@ccpgames.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:44:51 +02:00
Kristján Gerhardsson
29172fb7e2
wined3d: Add GPU information for AMD VEGA20.
...
Signed-off-by: Kristján Gerhardsson <kristjang@ccpgames.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:44:51 +02:00
Zebediah Figura
236f590fd6
wined3d: Inhibit the screensaver while a full-screen application has focus.
...
This matches Windows behaviour at least as of Windows 7.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:44:39 +02:00
Józef Kucia
14dee7bd0d
wined3d: Fix memory leak in wined3d_swapchain_state_create() (Coverity).
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:44:37 +02:00
Józef Kucia
62f2cd1b47
wined3d: Add support for GL_EXT_texture_shadow_lod.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 16:56:46 +02:00
Henri Verbeet
25bc1a334c
wined3d: Use d3d_info to determine BGRA vertex support in wined3d_buffer_load().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 08:58:58 +02:00
Henri Verbeet
aaf57e761a
wined3d: Pass a wined3d_context_gl structure to wined3d_shader_resource_view_gl_bind().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 08:58:55 +02:00
Henri Verbeet
b848b2bcf3
wined3d: Pass a wined3d_context_gl structure to texture_download_data_slow_path().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 08:58:53 +02:00
Henri Verbeet
df5357cda0
wined3d: Pass a wined3d_context_gl structure to swapchain_gl_set_swap_interval().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 08:58:51 +02:00
Henri Verbeet
e246d9227f
wined3d: Pass a wined3d_context_gl structure to wined3d_sampler_desc_from_sampler_states().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 08:58:48 +02:00
Conor McCarthy
9b493d42c4
dxgi: Implement d3d12_swapchain_SetFullscreenState().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 08:04:48 +02:00
Conor McCarthy
6d64bfc28b
dxgi: Implement d3d12_swapchain_ResizeTarget().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 08:04:42 +02:00
Henri Verbeet
71e8a32479
wined3d: Replace wined3d_swapchain_resize_target() with wined3d_swapchain_state_resize_target().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 08:04:39 +02:00
Henri Verbeet
d51e825443
wined3d: Rename wined3d_window_state_restore_from_fullscreen() to wined3d_swapchain_state_restore_from_fullscreen().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 08:04:36 +02:00
Henri Verbeet
9cb81bfad4
wined3d: Pass a wined3d_context structure to fragment_pipeline.enable_extension().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 08:03:26 +02:00
Henri Verbeet
fe17f2adf9
wined3d: Pass a wined3d_context_gl structure to glsl_free_blitter_program().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 08:03:22 +02:00
Henri Verbeet
6a89bb057b
wined3d: Store a wined3d_context_gl structure in struct glsl_ffp_destroy_ctx.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 08:03:19 +02:00
Henri Verbeet
c65f21be99
wined3d: Pass a wined3d_context_gl structure to atifs_free_ffpshader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 08:03:14 +02:00
Henri Verbeet
d627239cac
wined3d: Pass a wined3d_context_gl structure to arbfp_free_blit_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 08:03:12 +02:00
Henri Verbeet
bed677e343
wined3d: Move the "desc" field from struct wined3d_swapchain to struct wined3d_swapchain_state.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:30:11 +02:00
Conor McCarthy
3fc96a5d35
wined3d: Track windows styles per-swapchain.
...
Instead of per-device.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:30:09 +02:00
Henri Verbeet
0521cc0b8b
wined3d: Filter messages per-window instead of per-device.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:30:07 +02:00
Henri Verbeet
5f96c5e264
wined3d: Setup/restore fullscreen window state inside wined3d.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:30:05 +02:00
Kristján Gerhardsson
f49b27ce22
wined3d: Add GPU information for various Mac GPUs.
...
Signed-off-by: Kristjan Gerhardsson <kristjang@ccpgames.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:29:40 +02:00
Henri Verbeet
e8d86d43a8
wined3d: Pass a wined3d_context structure to wined3d_vertex_pipe_ops.vp_enable().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:29:35 +02:00
Henri Verbeet
d53643ca1d
wined3d: Pass a wined3d_context_gl structure to arbfp_free_ffpshader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:29:33 +02:00
Henri Verbeet
7b62dcf0bb
wined3d: Don't acquire a context in wined3d_texture_load_drawable().
...
The one we already have should be fine.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:29:31 +02:00
Henri Verbeet
96a0a54c52
wined3d: Acquire front-buffer contexts when blitting to the drawable in texture2d_blt_fbo().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:29:29 +02:00
Henri Verbeet
57d158622f
wined3d: Acquire a context for the front buffer in swapchain_gl_present().
...
Since context_acquire() doesn't take the resource location into account, it
may consider the back-buffer to be offscreen, and return an already active
context for a different swapchain. This fixes a regression introduced by
commit 64d41b3dec
.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 08:29:27 +02:00
Henri Verbeet
40a83b2ff3
wined3d: Handle context acquisition failure in wined3d_device_create_primary_opengl_context_cs().
...
Now that we no longer always call context_acquire() from
swapchain_init(), context acquisition can fail here instead.
This fixes a regression introduced by commit
64d41b3dec
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47468
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-06 21:47:58 +02:00
Paul Gofman
a9eca729bc
wined3d: Fixup 2D sampler when sampling 3D texture for PS models 2 and 3.
...
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-07-05 20:39:32 +02:00
Paul Gofman
34eeb0a877
wined3d: Fixup 3D sampler when sampling 2D texture for PS models 2 and 3.
...
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-07-05 20:39:30 +02:00
Paul Gofman
9607a427de
wined3d: Do not modify shader register maps in backends.
...
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-07-05 20:39:27 +02:00
Henri Verbeet
3bc3fce811
wined3d: Merge wined3d_texture_download_data() and wined3d_texture_gl_download_data().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 17:43:54 +02:00
Henri Verbeet
7b13749fc8
wined3d: Pass a wined3d_context_gl structure to wined3d_pipeline_statistics_query_end().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 17:43:54 +02:00
Henri Verbeet
3c82bb74eb
wined3d: Pass a wined3d_context_gl structure to wined3d_so_statistics_query_end().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 17:43:54 +02:00
Henri Verbeet
5f69c15645
wined3d: Pass a wined3d_context_gl structure to wined3d_query_buffer_queue_result().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 17:43:53 +02:00
Henri Verbeet
ca35a55637
wined3d: Pass a wined3d_context_gl structure to wined3d_query_destroy_buffer_object().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 17:43:53 +02:00
Henri Verbeet
64d41b3dec
wined3d: Try harder to reuse the current context.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 21:14:54 +02:00
Henri Verbeet
d7fd641482
wined3d: Pass a wined3d_context_gl structure to wined3d_query_create_buffer_object().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 21:14:54 +02:00
Henri Verbeet
2e49b85f97
wined3d: Pass a wined3d_context_gl structure to nvts_activate_dimensions().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 21:14:54 +02:00
Henri Verbeet
14f1cc73e7
wined3d: Pass a wined3d_context_gl structure to glsl_blitter_get_program().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 21:14:54 +02:00
Henri Verbeet
48d710dce9
wined3d: Pass a wined3d_context_gl structure to set_glsl_shader_program().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 21:14:54 +02:00
Henri Verbeet
4ed190e8ac
wined3d: Also try to create a depth/stencil buffer for WINED3D_NO3D devices in swapchain_init().
...
If requested. It will fail as it should, but the client library should never
request it. I.e., the additional check is redundant.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 15:24:52 +02:00
Henri Verbeet
3d8c15dc85
wined3d: Pass a wined3d_context_gl structure to set_glsl_compute_shader_program().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 15:24:52 +02:00
Henri Verbeet
7d8ad2e8d8
wined3d: Pass a wined3d_context_gl structure to find_glsl_compute_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 15:24:42 +02:00
Henri Verbeet
dbb0139e3e
wined3d: Pass a wined3d_context_gl structure to shader_glsl_compile_compute_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 15:24:39 +02:00
Henri Verbeet
d86f6a4ab7
wined3d: Pass a wined3d_context_gl structure to shader_glsl_find_ffp_fragment_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 15:24:36 +02:00
Henri Verbeet
1ba7247a4f
wined3d: Unhook swapchains in swapchain_cleanup().
...
So that the hook is properly removed on failure in wined3d_swapchain_create().
This is a somewhat theoretical though, since in practice
WINED3D_SWAPCHAIN_HOOK and WINED3D_SWAPCHAIN_IMPLICIT are never used together.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 08:00:03 +02:00
Henri Verbeet
3a2a176a7b
wined3d: Pass a wined3d_context_gl structure to shader_glsl_generate_ffp_fragment_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 08:00:01 +02:00
Henri Verbeet
9d7ca718e0
wined3d: Pass a wined3d_context_gl structure to find_glsl_geometry_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 07:59:59 +02:00
Henri Verbeet
32dbfda4d5
wined3d: Pass a wined3d_context_gl structure to find_glsl_domain_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 07:59:57 +02:00
Henri Verbeet
62d6520fa6
wined3d: Pass a wined3d_context_gl structure to find_glsl_hull_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 07:59:55 +02:00
Henri Verbeet
e867d986d5
wined3d: Pass a wined3d_context_gl structure to find_glsl_vshader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:40:42 +02:00
Henri Verbeet
6bf34c8366
wined3d: Pass a wined3d_context_gl structure to find_glsl_pshader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:40:40 +02:00
Henri Verbeet
3d765ae072
wined3d: Pass a wined3d_context_gl structure to shader_glsl_generate_compute_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:40:37 +02:00
Henri Verbeet
9eb34e4f74
wined3d: Pass a wined3d_context_gl structure to shader_glsl_generate_geometry_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:40:35 +02:00
Henri Verbeet
08033be01b
wined3d: Use Windows 7 as fallback driver version in wined3d_driver_info_init().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-28 08:11:26 +02:00
Henri Verbeet
03a06f4ef2
wined3d: Pass a wined3d_context_gl structure to shader_glsl_generate_domain_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-28 08:11:24 +02:00
Henri Verbeet
eaf48206c1
wined3d: Pass a wined3d_context_gl structure to shader_glsl_generate_hull_shader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-28 08:11:22 +02:00
Henri Verbeet
c85df2edc6
wined3d: Pass a wined3d_context_gl structure to shader_glsl_generate_vshader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-28 08:11:20 +02:00
Henri Verbeet
c65d522f91
wined3d: Pass a wined3d_context_gl structure to shader_glsl_generate_pshader().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-28 08:11:15 +02:00
Henri Verbeet
6d417f7890
wined3d: Explicitly handle Windows 2 & 3 in wined3d_driver_info_init().
...
By returning Windows 9x driver versions.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 19:37:05 +02:00
Henri Verbeet
62179b511f
wined3d: Pass a wined3d_context_gl structure to shader_generate_glsl_declarations().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 19:37:03 +02:00
Henri Verbeet
7710f67354
wined3d: Pass a wined3d_context_gl structure to shader_glsl_clip_plane_uniform().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 19:37:01 +02:00
Henri Verbeet
e9dc1dfc2f
wined3d: Pass a wined3d_context_gl structure to shader_glsl_load_fog_uniform().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 19:36:59 +02:00
Henri Verbeet
45c3c20dbf
wined3d: Pass a wined3d_context_gl structure to shader_glsl_pointsize_uniform().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 19:36:57 +02:00
Henri Verbeet
0bcb2de66a
wined3d: Handle Windows 8.1 in wined3d_driver_info_init().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 23:08:56 +02:00
Henri Verbeet
68c665576b
wined3d: Pass a wined3d_context_gl structure to shader_glsl_ffp_vertex_light_uniform().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 23:08:56 +02:00
Henri Verbeet
e0ff34913e
wined3d: Pass a wined3d_context_gl structure to shader_glsl_ffp_vertex_lightambient_uniform().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 23:08:56 +02:00
Henri Verbeet
7fc2b67228
wined3d: Pass a wined3d_context_gl structure to shader_glsl_ffp_vertex_material_uniform().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 23:08:56 +02:00
Henri Verbeet
43daf74786
wined3d: Pass a wined3d_context_gl structure to shader_glsl_ffp_vertex_texmatrix_uniform().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 23:08:56 +02:00
Zebediah Figura
d601fd9234
wined3d: Store the cursor texture in a local variable in swapchain_gl_present().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47392
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-25 19:21:28 +02:00
Jactry Zeng
c5577721b9
wined3d: Drop support for WINED3DFMT_D32_UNORM.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 08:27:56 +02:00
Henri Verbeet
1f8a3b04b9
wined3d: Move texture2d_load_renderbuffer() to texture.c.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 08:27:21 +02:00
Henri Verbeet
973d96eb7e
wined3d: Pass a wined3d_context_gl structure to shader_glsl_ffp_vertex_normalmatrix_uniform().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 08:27:18 +02:00
Henri Verbeet
3484871f2c
wined3d: Pass a wined3d_context_gl structure to shader_glsl_init_transform_feedback().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 08:27:16 +02:00
Henri Verbeet
84f8bf2400
wined3d: Pass a wined3d_context_gl structure to shader_glsl_load_program_resources().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 08:27:14 +02:00
Henri Verbeet
633cd82a3d
wined3d: Pass a wined3d_context_gl structure to wined3d_buffer_gl_destroy_buffer_object().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 08:27:08 +02:00
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