Commit Graph

157 Commits

Author SHA1 Message Date
Francois Gouget 8019c55cc6 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2008-05-21 11:36:39 +02:00
Alexander Dorofeyev ebf1f4e6bb ddraw/tests: Add KEYSRCOVERRIDE test in p8_primary_test. 2008-05-09 11:19:43 +02:00
Alexander Dorofeyev c4d75213ab ddraw/tests: Add tests for IDirect3DDevice7_Load. 2008-05-06 11:26:24 +02:00
Alexander Dorofeyev d5db7615a2 ddraw/tests: Add test for deprecated render states in d3d7. 2008-05-05 19:54:48 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
James Hawkins 404afbaa3c ddraw: Remove a test that fails in VMs. 2008-04-28 13:27:51 +02:00
James Hawkins 2f97a71e36 ddraw: Fix tests that fail with the reference rasterizer. 2008-04-25 14:53:17 +02:00
Francois Gouget 4ba16af16b ddraw/tests: Fix compilation on systems that don't support nameless unions. 2008-04-14 12:40:22 +02:00
Alexander Dorofeyev df422cf0fb ddraw/tests: Add colorkeyed blit to p8_primary_test. 2008-04-11 13:05:12 +02:00
Alexander Dorofeyev d8ae8a8780 ddraw/tests: Add viewport clearing tests. 2008-04-11 13:05:03 +02:00
Francois Gouget 0d0c4a355b ddraw/tests: Fix compilation on systems that don't support nameless unions. 2008-04-07 13:36:18 +02:00
Austin English f4c4488df8 Spelling fixes. 2008-04-07 13:36:17 +02:00
Alexander Dorofeyev 18b9c2bb83 ddraw/tests: Extend p8_primary_test.
Additional tests for blitting and locking.
2008-04-04 11:43:45 +02:00
Austin English 825baa23a2 ddraw: Spelling fixes. 2008-04-03 11:39:45 +02:00
Alexander Dorofeyev 003f679cbe ddraw/tests: Additional colorfill test in p8_primary_test. 2008-04-03 11:31:32 +02:00
Alexander Dorofeyev 2caa797e76 ddraw: Set surface to NULL on failure in GetAttachedSurface. 2008-04-03 11:30:30 +02:00
Stefan Dösinger 2e26c176ec ddraw: Pass the NULL rectangle to IDirectDrawSurface::Unlock. 2008-04-02 20:29:17 +02:00
Stefan Dösinger c1503a2579 ddraw: Remove some leftover test debug output. 2008-04-02 20:29:09 +02:00
Stefan Dösinger ab7630fbe3 ddraw: Add a D3D7 cube map test.
The DirectDraw cube mapping interface has a few pitfalls. So far we have
a test testing the surface enumeration, this adds a rendering test. So
far everything used in the test works.
2008-04-02 20:29:01 +02:00
Stefan Dösinger 4066c2e2fd ddraw: Do not fail if D3D is not available. 2008-04-01 20:31:51 +02:00
Marcus Meissner 0ab270e41a ddraw/tests: Initialize ddprimpal. 2008-03-28 14:49:17 +01:00
Francois Gouget eab196b35a ddraw: Remove trailing spaces in ok() calls. 2008-03-27 11:05:40 +01:00
Kolbjørn Fredheim a40185f12f ddraw: Don't clear the return value anymore, we fill the fields anyway, also a test for the behaviour. 2008-03-25 12:50:33 +01:00
Alexander Dorofeyev 7a012df64d ddraw/tests: Add test for ddraw 8-bit mode.
Adds rudimentary test for 8 bit mode ddraw (palettized primary surface). Tests 
things like GetDC and its palette handling and SetPalette affected by patches 
that follow.
2008-03-25 11:53:06 +01:00
Alexander Dorofeyev eddbdbef47 ddraw/tests: Test executebuffer triangle instruction with zero count. 2008-03-24 20:40:18 +01:00
Alexander Dorofeyev bacd2340b4 ddraw/tests: Test SetPalette on non-palettized surfaces. 2008-03-24 20:40:05 +01:00
Francois Gouget 9381f22653 ddraw/tests: Don't use 0xaa to avoid any confusion when running with +heap. 2008-03-05 12:18:36 +01:00
Günther Brammer df5116cc7d ddraw: Return a nullpointer as lpSurface in Lock() if the rect is invalid. 2008-02-25 19:50:30 +01:00
Alexander Dorofeyev 29d87c6cbf ddraw/tests: Add a test of D3DTBLEND_MODULATE with P8 texture. 2008-02-21 12:53:00 +01:00
Detlef Riekenberg 1eb52667ac ddraw/tests: Avoid endless loop, when T&L is not supported. 2008-02-20 12:06:28 +01:00
Alexander Dorofeyev 74c380cb7b ddraw/tests: Add test for palette handling in IDirect3DTexture_Load. 2008-02-19 13:39:24 +01:00
Alexander Dorofeyev cfa40a22c9 ddraw/tests: Split d3d1 initialization and destruction into separate functions.
Slight rewrite to make creating additional D3D1 tests easier.
2008-02-19 13:39:23 +01:00
Alexander Dorofeyev ddd0ec1670 ddraw/tests: Add test for branch instruction with non-zero offset. 2008-02-19 12:06:50 +01:00
Roderick Colenbrander 1079f37407 wined3d: When DDCAPS_ALLOW256 is set, palette entry 0 and 255 are filled with black and white. 2008-02-19 12:06:25 +01:00
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Reece H. Dunn 8354995482 ddraw: Spelling fixes in the d3d test output. 2008-02-06 13:49:45 +01:00
Stefan Dösinger 8ad3a1f49e ddraw: Some drivers return a refresh rate of 0. 2008-02-06 12:43:53 +01:00
Francois Gouget 20b41af9f1 ddraw/tests: Fix compilation on systems that don't support nameless unions. 2008-02-05 12:19:37 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Alexander Dorofeyev 320e253805 ddraw/tests: Add test for D3DTBLEND_MODULATE. 2008-01-22 11:19:34 +01:00
Francois Gouget 7478d9c44d ddraw/tests: Fix compilation on systems that don't support nameless unions. 2008-01-16 12:46:09 +01:00
Alexander Dorofeyev d14ef91c92 ddraw/tests: Add test for rendering vertices with zero rhw. 2008-01-08 12:53:31 +01:00
Peter Dons Tychsen 6e8b7c4cef ddraw: Add missing pitch in callback from EnumDisplayModes(). 2008-01-04 13:55:12 +01:00
Francois Gouget 05170942de ddraw/tests: Fix compilation on systems that don't support nameless unions. 2007-12-10 12:06:09 +01:00
Stefan Dösinger f700cbe74b wined3d: Add an alpha blending test. 2007-12-07 16:26:43 +01:00
Stefan Dösinger 3cc253c557 wined3d: Enabling too many lights is silently ignored.
I'm resending this patch because my reply to Henri's concern came too late. 
Henri noted that I am enabling lights that do not exist. Existing tests show 
that if no light is assigned to the index, LightEnable creates a light with a 
set of default parameters, so the tests should be fine.

From 9ee4c61805b50886f79e87d744b52f27b7b00b4e Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan@codeweavers.com>
Date: Thu, 29 Nov 2007 13:22:47 +0100
Subject: [PATCH] WineD3D: Enabling too many lights is silently ignored

This patch adds tests for all d3d versions that show that Windows
pretends that enabling more lights than supported succeeds. D3D_OK is
returned, and the light is reported as enabled.

What is not tested in this patch is the rendering output of this
situation, thus the FIXME is still written.
2007-12-03 13:44:07 +01:00
Stefan Dösinger 714991bf3f ddraw: Fix a test for Vista. 2007-11-07 12:08:07 +01:00
Stefan Dösinger f9dba29477 ddraw: Be less picky about float precision. 2007-11-07 12:08:00 +01:00
Stefan Dösinger 0d016254a0 wined3d: Don't test D3DDEVICE surfaces in dsurface tests. 2007-11-05 13:24:36 +01:00
Stefan Dösinger 7a445747ea ddraw: Do not fail on surface creation errors, skip instead. 2007-10-10 11:59:26 +02:00