Stefan Dösinger
341db6d8d3
wined3d: Remove wined3d_texture_set/get_priority.
2014-07-16 16:10:05 +02:00
Stefan Dösinger
2abecc46c6
wined3d: Remove wined3d_surface_set/get_priority.
2014-07-16 16:09:51 +02:00
Stefan Dösinger
8b367c7909
ddraw/tests: Add a test for IDirectDrawSurface7::SetPriority.
2014-07-16 16:09:27 +02:00
Stefan Dösinger
5b9f91c18d
ddraw: Add validation to SetPriority / GetPriority.
2014-07-16 16:09:22 +02:00
Henri Verbeet
ce60e4ec71
ddraw/tests: Get rid of struct sVertexT.
2014-07-15 15:29:55 +02:00
Henri Verbeet
ee5e469fd8
ddraw/tests: Get rid of struct sVertex.
2014-07-15 15:29:53 +02:00
Stefan Dösinger
403d7c1dee
ddraw: Refuse SetPalette and GetPalette on lost surfaces.
...
The SetPalette check is outside of ddraw_surface_set_palette to make
sure the palettes are properly freed when a lost P8 surface is destroyed.
2014-07-07 15:49:06 +02:00
Henri Verbeet
7447b37ff5
ddraw/tests: Get rid of struct nvertex.
2014-07-01 12:52:16 +02:00
Henri Verbeet
ecf20e2630
ddraw/tests: Get rid of struct tvertex.
2014-07-01 12:52:13 +02:00
Henri Verbeet
3cf189af64
ddraw/tests: Get rid of struct vertex.
2014-07-01 12:52:11 +02:00
Henri Verbeet
8ebc82cd8d
ddraw: Check for a lost surface in ddraw_surface7_Flip().
2014-07-01 12:51:46 +02:00
Henri Verbeet
881219354f
ddraw: Implement ddraw7_RestoreAllSurfaces().
2014-06-30 22:04:53 +02:00
Henri Verbeet
8d4988a43f
ddraw: Improve ddraw7_TestCooperativeLevel().
2014-06-30 22:04:53 +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
Henri Verbeet
1b4c55df29
ddraw/tests: Add some lost device tests.
2014-06-27 10:37:33 +02:00
Frédéric Delanoy
2ab8729020
Assorted spelling/grammar fixes.
2014-06-20 12:19:31 +02:00
Henri Verbeet
9031adfd5c
ddraw/tests: Properly declare matrices.
2014-06-16 14:00:16 +02:00
Henri Verbeet
b9bfcf2c2a
ddraw/tests: Get rid of some unused assignments.
2014-06-16 14:00:14 +02:00
Henri Verbeet
d30720d825
ddraw: Don't try to create surfaces for wined3d internal textures.
2014-06-13 10:11:56 +02:00
Henri Verbeet
b0f1feb4f0
ddraw: Properly support creating compressed user memory surfaces.
2014-06-12 18:05:20 +02:00
Henri Verbeet
e2d9cb69ba
ddraw: Use wined3d_surface_get_pitch() to calculate dwLinearSize for compressed surfaces.
2014-06-12 18:05:20 +02:00
Henri Verbeet
92ea79a198
ddraw: Clear DDSD_PITCH on compressed surfaces.
2014-06-12 18:05:19 +02:00
Henri Verbeet
64a5dc11bf
ddraw: Clear DDSD_LINEARSIZE on uncompressed surfaces.
2014-06-12 18:05:18 +02:00
Henri Verbeet
7e33bc7a47
ddraw/tests: 64-bit ddraw only has DWORD surface pitch alignment in some cases.
2014-06-12 18:05:17 +02:00
Stefan Dösinger
e7163c802d
ddraw/tests: Test D3DVBCAPS_WRITEONLY.
2014-06-11 16:14:58 +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
fc25510fad
wined3d: Remove wined3d_surface_get_palette.
2014-05-12 21:24:59 +02:00
Francois Gouget
22acc5cb30
ddraw/tests: Fix compilation on systems that don't support nameless unions.
2014-05-09 16:28:04 +02:00
Stefan Dösinger
8ca711f428
ddraw/tests: Test palette alpha behavior.
...
What I care about here is that setting peFlags != 0 doesn't cause errors
either during ddraw palette creation or DIB section creation. peFlags
isn't an alpha channel, but P8 textures abuse it that way, hence the
name of the test. It probably has deeper meaning in DDSCL_NORMAL when
the X server is running in 8 bit paletteindexed mode, but I don't think
we really care about this.
2014-05-07 20:21:57 +02:00
Stefan Dösinger
a227188573
ddraw: Alpha palettes can only be attached to textures.
2014-05-07 20:21:57 +02:00
Francois Gouget
4e950d9cbc
ddraw: Remove WINAPI on static functions where not needed.
2014-05-02 17:15:22 +02:00
Stefan Dösinger
39212d2ffb
wined3d: Remove broken gdi palette code.
2014-05-02 16:32:54 +02:00
Stefan Dösinger
7839ec874f
ddraw/tests: Test mipmap GetDC behavior.
2014-05-02 16:32:52 +02:00
Stefan Dösinger
a8bcb6c7ad
ddraw/tests: Add a test for getdc palette handling.
2014-05-02 16:32:45 +02:00
Henri Verbeet
4d887292af
ddraw: Cleanup DDRAW_dump_pixelformat().
2014-05-02 13:45:21 +02:00
Frédéric Delanoy
2e5cb7aac8
Assorted spelling/grammar fixes.
2014-04-30 18:34:20 +02:00
Henri Verbeet
7bdbb8c890
ddraw/tests: Add some basic material tests.
2014-04-30 14:32:29 +02:00
Henri Verbeet
27a0b8a5f0
ddraw: Only output a warning when clearing a viewport without background material.
2014-04-30 09:34:05 +02:00
Henri Verbeet
4ff220f94b
ddraw: Reject setting a 0 material handle in d3d_viewport_SetBackground().
2014-04-30 09:34:03 +02:00
Henri Verbeet
91a615ee4d
ddraw: Disable lighting when a 0 material handle is set.
2014-04-30 09:34:01 +02:00
Henri Verbeet
174dbaf0f3
ddraw/tests: Handle the Windows 8 testbot in test_primary_palette().
2014-04-30 09:33:59 +02:00
Stefan Dösinger
8d1b66bee4
ddraw/tests: Skip the ddraw7 primary palette test if 8 bpp mode doesn't work.
2014-04-29 16:07:48 +02:00
Stefan Dösinger
7178675741
ddraw/tests: Test P8 to RGB blits.
2014-04-29 16:07:46 +02:00
Henri Verbeet
56d7e3b9a7
ddraw: Don't return an error when setting a 0 material handle in d3d_device3_SetLightState().
2014-04-29 13:36:10 +02:00
Henri Verbeet
77da84b06a
ddraw: Cleanup d3d_execute_buffer_QueryInterface().
2014-04-29 13:36:09 +02:00
Henri Verbeet
b2e2b42b73
ddraw: Cleanup the D3DOP_PROCESSVERTICES implementation a bit.
2014-04-29 13:36:08 +02:00
Henri Verbeet
86f209ed80
ddraw: Implement D3DOP_STATERENDER on top of IDirect3DDevice3_SetRenderState().
2014-04-29 13:36:05 +02:00
Henri Verbeet
789fcf0daa
ddraw: Implement D3DOP_STATELIGHT on top of IDirect3DDevice3_SetLightState().
2014-04-29 13:35:33 +02:00