Commit graph

1185 commits

Author SHA1 Message Date
Rico Schüller
08e20e9d69 d3d9/tests: Use lower base hexadecimal values. 2013-02-25 13:03:28 +01:00
Francois Gouget
ce34094f5f d3d9/tests: CheckDeviceType() may also return D3DERR_NOTAVAILABLE for D3DFMT_X1R5G5B5.
Spice's QXL driver claims to support X1R5G5B5 but then returns
NOTAVAILABLE just like the Windows Standard VGA driver does for R5G6B5
and X8R8G8B8.
2013-02-21 18:03:03 +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
Michael Stefaniuc
d86ecd4bb4 d3d9: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-07 15:48:20 +01:00
Stefan Dösinger
ddc868c4a0 d3d9/tests: Add simple DrawRectPatch tests. 2013-01-25 11:31:15 +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
Stefan Dösinger
aaa11492db wined3d: Ignore clears if count = 0 and rects != NULL. 2013-01-23 19:16:32 +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
Stefan Dösinger
ab36ab7d11 d3d9/tests: Create a plain DS surface in test_reset_resources.
r200 does not support depth textures.
2013-01-16 20:27:09 +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
Stefan Dösinger
4d5c8b6fe7 d3d9/tests: Add a software vertexprocessing buffer discard test. 2013-01-15 16:25:28 +01:00
Stefan Dösinger
c57511ce4a d3d9: Return D3D_OK from the palette setters. 2013-01-14 17:29:59 +01:00
Henri Verbeet
3197e36413 d3d9/tests: Merge surface.c into device.c. 2013-01-11 18:14:07 +01:00
Henri Verbeet
0c9713bb65 d3d9/tests: Merge texture.c into device.c. 2013-01-11 18:14:07 +01:00
Henri Verbeet
dd9efc9852 d3d9/tests: Merge shader.c into device.c. 2013-01-11 18:14:07 +01:00
Henri Verbeet
5fd8529363 d3d9/tests: Merge query.c into device.c. 2013-01-10 12:30:18 +01:00
Henri Verbeet
afca55649d d3d9/tests: Merge buffer.c into device.c. 2013-01-10 12:30:10 +01:00
Henri Verbeet
52a24e8297 d3d9/tests: Merge volume.c into device.c. 2013-01-10 12:30:02 +01:00
Stefan Dösinger
f3f172ce81 d3d9: Use dynamic buffers for DrawIndexedPrimitiveUP. 2012-12-19 12:53:23 +01:00
Stefan Dösinger
873603f941 d3d9: Use a dynamic buffer for DrawPrimitiveUP. 2012-12-19 12:53:20 +01:00
Stefan Dösinger
aeee527ebd d3d9/tests: Move the clipplane + shader test inside the capability check. 2012-12-06 13:02:11 +01:00
Stefan Dösinger
b11e499c0b d3d9/tests: Give the texture transform test a defined colorop. 2012-12-06 13:02:04 +01:00
Stefan Dösinger
320b33e57b d3d9/tests: Skip some texture transform tests if shaders are unsupported. 2012-12-06 13:01:56 +01:00
Henri Verbeet
d0d213f7d1 d3d10core: Implement d3d10_device_IAGetIndexBuffer(). 2012-11-21 13:25:57 +01:00
Henri Verbeet
2f307a14f0 d3d9/tests: Add tests for device resets in d3d9ex. 2012-11-20 11:44:36 +01:00
Henri Verbeet
84da62d993 d3d9/tests: Create the d3d9ex object in create_device(). 2012-11-20 11:44:31 +01:00
Henri Verbeet
79f0b4d977 d3d9: Avoid resetting device state for d3d9ex resets. 2012-11-20 11:44:27 +01:00
Henri Verbeet
8180b9000a d3d9/tests: Add a test for the scissor rect and viewport after SetRenderTarget() calls. 2012-11-19 11:47:08 +01:00
Henri Verbeet
b52118d53d d3d9/tests: Also test that render states get reset in test_reset(). 2012-11-16 11:40:02 +01:00
Sam Edwards
e21a4b291c d3d9/tests: Add test for IDirect3DDevice9_Reset with BackBufferWidth/Height = 0. 2012-11-07 11:59:21 +01:00
Henri Verbeet
32f8548d67 d3d9/tests: Avoid LPDIRECT3DSURFACE9. 2012-10-30 09:49:18 +01:00
Henri Verbeet
64ffe6476e d3d9/tests: Avoid LPDIRECT3DVERTEXBUFFER9. 2012-10-30 09:49:15 +01:00
Henri Verbeet
369fb5185f d3d9/tests: Avoid LPDIRECT3DTEXTURE9. 2012-10-30 09:49:13 +01:00
Henri Verbeet
2bf46c60fb wined3d: Replace the face and level parameters to device_parent_create_texture_surface() with the sub-resource index. 2012-10-25 11:48:25 +02:00
André Hentschel
31ca59f0b5 d3d9/tests: Fix copy-paste error (coverity). 2012-10-24 19:37:56 +02:00
Henri Verbeet
ddbe791d37 wined3d: Set texture_level in surface_set_texture_target() as well. 2012-10-24 11:24:22 +02:00
Henri Verbeet
8e24dbb60a wined3d: wined3d_stateblock_apply() never fails. 2012-10-08 11:28:37 +02:00
Henri Verbeet
b69545c7da wined3d: wined3d_stateblock_capture() never fails. 2012-10-08 11:28:32 +02:00
Henri Verbeet
adddf10cd8 wined3d: wined3d_swapchain_get_desc() never fails. 2012-10-04 14:09:55 +02:00
Henri Verbeet
5fcc1f8f70 wined3d: Just return the surface from wined3d_swapchain_get_back_buffer(). 2012-10-04 14:09:50 +02:00
Henri Verbeet
2ad5808996 wined3d: wined3d_device_get_creation_parameters() never fails. 2012-10-01 23:07:55 +02:00
Henri Verbeet
6e5cf8c698 wined3d: wined3d_device_set_depth_stencil() never fails. 2012-10-01 23:07:51 +02:00
Henri Verbeet
95b4207c7f wined3d: Just return the surface from wined3d_device_get_depth_stencil(). 2012-10-01 12:11:02 +02:00
Henri Verbeet
972217fd6a wined3d: Just return the surface from wined3d_device_get_render_target(). 2012-10-01 12:10:55 +02:00
Henri Verbeet
c0f52fbf1c wined3d: wined3d_device_set_software_vertex_processing() never fails. 2012-09-27 13:10:48 +02:00
Henri Verbeet
f9d494294a wined3d: Just return the texture from wined3d_device_get_texture(). 2012-09-27 13:10:43 +02:00
Henri Verbeet
c0a83b1d96 wined3d: wined3d_device_get_texture_stage_state() never fails. 2012-09-26 14:40:35 +02:00
Henri Verbeet
26c0714009 wined3d: wined3d_device_set_texture_stage_state() never fails. 2012-09-26 14:40:33 +02:00
Henri Verbeet
6e4c40689c wined3d: Just return the shader from wined3d_device_get_pixel_shader(). 2012-09-25 11:19:11 +02:00