Commit Graph

5933 Commits

Author SHA1 Message Date
Ričardas Barkauskas cf12f51b15 wined3d: Make shader buffer dynamic. 2013-02-26 11:28:44 +01:00
Ričardas Barkauskas b5ff0a6983 wined3d: Rename bsize to content_size to reflect usage. 2013-02-26 11:27:39 +01:00
Matteo Bruni 5e28b0c974 wined3d: Add RESZ support. 2013-02-19 10:39:47 +01:00
Matteo Bruni 25d0d0876d wined3d: Make (wined3d_)surface_depth_blt_fbo handle locations other than SFLAG_INTEXTURE. 2013-02-19 10:39:42 +01:00
Stefan Dösinger 3221e7fdd0 wined3d: Reserve one vs constant on r200. 2013-02-11 11:24:35 +01:00
Stefan Dösinger 425eab4cf9 wined3d: Use the ARBfp ffp pipeline only if ARBfp is supported. 2013-02-11 11:24:20 +01:00
Henri Verbeet c37594d3a9 wined3d: Add WINED3DFMT_INST to the format table.
We need the format to exist in apply_format_fixups() in particular.
2013-02-08 19:31:18 +01:00
Michael Stefaniuc 50a9fb579c wined3d: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-06 09:04:41 +01:00
Francois Gouget 68b22623b2 wined3d: debug_{d3dbasis, d3ddegree}() are not used anymore so remove them. 2013-01-29 11:48:46 +01:00
Francois Gouget e7adf7fbf7 wined3d: Make device_stream_info_from_declaration() static. 2013-01-29 11:48:42 +01:00
Matteo Bruni 59171c06ce wined3d: Rebind texture before checking for its content in check_fbo_compat(). 2013-01-29 11:48:26 +01:00
Henri Verbeet c9ca9c5a7e wined3d: Get rid of CheckBumpMapCapability().
The color fixup being supported is implied by WINED3DFMT_FLAG_TEXTURE.
2013-01-28 14:05:41 +01:00
Henri Verbeet 4cdb03a76e wined3d: Get rid of CheckTextureCapability(). 2013-01-28 14:05:38 +01:00
Henri Verbeet 7c8dab24e6 wined3d: Introduce a format flag for texturing. 2013-01-28 14:05:34 +01:00
Michael Stefaniuc b28aff0dd7 wined3d: Use assignment instead of memcpy to copy structs. 2013-01-28 14:00:18 +01:00
Stefan Dösinger 1a3f741643 wined3d: Remove draw_primitive_strided. 2013-01-25 11:30:33 +01:00
Stefan Dösinger 149a85c2e7 d3d: Remove high level patch support.
No Windows driver ever exposed this, and no game uses this. The
only application that used this feature is a DirectX 8 SDK sample.
2013-01-25 11:29:41 +01:00
Henri Verbeet 6c6565dea0 wined3d: Get rid of a superfluous texture copy in check_fbo_compat(). 2013-01-25 11:18:19 +01:00
Henri Verbeet dc21460397 wined3d: Replace "VertexShaderMode" and "PixelShaderMode" with shader model limits. 2013-01-25 11:18:13 +01:00
Henri Verbeet 6f04922de0 wined3d: Support all fixups in shader_none_color_fixup_supported(). 2013-01-25 11:18:09 +01:00
Henri Verbeet 8347c67c69 wined3d: Get rid of CheckWrapAndMipCapability(). 2013-01-24 14:33:05 +01:00
Henri Verbeet 63902bfd5c wined3d: Get rid of CheckPostPixelShaderBlendingCapability(). 2013-01-24 14:33:02 +01:00
Henri Verbeet b882a70282 wined3d: Properly set WINED3DFMT_FLAG_VTF in init_format_texture_info(). 2013-01-24 14:32:58 +01:00
Stefan Dösinger aaa11492db wined3d: Ignore clears if count = 0 and rects != NULL. 2013-01-23 19:16:32 +01:00
Henri Verbeet d6105c5f0f wined3d: Get rid of CheckFilterCapability(). 2013-01-23 12:48:45 +01:00
Henri Verbeet 6527277a58 wined3d: Properly set WINED3DFMT_FLAG_FILTERING in init_format_texture_info(). 2013-01-23 12:48:41 +01:00
Henri Verbeet 3f21757702 wined3d: Get rid of select_shader_mode(). 2013-01-23 12:48:34 +01:00
Henri Verbeet c90a1e5e21 wined3d: Get rid of CheckSrgbReadCapability(). 2013-01-22 12:13:49 +01:00
Henri Verbeet 9307327ede wined3d: Properly set WINED3DFMT_FLAG_SRGB_WRITE in init_format_texture_info(). 2013-01-22 12:13:46 +01:00
Henri Verbeet 5ce220eb2f wined3d: Add sRGB writes to the shader backend and fragment pipe caps. 2013-01-22 12:13:42 +01:00
Henri Verbeet c525cf381d wined3d: Move "vs_clipping" to the shader caps. 2013-01-21 12:51:22 +01:00
Henri Verbeet 0e0e3b76f5 wined3d: Move "ffp_proj_control" to the fragment caps. 2013-01-21 12:51:21 +01:00
Henri Verbeet 75a38fa2fa wined3d: Get rid of the select_shader_mode() call in wined3d_get_device_caps().
The shader backend already returns the correct caps.
2013-01-21 12:51:20 +01:00
Henri Verbeet e73aa3e83d wined3d: Get rid of vs_selected_mode / ps_selected_mode from struct wined3d_device.
These are only used by wined3d_shader_create_vs() /
wined3d_shader_create_ps(), but they're redundant there since the "none"
shader backend doesn't support any shader version.
2013-01-18 13:29:04 +01:00
Henri Verbeet c10c9fba76 wined3d: Replace InitAdapters() with a function to initialize a single adapter. 2013-01-18 13:29:04 +01:00
Henri Verbeet d183f118cf wined3d: Introduce a separate function for intializing the adapter's framebuffer configs. 2013-01-18 13:29:03 +01:00
Henri Verbeet 6c7cce55a7 wined3d: Get rid of the "opengl" field in struct wined3d_adapter. 2013-01-17 12:22:05 +01:00
Henri Verbeet 1249976eb6 wined3d: Get rid of the surface_type parameter to wined3d_check_device_format(). 2013-01-17 12:22:01 +01:00
Henri Verbeet ce912d5149 wined3d: Get rid of the surface_type parameter to wined3d_surface_create(). 2013-01-17 12:21:55 +01:00
Henri Verbeet 31e8976910 wined3d: Get rid of the surface_type parameter to wined3d_swapchain_create(). 2013-01-16 12:22:57 +01:00
Henri Verbeet f3dbbba48e wined3d: Initialize the various backends in wined3d_adapter_init_nogl() as well. 2013-01-16 12:22:43 +01:00
Stefan Dösinger 151407e5bf wined3d: Shadow buffers in sysmem when software vertexprocessing is used. 2013-01-15 16:24:50 +01:00
Henri Verbeet 7595a58085 ddraw: Explicitly create a wined3d object without 3D capabilities when creating a normal wined3d object fails. 2013-01-14 11:01:53 +01:00
Henri Verbeet 3e7c800e9c wined3d: Get rid of the user_stream field from wined3d_state.
All remaining uses are equivalent to "device->up_strided". (Which should of
course eventually go away as well.)
2013-01-07 11:12:23 +01:00
Henri Verbeet 5b42297a31 wined3d: Remove a redundant condition in the indexbuffer() state handler.
Strided draws don't use VBOs.
2013-01-07 11:12:19 +01:00
Henri Verbeet 44b462c9b4 wined3d: Just restore state->user_stream in wined3d_device_draw_indexed_primitive_strided(). 2013-01-04 12:17:01 +01:00
Henri Verbeet b557f5ba3a wined3d: Don't touch state->user_stream in wined3d_device_process_vertices().
device_stream_info_from_declaration() no longer cares about
state->user_stream.
2013-01-04 12:16:56 +01:00
Henri Verbeet 76a2864a3b wined3d: state->user_stream is always FALSE in device_stream_info_from_declaration().
Since user pointer draws were removed, state->user_stream will only ever be
set for "strided" draws, and device_stream_info_from_declaration() is never
called for those.
2013-01-04 12:16:49 +01:00
Henri Verbeet 3046a2cbef wined3d: Get rid of some useless braces in draw_primitive(). 2013-01-03 16:43:45 +01:00
Henri Verbeet 85d12b320c wined3d: Recognize any "X.Org" GL vendor as Mesa. 2013-01-03 16:43:36 +01:00