Commit Graph

5894 Commits

Author SHA1 Message Date
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
Henri Verbeet cf4f09cf85 wined3d: Simplify select_card_amd_mesa() a bit.
We can use the same code for the Gallium and "classic" drivers, and the
classic drivers are no longer supported upstream anyway.
2013-01-03 16:43:32 +01:00
Caron Jensen e51bd12315 wined3d: Add new Radeon HD 6570 GL renderer string. 2012-12-28 20:32:40 +01:00
Andrew Talbot c61b14cbcc wined3d: Indentation fix. 2012-12-24 13:30:20 +01:00
Jiang Yike 44d5d3951b wined3d: Add recognition for NVIDIA GeForce GTX 660 Ti, 660, 650 Ti and 650. 2012-12-19 14:38:59 +01:00
Stefan Dösinger 8cf55497cc wined3d: Remove draw_*_primitive_up.
Note that I can't remove the state->user_stream mess yet, because of
draw_*_primitive_strided. Another patchset will deal with that.
2012-12-19 12:53:28 +01:00
Piotr Caban b71af96b9c wined3d: Recognize Nvidia GT610 card. 2012-12-18 12:37:59 +01:00
Caron Jensen 86cb15b235 wined3d: Recognize Nvidia GT520 cards. 2012-12-14 18:58:10 +01:00
Francois Gouget 130cabbca6 wined3d: Remove a stray semi-colon from the spec file. 2012-12-11 12:03:43 +01:00
Henri Verbeet 78984cf46c wined3d: Get rid of ENTER_GL / LEAVE_GL. 2012-12-11 12:03:39 +01:00
Henri Verbeet 9fbd3bbed6 d3d10core: Implement d3d10_device_PSGetSamplers(). 2012-12-10 11:25:49 +01:00
Henri Verbeet 4c4131cd78 d3d10core: Implement d3d10_device_PSSetSamplers(). 2012-12-10 11:25:46 +01:00
Henri Verbeet 2c01e11eca d3d10core: Implement d3d10_device_GSGetSamplers(). 2012-12-07 10:35:51 +01:00
Henri Verbeet 047d607e07 d3d10core: Implement d3d10_device_GSSetSamplers(). 2012-12-07 10:35:44 +01:00
Alexandre Julliard 13f126498b wined3d: Call wglSwapBuffers through the GL driver function table. 2012-12-06 14:10:04 +01:00
Henri Verbeet c98767a425 d3d10core: Implement d3d10_device_VSGetSamplers(). 2012-12-06 12:55:59 +01:00
Henri Verbeet e5805c316c d3d10core: Implement d3d10_device_VSSetSamplers(). 2012-12-06 12:55:50 +01:00
Stefan Dösinger 8e05ee6994 wined3d: Add GL_ALPHA to the atifs argument replicator debug function. 2012-12-05 12:48:11 +01:00
Stefan Dösinger 799ea13fb9 wined3d: Use sign fixup for the atifs bumpenv matrix. 2012-12-05 12:48:04 +01:00
Stefan Dösinger e53aa8c9e2 wined3d: Test the correct program for native limits. 2012-12-05 12:47:55 +01:00
Stefan Dösinger 33802da4f3 wined3d: Correctly count used stages in the atifs pipeline. 2012-12-05 12:47:39 +01:00
Stefan Dösinger 7b95df03c6 wined3d: Bind the src in a manual presentation blit. 2012-12-05 12:47:33 +01:00
Henri Verbeet 6ac3c48384 d3d10core: Implement d3d10_device_PSGetConstantBuffers(). 2012-12-05 12:44:07 +01:00
Henri Verbeet b034f49183 d3d10core: Implement d3d10_device_PSSetConstantBuffers(). 2012-12-05 12:44:01 +01:00
Henri Verbeet d906c94382 d3d10core: Implement d3d10_device_GSGetConstantBuffers(). 2012-12-04 00:02:06 +01:00
Henri Verbeet feda45279e d3d10core: Implement d3d10_device_GSSetConstantBuffers(). 2012-12-04 00:02:00 +01:00
Henri Verbeet 1835e2f5ba wined3d: Add support for ARB_instanced_arrays. 2012-12-03 12:37:49 +01:00
Henri Verbeet 52c6abb485 wined3d: Resolve the instance count for instanced arrays in load_numbered_arrays(). 2012-12-03 12:37:42 +01:00
Stefan Dösinger 483d025795 wined3d: Add an explicit break in case of unhandled BUMPENVMAP. 2012-12-03 12:37:14 +01:00
Henri Verbeet 027ef4ccdb d3d10core: Implement d3d10_device_VSGetConstantBuffers(). 2012-11-30 11:42:54 +01:00
Henri Verbeet ae5e15319e d3d10core: Implement d3d10_device_VSSetConstantBuffers(). 2012-11-30 11:42:48 +01:00
Frédéric Delanoy a6db668895 wined3d: Add some 'fall through' comments (coverity). 2012-11-30 11:42:24 +01:00
Henri Verbeet 56b3953207 wined3d: Fix a typo in wined3d_device_set_stream_output(). 2012-11-29 00:16:50 +01:00
Henri Verbeet 5d9d20ee0e wined3d: Also unbind stream outputs and the geometry shader in stateblock_unbind_resources(). 2012-11-29 00:16:44 +01:00
Henri Verbeet 7f62678c16 d3d10core: Implement d3d10_device_DrawIndexedInstanced(). 2012-11-27 16:54:57 +01:00
Henri Verbeet eefe6346a9 wined3d: Properly handle scalar destinations in shader_glsl_conditional_move().
In particular, we modify dst.write_mask in the code further down in order to
mask out unused channels, but the writemask is ignored for scalar registers.
Since all that code is redundant anyway for scalar destinations, we can just
reuse the special case for scalar src0.
2012-11-27 16:54:50 +01:00
Henri Verbeet dc67be012f d3d10core: Implement d3d10_device_SOGetTargets(). 2012-11-23 14:40:36 +01:00
Henri Verbeet 5b781d709d d3d10core: Implement d3d10_device_SOSetTargets(). 2012-11-23 14:40:30 +01:00
Henri Verbeet d0d213f7d1 d3d10core: Implement d3d10_device_IAGetIndexBuffer(). 2012-11-21 13:25:57 +01:00
Henri Verbeet 79f0b4d977 d3d9: Avoid resetting device state for d3d9ex resets. 2012-11-20 11:44:27 +01:00