Commit Graph

6471 Commits

Author SHA1 Message Date
Henri Verbeet 64a1fde181 wined3d: Explicitly destroy the volume in texture3d_sub_resource_cleanup().
The texture always has the only reference to its subresources. This also means
we never have to set the container to NULL.
2014-08-19 14:49:30 +02:00
Henri Verbeet df59ac1d0c wined3d: Recognize some more AMD cards. 2014-08-19 14:49:24 +02:00
Henri Verbeet 7cdaece711 wined3d: Store the amount of video memory as a UINT64. 2014-08-18 12:47:13 +02:00
Andrei Slăvoiu e9b0a0e181 wined3d: Use capabilities from the shader backend or the fragment pipeline to determine the D3D level. 2014-08-07 17:53:56 +02:00
Andrei Slăvoiu 48e25d0d21 wined3d: Make d3d_level_from_gl_info return an enum instead of a plain int. 2014-08-07 17:53:55 +02:00
Henri Verbeet 5ef8e97414 wined3d: Move the "draw_binding" field from struct wined3d_surface to struct wined3d_resource. 2014-08-04 14:23:52 +02:00
Henri Verbeet d079066f5d wined3d: Get rid of the get_drawable_size() callback in struct wined3d_surface. 2014-08-04 14:23:49 +02:00
Henri Verbeet 9020ef9675 wined3d: Make the "desc" parameter to wined3d_buffer_create() const. 2014-08-04 14:23:40 +02:00
Henri Verbeet 6a1a18e7e2 d3d10core: Implement d3d10_device_CopyResource(). 2014-08-04 14:23:36 +02:00
Henri Verbeet 80bca9bc9c wined3d: Add constant buffer support to the GLSL shader backend. 2014-08-04 14:23:29 +02:00
Andrei Slăvoiu 01b2b3074d wined3d: Replace vendor specific callbacks with generic code that uses vendor specific renderer string tables. 2014-07-30 11:15:24 -05:00
Andrei Slăvoiu 1e7c5d8ca4 wined3d: Make the card selection for AMD binary driver use arrays only. 2014-07-30 11:14:42 -05:00
Andrei Slăvoiu 47bec5eba0 wined3d: Make the card selection for Nvidia binary driver use arrays only. 2014-07-30 11:14:26 -05:00
Henri Verbeet 96d845aa46 wined3d: Avoid a compiler warning in context_stream_info_from_declaration(). 2014-07-22 12:37:54 +02:00
Andrei Slăvoiu 41962a5a07 wined3d: Remove the gl_info parameter from select_card callbacks. 2014-07-21 14:02:31 +02:00
Andrei Slăvoiu 22475ddd82 wined3d: Remove usage of gl_info parameter from select_card_amd_binary. 2014-07-21 14:02:29 +02:00
Andrei Slăvoiu 665c2e1e27 wined3d: Remove usage of gl_info parameter from select_card_nvidia_binary. 2014-07-21 14:02:26 +02:00
Henri Verbeet bc019fcbbd wined3d: Track synchronized buffer maps.
Instead of trying to infer unsynchronized ones.
2014-07-18 19:13:37 +02:00
Henri Verbeet 01251f3d3c wined3d: Use the previous "dirty" status to set WINED3D_BUFFER_NOSYNC in wined3d_buffer_map().
This (presumably) fixes a regression introduced by commit
c1032e977b.
2014-07-18 19:13:36 +02:00
Henri Verbeet 8c19371b62 wined3d: Fix a couple of renderer strings in select_card_nvidia_binary(). 2014-07-18 19:13:35 +02:00
Stefan Dösinger 341db6d8d3 wined3d: Remove wined3d_texture_set/get_priority. 2014-07-16 16:10:05 +02:00
Stefan Dösinger cf11933701 wined3d: Remove wined3d_buffer_set/get_priority. 2014-07-16 16:10:01 +02:00
Stefan Dösinger 086545cdd3 wined3d: Remove wined3d_volume_set/get_priority. 2014-07-16 16:09:56 +02:00
Stefan Dösinger 2abecc46c6 wined3d: Remove wined3d_surface_set/get_priority. 2014-07-16 16:09:51 +02:00
Henri Verbeet 8b8af4bee0 wined3d: Make wined3d_arbfp_blit_rb_functions static. 2014-07-14 19:26:19 +02:00
Henri Verbeet 0ef760ef82 wined3d: Make vp_ffp_states static. 2014-07-14 19:26:19 +02:00
Henri Verbeet 63f2b65141 wined3d: Clarify WINED3DUSAGE_WRITEONLY a bit. 2014-07-14 19:26:18 +02:00
Henri Verbeet 1360af6adc wined3d: Don't try to resolve vertex buffer locations in context_stream_info_from_declaration(). 2014-07-14 19:26:17 +02:00
Henri Verbeet 68339456a8 wined3d: Always mark vertex buffers as used in context_apply_draw_state().
The issue this solves is that buffer_internal_preload() is only called when
STATE_VDECL or STATE_STREAMSRC is invalidated, but that doesn't happen for
regular buffer maps. We'd like to be able to just call
buffer_internal_preload() here, but buffer_internal_preload() has dependencies
on context_stream_info_from_declaration() and vice versa.
2014-07-14 19:26:17 +02:00
Stefan Dösinger 4cecbaa54d wined3d: Ignore set_priority calls on non-managed resources. 2014-07-09 14:43:32 +02:00
Stefan Dösinger 4b88d51bc9 wined3d: Do not write a FIXME about WINED3DUSAGE_WRITEONLY. 2014-07-07 15:49:00 +02:00
Henri Verbeet 91fbd2232d wined3d: Print a winediag message if we failed to create a DXTn texture because of lack of driver support. 2014-07-01 12:52:05 +02:00
Stefan Dösinger 9d49b7a9be wined3d: Set palettes on the swapchain. 2014-06-30 22:04:53 +02:00
Henri Verbeet 09fda3b805 d3d9: Improve d3d9_device_TestCooperativeLevel(). 2014-06-27 10:37:36 +02:00
Matteo Bruni b42fe709d6 wined3d: Validate and handle query size parameter. 2014-06-16 13:56:35 +02:00
Henri Verbeet fa312a32b2 wined3d: Add format information for WINED3DFMT_R8_UNORM. 2014-06-13 10:11:59 +02:00
Stefan Dösinger 3909215773 wined3d: Remove d3dfmt_p8_init_palette. 2014-06-11 16:14:38 +02:00
Andrei Slăvoiu fbdf618251 wined3d: Recognize cards that expose GLSL 1.30 as DX10 capable even if they don't support EXT_GPU_SHADER4. 2014-06-11 12:58:55 +02:00
Henri Verbeet 7b8aa8606c wined3d: Recognize the SM4 ishl opcode. 2014-05-20 09:44:25 +02:00
Henri Verbeet 3555eab8b9 wined3d: Recognize the SM4 dp2 opcode. 2014-05-20 09:44:21 +02:00
Henri Verbeet c81d3b7336 wined3d: Recognize the SM4 discard opcode. 2014-05-20 09:44:17 +02:00
Henri Verbeet 0fe183c299 wined3d: Increase the SM4 instruction length mask size. 2014-05-19 09:55:25 +02:00
Stefan Dösinger bdc396e4f5 wined3d: Fix indentation in d3dfmt_p8_init_palette. 2014-05-15 19:05:03 +02:00
Stefan Dösinger fd0189bbfa wined3d: Move get_dc palette updates to ddraw. 2014-05-15 19:05:02 +02:00
Stefan Dösinger 544816797a wined3d: Don't update the color table on palette changes. 2014-05-14 13:30:33 +02:00
Stefan Dösinger 3cd83f4d56 wined3d: Use GL_ALPHA8 for WINED3DFMT_P8_UINT surfaces. 2014-05-14 13:30:19 +02:00
Stefan Dösinger 7b049245f5 wined3d: Always provide P8 GL texture information. 2014-05-14 13:30:08 +02:00
Stefan Dösinger bfb5be0f4b wined3d: Remove WINED3D_CT_PALETTED_CK.
There's no difference between WINED3D_CT_PALETTED_CK and
WINED3D_CT_PALETTED with the palette index in the alpha channel.
2014-05-14 13:29:58 +02:00
Stefan Dösinger c1cca63e5d wined3d: Always store the palette index in the alpha component. 2014-05-14 13:29:52 +02:00
Stefan Dösinger fc25510fad wined3d: Remove wined3d_surface_get_palette. 2014-05-12 21:24:59 +02:00