Commit Graph

983 Commits

Author SHA1 Message Date
Henri Verbeet
2ecbe2aa0f wined3d: Get rid of the WINED3DRECTPATCH_INFO typedef. 2011-11-23 09:13:58 +01:00
Henri Verbeet
2e1c0d83c1 wined3d: Get rid of the WINED3DGAMMARAMP typedef. 2011-11-22 10:52:45 +01:00
Henri Verbeet
be8917cd91 wined3d: Get rid of the WINED3DVIEWPORT typedef. 2011-11-22 10:52:40 +01:00
Henri Verbeet
02bb70fc3b wined3d: Get rid of the WINED3DMATERIAL typedef. 2011-11-21 11:01:02 +01:00
Henri Verbeet
f597359727 wined3d: Get rid of the WINED3DLIGHT typedef. 2011-11-21 11:00:57 +01:00
Henri Verbeet
37a0f7ad65 wined3d: Get rid of the WINED3DMATRIX typedef. 2011-11-18 14:26:16 +01:00
Henri Verbeet
18a7653c78 wined3d: Get rid of the WINED3DDISPLAYMODE typedef. 2011-11-17 11:37:26 +01:00
Henri Verbeet
e0a0d611af wined3d: Pass a wined3d_color struct to wined3d_device_clear(). 2011-11-16 09:41:53 +01:00
Henri Verbeet
7459180a51 wined3d: Get rid of the WINED3DCOLORVALUE typedef. 2011-11-16 09:41:50 +01:00
Matteo Bruni
276216360e d3d9: Remove D3DFMT_R8G8B8 special handling. 2011-11-15 19:37:37 +01:00
Stefan Dösinger
7eefed1410 wined3d: YUY2 and UYVY are block based. 2011-11-07 14:32:16 +01:00
Stefan Dösinger
7fd752047d d3d9/tests: Test partial block locks. 2011-11-07 14:27:24 +01:00
Stefan Dösinger
f1d98aed70 d3d9/tests: Move the double unlock test into a separate test, test other pools. 2011-11-03 13:52:15 +01:00
Matteo Bruni
095a9a6893 wined3d: Refuse to create a shader unsupported by the backend. 2011-10-26 12:41:35 +02:00
Matteo Bruni
7254f5e661 wined3d: Return only the shader major version. 2011-10-26 12:41:34 +02:00
Matteo Bruni
6e6a917617 d3d9: Limit VS/PS reported version. 2011-10-26 12:41:34 +02:00
Henri Verbeet
6e8273177a wined3d: Reject multisampled readbacks in wined3d_surface_get_render_target_data(). 2011-10-24 11:16:33 +02:00
Henri Verbeet
002447357c d3d9/tests: Add a small test for IDirect3DDevice9::SetCursorPosition(). 2011-10-21 12:09:40 +02:00
Henri Verbeet
12a99309d9 d3d9/tests: Add a small test for multisampled GetRenderTargetData(). 2011-10-20 11:03:15 +02:00
Henri Verbeet
d607586d62 wined3d: Make the present_parameters parameter to wined3d_device_reset() const. 2011-10-19 12:24:36 +02:00
Austin English
c3f6f96df4 d3d9/tests: Only skip the visual tests if d3d cannot be initialized on Windows. 2011-10-18 16:24:45 +02:00
Stefan Dösinger
4365d2905c d3d9: Remove the palette implementation methods. 2011-10-11 13:37:49 +02:00
Henri Verbeet
1226ffe062 d3d9/tests: Add a test for IDirect3DDevice9::GetRenderTarget(). 2011-10-10 13:39:42 +02:00
Henri Verbeet
739a9d9805 wined3d: Return WINED3DERR_NOTFOUND if the render target is NULL in wined3d_device_get_render_target().
This is similar to how wined3d_device_get_depth_stencil() works.
2011-10-10 13:39:39 +02:00
André Hentschel
3c9aa22289 d3d9/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:15:12 +02:00
Stefan Dösinger
e1d92059ea d3d9: Implement FPUSETUP for msvc. 2011-09-26 17:59:41 +02:00
Matteo Bruni
f87483c307 d3d9/tests: Test creating shaders with wrong type or version. 2011-09-26 17:57:55 +02:00
Matteo Bruni
2a146448f4 wined3d: When creating a new shader, check shader type and version. 2011-09-26 17:57:48 +02:00
Stefan Dösinger
7759729fc7 d3d9/Tests: State getters don't work with PUREDEVICEs. 2011-09-16 17:23:10 +02:00
Stefan Dösinger
6bf2eb76bb d3d9/tests: Add a slop to the fog tests for X1600 GPUs. 2011-09-16 17:23:09 +02:00
Stefan Dösinger
f3644a513f d3d9/tests: Fix the depth stencil size tests on AMD. 2011-09-16 17:23:09 +02:00
Stefan Dösinger
f708da1c1c d3d9/tests: Range fog is not used with table fog. 2011-09-15 15:41:41 +02:00
Stefan Dösinger
c2cefe5584 d3d9: Add a LIT 0.0^0.0 test. 2011-09-12 10:09:40 +02:00
Matteo Bruni
e46378c764 d3d9/tests: Add unbound cube/volume texture tests. 2011-08-29 12:08:19 +02:00
Frédéric Delanoy
760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Henri Verbeet
7e3ecd683c wined3d: Move rectangle validation from surface_cpu_blt() to wined3d_surface_blt().
This fixes some tests because these were getting skipped for the BltOverride() path.
2011-08-04 09:04:39 +02:00
Henri Verbeet
2256a7e804 wined3d: wined3d_device_evict_managed_resources() doesn't need a return value. 2011-07-29 12:09:39 +02:00
Matteo Bruni
afd1fe4389 d3d9/tests: Add a couple of fog tests. 2011-07-28 11:29:05 +02:00
Matteo Bruni
9a790806bd d3d9/tests: Fix some messages. 2011-07-27 11:53:14 +02:00
Matteo Bruni
85e729cf5d d3d9/tests: Rename a variable. 2011-07-27 11:53:09 +02:00
Henri Verbeet
44e109debe wined3d: Unbind resources inside wined3d_device_reset(). 2011-07-25 21:25:15 +02:00
Henri Verbeet
0739cae273 wined3d: Pass "reset_enum_callback" directly to wined3d_device_reset().
It would have been nice if we could do all of this inside wined3d, but we need
to determine what resources are in use by d3d8/d3d9, not wined3d. This is
mostly an issue for "implicit" resources like swapchain render targets and the
depth / stencil surface. The fact that we're having this problem probably
means we're doing it wrong. Since these implicit resources should only be
referenced by wined3d, we could probably just destroy and recreate the
swapchain, instead of the little updateSurfaceDesc() dance we currently do.
2011-07-25 21:25:01 +02:00
Michael Stefaniuc
4e31d28cff d3d9: COM cleanup for the IDirect3DSurface9 iface. 2011-07-07 12:32:19 +02:00
Michael Stefaniuc
a7530e7892 d3d9: Use unsafe_impl_from_IDirect3DSurface9 for app provided ifaces. 2011-07-07 12:32:16 +02:00
Matteo Bruni
9d3cc8b012 wined3d: Make dummy textures black. 2011-07-06 19:38:46 +02:00
Matteo Bruni
8d39a85e18 d3d9/tests: Fix alpha component in the unbound sampler tests.
Spotted by Sean Sube.
2011-07-06 19:38:19 +02:00
Michael Stefaniuc
17eccaffbf d3d9: COM cleanup for the IDirect3DVertexBuffer9 iface. 2011-07-06 16:49:10 +02:00
Michael Stefaniuc
2b3a364e9a d3d9: Use unsafe_impl_from_IDirect3DVertexBuffer9 for app provided ifaces. 2011-07-06 16:49:04 +02:00
Michael Stefaniuc
bb4f750592 d3d9: COM cleanup for the IDirect3DVertexShader9 iface. 2011-07-06 16:49:00 +02:00
Michael Stefaniuc
f12cbfb509 d3d9: Use unsafe_impl_from_IDirect3DVertexShader9 for an app provided iface. 2011-07-06 16:48:56 +02:00