Markus Amsler
274df6ef88
d3d: Remove AddRef from IWineD3DDevice_GetTexture.
2006-11-22 11:40:31 +01:00
Markus Amsler
18546a65e6
d3d: Remove AddRef from IWineD3DDevice_GetDepthStencilSurface.
2006-11-22 11:40:24 +01:00
Markus Amsler
a7518f6f54
d3d: Remove AddRef from IWineD3DDevice_GetRenderTarget.
2006-11-22 11:40:05 +01:00
Markus Amsler
478a414e58
d3d: Remove AddRef from IWineD3DDevice_GetBackBuffer.
2006-11-22 11:39:52 +01:00
Markus Amsler
167b83c28a
d3d: Remove AddRef from IWineD3DDevice_GetDirect3D.
2006-11-22 11:39:39 +01:00
Alexandre Julliard
46dd467941
d3d9: Include wingdi.h, not gdi.h.
2006-11-17 12:46:15 +01:00
Markus Amsler
b9807c2a3b
d3d9: Forward port d3d8 refcount tests.
2006-11-16 12:48:52 +01:00
Markus Amsler
2c40b823e1
d3d9: Forwardport implicit surface tests.
2006-11-10 11:36:41 +01:00
Stefan Dösinger
9b74d76214
d3d9/tests: Add refcount test for binding objects.
2006-11-04 11:57:36 +01:00
Ivan Gyurdiev
2d8aed6b03
d3d9: Make the "Tests executed" counter stable.
2006-10-30 11:38:03 +01:00
Ivan Gyurdiev
3160ad76f7
d3d9: Pass test as argument to print handler.
2006-10-30 11:37:29 +01:00
Andrew Talbot
3ac7720f05
d3d9: Cast-qual warnings fix.
2006-10-30 11:20:14 +01:00
Francois Gouget
22288de732
Fix compilation with gcc 2.95.
2006-10-19 13:35:19 +02:00
Francois Gouget
58162f87fd
Assorted spelling fixes.
2006-10-13 11:55:04 +02:00
Ivan Gyurdiev
9628a1b2e2
wined3d: Merge D3DRECT types into one type in WINED3D namespace.
2006-10-12 12:37:08 +02:00
Ivan Gyurdiev
ac37163124
wined3d: Merge D3DMATRIX types into one type in WINED3D namespace.
2006-10-12 12:35:00 +02:00
Ivan Gyurdiev
732e0e908b
wined3d: Merge GAMMARAMP types into one type in WINED3D namespace.
2006-10-11 12:22:01 +02:00
Ivan Gyurdiev
5f2987ae32
wined3d: Merge VIEWPORT types into one type in WINED3D namespace.
2006-10-11 12:21:54 +02:00
Ivan Gyurdiev
90f5be2bef
wined3d: Merge MATERIAL types into one type in WINED3D namespace.
2006-10-11 12:21:14 +02:00
Ivan Gyurdiev
70bbf734b1
wined3d: Merge LIGHT types into one type in WINED3D namespace.
2006-10-11 12:21:06 +02:00
H. Verbeet
93ec41fd9a
d3d9: Disable the surface pitch size test for now, just check alignment instead.
2006-10-11 12:08:24 +02:00
H. Verbeet
cb4ad6e52c
d3d9: Win64 printf format warning fixes.
2006-10-10 19:59:09 +02:00
Ivan Gyurdiev
365852c083
d3d9/tests: Printf format fixes for d3d9 tests.
2006-10-09 20:26:09 +02:00
Ivan Gyurdiev
1eea5c2119
d3d9/tests: Make d3d9 tests Wcast-qual compliant.
2006-10-09 20:25:39 +02:00
Ivan Gyurdiev
8f21b6f682
d3d9/tests: Remove unused device parameter.
2006-10-09 20:24:11 +02:00
Ivan Gyurdiev
401835fcb7
d3d9/tests: Add init/teardown handlers for state tests.
2006-10-09 20:23:59 +02:00
Ivan Gyurdiev
cbfc4090d4
d3d9/tests: Clean up get/set handler arguments.
2006-10-09 20:23:20 +02:00
Stefan Dösinger
3529560cd7
wined3d: Add WINED3DUSAGE_OVERLAY.
2006-10-06 12:53:24 +02:00
Francois Gouget
82babbee0b
Add missing '\n's to Wine traces.
2006-10-05 17:46:48 +02:00
Karsten Elfenbein
836cf139bb
d3d9: Fix typo in trace.
2006-10-05 11:31:56 +02:00
Francois Gouget
2c82c707da
d3d9: Tweak a buffer declaration to fix the compilation with Visual C++.
2006-10-02 11:54:49 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Alexandre Julliard
dba338f2e6
d3d9/tests: Don't test texture states beyond the supported maximum.
2006-09-27 20:53:01 +02:00
Vitaliy Margolen
0ffe5a34c6
d3d9: Remove no longer used imports.
2006-09-26 20:01:39 +02:00
Stefan Dösinger
9cafbd6de0
wined3d: Surface data is 32 bit aligned.
2006-09-25 18:31:26 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Alexandre Julliard
5cf75e615a
makefiles: Only run test and documentation targets in directories that need them.
2006-08-28 13:37:44 +02:00
Stefan Dösinger
30ef7f0b08
wined3d: Minor cursor fixes.
2006-08-10 10:54:37 +02:00
H. Verbeet
6128a05071
d3d9: Stub D3DPERF_ functions.
2006-08-07 19:59:53 +02:00
H. Verbeet
7ac5bd67d5
d3d: Don't crash when SetRenderTarget() is called with a NULL pSurface.
2006-08-07 13:12:37 +02:00
Michael Stefaniuc
2783e72a65
Fix 2 "static is not at beginning of declaration" warnings.
2006-07-28 12:33:56 +02:00
Ivan Gyurdiev
84d6bd0469
d3d9: State management test framework for d3d9.
2006-07-21 10:55:23 +02:00
Alexandre Julliard
77dc0d9be5
.gitignore: Added wildcards to ignore generated resource files.
2006-07-10 21:39:00 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Ivan Gyurdiev
1309844913
wined3d: Implement FVF to DECL9 conversion (with tests).
2006-07-06 16:07:38 +02:00
Francois Gouget
9eb81363ad
Add trailing '\n's to ok() calls.
...
Remove spaces before '\n'.
2006-06-16 11:32:42 +02:00
Francois Gouget
11ae0f6386
Assorted spelling fixes.
2006-06-16 11:32:29 +02:00
Louis. Lenders
3c688e9345
d3d9: Remove ValidatePixel/VertexShader.
2006-06-16 11:30:38 +02:00
Alexandre Julliard
7b27b33495
d3d9: Remove dependencies on OpenGL headers and libraries.
2006-06-15 16:52:01 +02:00
Stefan Dösinger
3862f8e3d7
wined3d: Support more than one back buffer.
2006-06-15 16:51:41 +02:00
Alexandre Julliard
4374328271
d3d9: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:09:46 +02:00
H. Verbeet
3a91a4a274
d3d9: Make some test functions static.
2006-06-12 13:21:47 +02:00
Alexandre Julliard
c30d4ecd81
d3d9: Make the virtual table functions static where possible.
2006-06-10 11:51:05 +02:00
H. Verbeet
773309a403
d3d9: Add a test for default texture stage state values.
2006-06-09 21:06:54 +02:00
H. Verbeet
5eaf49f895
d3d9: Add a test for GetContainer (Volumes & Surfaces).
2006-06-07 15:37:30 +02:00
H. Verbeet
07a3173bee
d3d9: Remove unused vshaderdeclaration.c.
2006-06-07 15:28:25 +02:00
H. Verbeet
34e2e2bd39
d3d9: Fix QueryInterface.
...
QueryInterface should return S_OK on success and set the object
pointer to NULL on failure. This is similar to the patch Ivan
submitted a while ago for wined3d.
2006-06-07 15:28:12 +02:00
Ivan Gyurdiev
5bb0eebc95
d3d9: Test missing light recording.
...
When a light does not exist, and the app attempts to capture it in the
stateblock, a disabled light with the default light parameters is
written instead.
2006-06-07 15:16:25 +02:00
Ivan Gyurdiev
374de452ab
d3d9: Mipmaps level test.
2006-06-07 15:16:16 +02:00
H. Verbeet
88528a7839
d3d9: Add a test for setting / getting vertex shader constants.
2006-06-07 11:47:38 +02:00
Vitaliy Margolen
19d19b2b79
d3d9: Add reference to the parent device for surfaces.
...
Allow some objects to have no parent device.
Tighten refcount tests and test refound decrement on Release.
2006-05-30 12:34:22 +02:00
Phil Costin
46047402a3
wined3d: Create stub for D3DPERF_SetOptions function.
2006-05-26 12:06:56 +02:00
Vitaliy Margolen
5eeead1fd7
d3d9: StateBlock is also created in EndStateBlock. With tests.
2006-05-25 10:34:41 +02:00
Stefan Dösinger
e902cd119f
wined3d: Swapchain and back buffer corrections + tests.
2006-05-24 13:56:55 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Vitaliy Margolen
4054c06e55
directx: Update file versions to dx9c (compared to win2k).
2006-05-22 11:32:17 +02:00
Vitaliy Margolen
c5091d9d8d
d3d9: Add refcount tests for all objects created by device.
2006-05-22 11:32:03 +02:00
Vitaliy Margolen
6dcae77cc9
d3d9: All objects created by device should keep reference to it.
2006-05-22 11:31:45 +02:00
Francois Gouget
f7c24f37ad
Various trace fixes.
...
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Stefan Dösinger
d04f0507cf
wined3d: Implement Init3D and Uninit3D.
2006-04-19 12:43:22 +02:00
Stefan Dösinger
03b256b16d
wined3d: Add a parameter for surface type selection.
2006-04-18 11:09:17 +02:00
Stefan Dösinger
ffc8e46e76
wined3d: Add IWineD3DSurface::Blt.
2006-04-17 11:19:30 +02:00
Stefan Dösinger
d2510847b0
wined3d: Split device creation and opengl initialization.
2006-04-13 11:22:45 +02:00
Vitaliy Margolen
4a25828c0d
d3d9: VertexDeclaration and VertexShader should keep reference to the parent device object.
2006-04-12 11:20:21 +02:00
Ivan Gyurdiev
88a7c9e948
wined3d: Downgrade some FIXMEs.
2006-04-10 12:23:45 +02:00
Stefan Dösinger
cfb6b282d8
d3d9: Add typecasts for WINED3DLOCKED_BOX to avoid compiler warnings.
2006-04-08 19:59:54 +02:00
Stefan Dösinger
cf4b91f074
wined3d: Add WINED3DBOX to wined3d_types.h.
2006-04-07 14:55:50 +02:00
Stefan Dösinger
bbe490abcc
wined3d: Add WINED3DLOCKED_RECT to wined3d_types.h.
2006-04-06 22:23:31 +02:00
Stefan Dösinger
63fd9a7a98
wined3d: Add WINED3DTEXTUREFILTERTYPE to wined3d_types.h.
2006-04-06 22:22:35 +02:00
Stefan Dösinger
be720179b6
wined3d: Add WINED3DCUBEMAP_FACES to wined3d_types.h.
2006-04-04 20:01:10 +02:00
Stefan Dösinger
c289b3cc51
wined3d: Define WINED3DGAMMARAMP based on D3DGAMMARAMP / DDGAMMARAMP.
2006-04-04 20:00:41 +02:00
Stefan Dösinger
08c38a87e1
wined3d: Add WINED3DRASTERSTATUS to wined3d_types.h.
2006-04-04 11:51:37 +02:00
Stefan Dösinger
f6ed704f96
wined3d: Make use of WINED3DDEVICE_CREATION_PARAMETERS.
2006-04-03 21:35:44 +02:00
Vitaliy Margolen
fc13420770
d3dx: VertexBuffer should keep reference to the parent device object.
2006-04-03 14:14:24 +02:00
Stefan Dösinger
0ad31f819d
wined3d: Add WINED3DBACKBUFFER_TYPE to wined3d_types.h.
2006-04-03 12:17:35 +02:00
Stefan Dösinger
fce54bcc49
wined3d: Add WINED3DDISPLAYMODE to wined3d_types.h.
2006-04-03 12:17:22 +02:00
Stefan Dösinger
6a8578f847
wined3d: Add WINED3DDEVTYPE to wined3d_types.h.
2006-03-30 12:45:57 +02:00
Stefan Dösinger
1d47556195
wined3d: Use WINED3DSWAPEFFECT in the wined3d headers and code.
2006-03-28 17:51:45 +02:00
Stefan Dösinger
d75fd75d48
wined3d: Add WINED3DPOOL to wined3d_types.h.
2006-03-28 17:34:42 +02:00
Stefan Dösinger
b4b295c2a5
wined3d: Add WINED3DMULTISAMPLE_TYPE to wined3d_types.h.
2006-03-27 11:30:49 +02:00
Stefan Dösinger
0f7eb52789
wined3d: Add WINED3DTRIPATCH_INFO to wined3d_types.h.
2006-03-27 11:30:49 +02:00
Stefan Dösinger
6af24c816d
wined3d: Rectpatch code fix.
...
Update the wined3d code to use WINED3DRECTPATCH_INFO, which was added
with an older patch.
2006-03-24 12:13:50 +01:00
Stefan Dösinger
6cc87406cf
wined3d: Add WINED3DINDEXBUFFER_DESC to wined3dtypes.h.
2006-03-15 11:30:39 +01:00
Stefan Dösinger
9f46792ba2
wined3d: Add WINED3DVERTEXBUFFER_DESC to wined3d_types.h.
2006-03-13 13:32:01 +01:00
Stefan Dösinger
913df5b143
wined3d: Consistently use WINED3DRESOURCETYPE.
2006-03-10 21:43:00 +01:00
Stefan Dösinger
6104c67613
wined3d: Use WINED3DPRESENT_PARAMETERS in IWineD3DSwapChain::GetPresentParameters.
2006-03-09 12:51:26 +01:00
H. Verbeet
07004966a8
wined3d: Fix the relation between volumes and their container.
2006-03-06 20:08:36 +01:00
H. Verbeet
f7356a34c3
wined3d: Fix the relation between surfaces and their container.
2006-03-06 20:08:22 +01:00
Francois Gouget
339a4dbd5b
d3d: Fix Validate(Pixel|Vertex)Shader() prototypes.
...
Fix Validate(Pixel|Vertex)Shader() prototypes so they match the spec file.
Fix the stub message so it is more standard and use consistent
parameter names.
2006-03-03 13:17:20 +01:00
H. Verbeet
75ac954cf5
d3d9: Use an invisible window for tests.
2006-02-10 14:52:10 +01:00
H. Verbeet
9aa0d88c95
d3d9: Add a test for IDirect3DVertexDeclaration9_GetDeclaration.
2006-02-07 12:27:23 +01:00
H. Verbeet
d8d70370dd
d3d9: Reorganise the vertexdeclaration tests.
...
- Split the test for getting and setting vertexdeclaration into one
for creating the declaration and one for the actual getting and
setting.
- Add traces for when creating the device or vertexdeclaration fails.
2006-02-07 12:26:59 +01:00
H. Verbeet
b994d057ac
wined3d/d3d9: Cleanup GetContainer for volumes.
2006-02-07 12:26:10 +01:00
H. Verbeet
2200f3e2ca
wined3d/d3d9: Cleanup GetContainer for surfaces.
2006-02-07 12:25:59 +01:00
H. Verbeet
2bb87a90b2
d3d9: Add traces for when shader support is missing in the shader test.
2005-12-21 20:45:07 +01:00
Paul Vriens
636cb19ad0
d3d9: Don't crash on NULL device_ptr.
2005-12-19 10:00:08 +01:00
Paul Vriens
27462d1d40
d3d9: Don't treat missing d3d9.dll as a failure.
2005-12-15 10:25:06 +01:00
H. Verbeet
fa40b77ad7
d3d9: Add a test for Get/SetVertexDeclaration refcounts.
2005-12-14 11:29:38 +01:00
H. Verbeet
0a0e948b28
d3d9: Check for a NULL shader in IDirect3DDevice9Impl_GetVertexShader
...
before getting the parent.
2005-12-14 11:29:05 +01:00
Paul Vriens
9a1bc10f5d
d3d9: Don't treat missing d3d9.dll as a failure.
2005-12-14 10:50:52 +01:00
H. Verbeet
510c94d2d5
d3d9: Add a test for Get/SetVertexShader and Get/SetPixelShader refcounts.
2005-12-13 12:00:25 +01:00
H. Verbeet
c26ad82e75
d3d9: Add a test for BeginStateBlock and EndStateBlock.
2005-12-09 14:53:28 +01:00
Oliver Stieber
7c482cb9a1
wined3d: Vertex shader 8 support.
...
Start to add support for DirectX 8 vertex shaders, constants and
registers are now correctly assigned and loaded allowing support for
most basic d3d8 shaders.
2005-12-09 11:23:52 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Oliver Stieber
58fdd892c6
Remove the setting of the result pointer to NULL in creates, tests
...
show that windows doesn't set the result to NULL on error.
2005-11-14 11:21:46 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Francois Gouget
2adb302a99
Add trailing '\n's to ok() and TRACE() calls.
2005-11-10 11:17:38 +00:00
Oliver Stieber
5a48acc660
Allow NULL ppQuery to be passed to CreateQuery.
2005-11-08 12:46:21 +00:00
Roderick Colenbrander
9970133f2b
In case of D3D9 the CreateQuery call can be used to retrieve status
...
information. According to MSDN the 'ppQuery' parameter can be set to
NULL to detect if a certain query Type is supported.
2005-10-31 09:59:56 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Francois Gouget
6ccb80d9a5
Documentation tweaks to make winapi_check happy.
2005-09-26 09:52:56 +00:00
Oliver Stieber
cd159e3a74
Tidy up d3d9 and finalize passing d3d9 calls to wined3d for now.
2005-08-23 09:34:57 +00:00
Mike McCormack
d252fe6439
Fix pointer type warnings.
2005-08-18 11:45:29 +00:00
Oliver Stieber
e403237f47
Pass all the d3d9 calls onto their wined3d equivalents.
2005-08-18 11:45:17 +00:00
Mike McCormack
8955ac43a3
gcc 4.0 -Wpointer-sign fixes.
2005-07-28 10:16:21 +00:00
Oliver Stieber
7cb748fed2
Makes sure any internal reference counting is passed onto the parent,
...
any objects referenced by the internal stateblock are released when
the stateblock is released (we don't reference count while a
stateblock is recording, so recorded stateblocks have no references to
clean up).
2005-07-26 18:49:30 +00:00
Oliver Stieber
13621056db
Move parameters relating to opengl on the surface structure on to a
...
glDesciption member.
Removed Level and Target from LoadTexture, and reduced the dependency
on surface->device.
Fixed a couple of compiler warnings in d3d9.
2005-07-11 20:38:27 +00:00
Francois Gouget
28dc5a8afc
Assorted spelling fixes.
2005-07-11 10:59:41 +00:00
Oliver Stieber
efbd3ac9e2
Relay all the pixel shader calls from d3d9 to wined3d.
2005-07-08 11:29:21 +00:00
Oliver Stieber
3b0b430824
Added support for vertex declarations to wined3d, it's the last patch
...
to give wined3d basic functionality.
2005-07-07 20:45:39 +00:00
Oliver Stieber
8a6799d47d
Implement render targets using either textures, swapchains or
...
standalone surfaces.
2005-07-07 20:35:05 +00:00
Oliver Stieber
b9786d5c7c
Strip out stateblocks from d3d9 and relay all stateblock calls to
...
wined3d.
2005-07-05 16:17:31 +00:00
Oliver Stieber
111445b944
Check for a null surface returned from CreateSurface.
...
Relay GetCreationParameters call to wined3d.
2005-07-01 19:15:42 +00:00
Eric Pouech
809edabfbe
Const correctness fixes.
2005-06-27 09:53:46 +00:00
Oliver Stieber
46e7c30a71
Implement swapchains.
2005-06-23 11:05:24 +00:00
Oliver Stieber
0ce74f54fe
Call wined3d for GetDirect3D instead of using the ->direct3D instance,
...
which is no longer valid.
2005-06-21 20:04:07 +00:00
Oliver Stieber
e70e3ba0ff
Change the way caps are sent between d3d9/d3d8 and wined3d to make it
...
easier for wined3d to support additional versions of Direct3D.
2005-06-17 09:59:03 +00:00
Oliver Stieber
93fefdf452
Disable the creation of invalid vertex declarations in d3d9 preventing
...
some applications from crashing.
2005-06-16 20:37:22 +00:00
Oliver Stieber
2708871628
Added relay tracing to texture.
2005-06-16 20:36:12 +00:00
Dmitry Timoshkov
4625628e67
Make some of the OLE interface vtables const.
2005-05-27 20:17:35 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Alexandre Julliard
c3116c5e61
Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
...
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Oliver Stieber
67f2ad4563
- Volume now inherits Resource. This isn't the way Microsoft implements
...
the interface but it is more correct way (Microsoft even have a
resource type of volume).
- Moved usage, format, allocatedMemory and size onto the resource
class structure.
- Refactored Preload for classes that inherit BaseTexture, preload now
binds the texture instead of bind texture calling preload, bindTexture
allocated a glTexture if there isn't one.
- Added two new class static members BaseTexture_CleanUp and
Resource_CleanUp that should be called by classes that implement
BaseTexture or Resource.
2005-03-29 19:01:00 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Oliver Stieber
8435f6f058
Change AddRef in queryInterface to IUnknown_AddRef.
...
Move ppVoulme to d3d9voloumeimpl structure.
Some minor stylistic changes (making everything the same).
2005-03-11 10:25:30 +00:00
Oliver Stieber
7b261656fd
Added a stubbed out version of query to d3d9 and wined3d.
...
Update the d3d9 headers and creates wined3d types where d3d9 and d3d8
are incompatible.
2005-03-03 13:57:15 +00:00