Henri Verbeet
|
d511b67da3
|
d3d9: Disallow creating managed 2D textures on d3d9ex devices.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-23 20:17:44 +01:00 |
Henri Verbeet
|
4d6dfd5d19
|
d3d9: Disallow creating managed cube textures on d3d9ex devices.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-23 20:17:44 +01:00 |
Henri Verbeet
|
8d567bc9e2
|
d3d9: Disallow creating managed 3D textures on d3d9ex devices.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-22 23:55:58 +01:00 |
Henri Verbeet
|
0ffaf5c28a
|
d3d9: Do not add map access indiscriminately in cubetexture_init().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-21 17:06:34 +01:00 |
Henri Verbeet
|
949dbbd31f
|
d3d9: Do not add map access indiscriminately in texture_init().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-21 17:06:32 +01:00 |
Henri Verbeet
|
c3c98ed4a9
|
d3d9: Disallow rendertarget and depth/stencil usage on 3D textures.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-20 16:26:04 +01:00 |
Henri Verbeet
|
4ef181df6d
|
d3d9: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in cubetexture_init().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-09 21:08:09 +01:00 |
Henri Verbeet
|
ee4c5bb3e3
|
d3d9: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in texture_init().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-09 21:08:09 +01:00 |
Henri Verbeet
|
03c1422a71
|
wined3d: Get rid of WINED3DUSAGE_TEXTURE.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-06 11:14:36 +01:00 |
Henri Verbeet
|
ae6553bd0b
|
wined3d: Pass bind flags to wined3d_check_device_format().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-10-31 16:17:36 +01:00 |
Henri Verbeet
|
7cba915710
|
wined3d: Pass correct bind flags to texture creation functions.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-10-31 16:17:36 +01:00 |
Matteo Bruni
|
ec74a30a18
|
d3d9: Create single-level textures if the format doesn't support AUTOGENMIPMAP.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-12 17:57:35 +01:00 |
Henri Verbeet
|
6ca15e9c13
|
wined3d: Split WINED3D_RESOURCE_ACCESS_MAP into WINED3D_RESOURCE_ACCESS_MAP_R and WINED3D_RESOURCE_ACCESS_MAP_W.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-02-19 13:43:52 +01:00 |
Matteo Bruni
|
280ea40aab
|
d3d9: Introduce a d3d9_texture_cleanup() function.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-02-16 19:04:40 +01:00 |
Matteo Bruni
|
3d6eb8cf1d
|
d3d9: Handle D3DUSAGE_AUTOGENMIPMAP textures entirely in d3d9.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-02-14 20:37:55 +01:00 |
Henri Verbeet
|
02dc04bcc9
|
wined3d: Do not implicitly set WINED3D_RESOURCE_ACCESS_MAP for dynamic resources.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-02-14 09:06:51 +01:00 |
Henri Verbeet
|
5ceaf934de
|
d3d9: Set WINED3D_RESOURCE_ACCESS_MAP on 2D textures.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-02-13 20:23:26 +01:00 |
Henri Verbeet
|
31250d6d4d
|
d3d9: Use the global memory allocation helpers.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-02-07 10:05:51 +01:00 |
Henri Verbeet
|
9275b06cc0
|
wined3d: Replace the pool in struct wined3d_resource_desc with resource access flags.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-02-02 18:36:45 +01:00 |
Henri Verbeet
|
916c13c6c1
|
wined3d: Replace the pool in struct wined3d_sub_resource_desc with resource access flags.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-02-02 18:36:42 +01:00 |
Henri Verbeet
|
2abf1dd323
|
wined3d: Get rid of WINED3D_POOL_SCRATCH.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-01-29 20:29:00 +01:00 |
Matteo Bruni
|
dfba903bb2
|
d3d9: Stop calling wined3d_texture_generate_mipmaps().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-05 20:30:05 +01:00 |
Henri Verbeet
|
df6120274d
|
wined3d: Introduce a helper function to assign wined3d_box values.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-07 11:37:28 +02:00 |
Nikolay Sivov
|
1a7ddf8dd9
|
dxgi: Added support for DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-09 13:16:57 +01:00 |
Nikolay Sivov
|
53b7a2a1a1
|
wined3d: Add texture flag to indicate GetDC() capability.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-09-02 23:34:25 +09:00 |
Henri Verbeet
|
53165034ba
|
wined3d: Unify resource preloads.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-11 12:08:58 +09:00 |
Józef Kucia
|
64014ae3ed
|
wined3d: Add "layer_count" parameter to wined3d_texture_create().
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>
|
2016-04-26 21:35:31 +09:00 |
Henri Verbeet
|
9f51e8f77e
|
d3d9: Use wined3d_texture_get_sub_resource_desc() in d3d9_texture_3d_GetLevelDesc().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-03 13:00:47 +09:00 |
Henri Verbeet
|
63256e31b3
|
d3d9: Use wined3d_texture_get_sub_resource_desc() in d3d9_texture_cube_GetLevelDesc().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-02 12:08:16 +09:00 |
Henri Verbeet
|
47c20218b7
|
d3d9: Use wined3d_texture_get_sub_resource_desc() in d3d9_texture_2d_GetLevelDesc().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-02 12:08:14 +09:00 |
Henri Verbeet
|
17ce029f55
|
d3d9: Use wined3d_texture_get_sub_resource_parent() in d3d9_texture_3d_GetVolumeLevel().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-26 18:38:56 +09:00 |
Henri Verbeet
|
6f98e85783
|
d3d9: Use wined3d_texture_get_sub_resource_parent() in d3d9_texture_3d_UnlockBox().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-26 18:38:52 +09:00 |
Henri Verbeet
|
9c280ddc84
|
d3d9: Use wined3d_texture_get_sub_resource_parent() in d3d9_texture_3d_LockBox().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-26 18:38:48 +09:00 |
Henri Verbeet
|
74bc7c4338
|
d3d9: Use wined3d_texture_get_sub_resource_parent() in d3d9_texture_cube_GetCubeMapSurface().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-26 18:38:43 +09:00 |
Henri Verbeet
|
ec590c8404
|
d3d9: Use wined3d_texture_get_sub_resource_parent() in d3d9_texture_cube_UnlockRect().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-26 18:38:38 +09:00 |
Henri Verbeet
|
a020fe383e
|
d3d9: Use wined3d_texture_get_sub_resource_parent in d3d9_texture_cube_LockRect().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-24 10:33:24 +09:00 |
Henri Verbeet
|
92f1afc045
|
d3d9: Use wined3d_texture_get_sub_resource_parent() in d3d9_texture_2d_GetSurfaceLevel().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-24 10:33:20 +09:00 |
Henri Verbeet
|
75c3a08eb2
|
d3d9: Use wined3d_texture_get_sub_resource_parent() in d3d9_texture_2d_UnlockRect().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-24 10:33:16 +09:00 |
Henri Verbeet
|
8e2efc65e7
|
d3d9: Use wined3d_texture_get_sub_resource_parent() in d3d9_texture_2d_LockRect().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-24 10:33:12 +09:00 |
Henri Verbeet
|
ad11f38db9
|
wined3d: Rename the texture creation flags to WINED3D_TEXTURE_CREATE_*.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-27 12:38:54 +09:00 |
Henri Verbeet
|
cf899ac267
|
wined3d: Rename WINED3D_RTYPE_VOLUME_TEXTURE to WINED3D_RTYPE_TEXTURE_3D.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-27 12:38:50 +09:00 |
Henri Verbeet
|
dafaae7730
|
wined3d: Unify WINED3D_RTYPE_TEXTURE and WINED3D_RTYPE_CUBE_TEXTURE.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-27 12:38:46 +09:00 |
Henri Verbeet
|
0c8e78f80d
|
d3d9: Don't assert on invalid IDirect3DBaseTexture9 interfaces.
|
2015-08-04 12:21:58 +02:00 |
Henri Verbeet
|
ea534c9ab4
|
wined3d: Allow initial texture contents to be specified with wined3d_texture_create().
|
2015-01-05 20:15:35 +01:00 |
Henri Verbeet
|
3b3b74510b
|
d3d9: Calculate texture levels in d3d9 instead of wined3d.
|
2014-12-10 19:32:15 +01:00 |
Henri Verbeet
|
b005ad6f90
|
wined3d: Use rendertarget views for color output instead of surfaces.
|
2014-08-21 12:24:42 +02:00 |
Stefan Dösinger
|
341db6d8d3
|
wined3d: Remove wined3d_texture_set/get_priority.
|
2014-07-16 16:10:05 +02:00 |
Stefan Dösinger
|
6121393d0a
|
d3d9: Use the private store api for textures.
|
2014-03-24 20:20:17 +01:00 |
Stefan Dösinger
|
96a74e0cf7
|
d3d9: Introduce a resource structure.
|
2014-03-24 20:20:15 +01:00 |
Henri Verbeet
|
4b3db52b53
|
wined3d: Merge the texture creation functions.
|
2013-11-27 11:30:15 +01:00 |