Ivan Gyurdiev
ec782c2b97
wined3d: D3DTRANSFORMSTATETYPE: Consistently use in the WINED3D namespace.
2006-10-12 12:33:39 +02:00
Ivan Gyurdiev
b1a4bd87a9
wined3d: D3DRENDERSTATETYPE: Consistently use in the WINED3D namespace.
2006-10-12 12:33:24 +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
2465fcb368
ddraw: Win64 printf format warning fixes.
2006-10-11 12:08:28 +02:00
H. Verbeet
37cb9de851
ddraw/tests: Win64 printf format warning fixes.
2006-10-10 19:59:14 +02:00
Jesse Allen
52296dbdbf
ddraw: Fix for DDSURFACEDESC param in CreateSurface.
2006-10-10 19:33:15 +02:00
Stefan Dösinger
4ff712c938
ddraw: Remove the process counter.
2006-10-09 20:38:37 +02:00
Stefan Dösinger
3543a070ff
ddraw: Protect the ddraw list.
2006-10-09 20:38:27 +02:00
Stefan Dösinger
09e794aff8
ddraw: Make the ddraw list a wine list.
2006-10-09 20:38:15 +02:00
Stefan Dösinger
48b550c9db
ddraw: Set the DDSCAPS2_MIPMAPSUBLEVEL flag on sublevels.
2006-10-09 12:54:38 +02:00
James Hawkins
1a922b6a38
ddraw: Set lplpDirect3DViewport3 to NULL before returning an error (found by Smatch).
2006-10-06 15:20:46 +02:00
Stefan Dösinger
3529560cd7
wined3d: Add WINED3DUSAGE_OVERLAY.
2006-10-06 12:53:24 +02:00
Stefan Dösinger
2bcacf22d3
wined3d: Add IWineD3DSurface::UpdateOverlay.
2006-10-06 12:53:24 +02:00
Stefan Dösinger
080e4f56cf
wined3d: Add UpdatOverlayZOrder.
2006-10-06 12:53:24 +02:00
Stefan Dösinger
f6647486cf
wined3d: Add IWineD3DSurface::GetOverlayPosition.
2006-10-06 12:53:24 +02:00
Stefan Dösinger
0f3995d21a
wined3d: Add IWineD3DSurface::SetOverlayPosition.
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
Elie Morisse
f9593bfe67
ddraw: Don't destroy complex attached surfaces even if explicitely
...
requested as they will be liquidated anyway when the root is
destroyed.
2006-10-03 20:33:39 +02:00
Francois Gouget
66300403c4
ddraw: Only perform the screen resolution changing tests in interactive mode.
2006-10-02 11:54:39 +02:00
Francois Gouget
ceb06a2f00
ddraw: Fix comparefloat() so it compiles with Visual C++ when given a negative value.
2006-09-29 17:53:12 +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
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Stefan Dösinger
6286c4e70d
ddraw: Pass the fullscreen flag to wined3d.
2006-09-10 10:18:45 +02:00
Stefan Dösinger
2d5b19c182
ddraw: Double buffered primary surfaces can only be created in EXLUSIVE mode.
2006-09-10 10:18:23 +02:00
Stefan Dösinger
49beec8635
ddraw: Return DDERR_NOPALETTEATTACHED if no palette is attached.
2006-09-10 10:18:12 +02:00
Andrew Talbot
8968f8d55d
ddraw: Cast-qual warning fix.
2006-09-10 10:16:41 +02:00
Mike McCormack
a8ae03f2d8
ddraw: Make tests pass when OpenGL libraries aren't present.
2006-09-07 10:22:02 +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
Andrew Talbot
04a0f74b63
ddraw: Write-strings warnings fix.
2006-08-23 16:53:55 +02:00
Stefan Huehner
998e256c82
Fix some -Wstrict-prototype warnings () -> (void).
2006-08-21 12:06:26 +02:00
Andrew Talbot
704f8d7848
ddraw: Write-strings warnings fix.
2006-08-17 11:24:21 +02:00
Dmitry Timoshkov
c7ae07adf4
ddraw: Do not report DDCAPS_OVERLAY and friends since overlays are not supported.
2006-08-15 19:24:19 +02:00
Michael Stefaniuc
757ee19ca1
janitorial: Removed the rest of the redundant NULL checks before HeapFree.
2006-08-10 10:57:33 +02:00
Stefan Dösinger
de5a2f3fbe
ddraw: Implement D3DRENDERSTATE_TEXTUREMAPBLEND.
2006-08-09 20:35:24 +02:00
Yong Chi
f0d6cba3a5
ddraw: Fix for incorrect return value from wined3d.
2006-08-09 12:39:47 +02:00
Francois Gouget
ce9b4baad8
Assorted spelling fixes.
2006-08-07 13:52:55 +02:00
Mike McCormack
d99c7d5939
ddraw: Don't link to wined3d, load it at runtime.
...
This lets ddraw dlls built on a machine with OpenGL present run on other
machines that may not have the OpenGL libraries installed.
2006-08-03 18:20:31 +02:00
H. Verbeet
6add05d33b
ddraw: Order Z-buffer formats by depth buffer bit depths in IDirect3DImpl_7_EnumZBufferFormats.
2006-07-31 10:53:09 +02:00
Stefan Dösinger
06106e2810
ddraw: Support using an application-provided surface pointer.
2006-07-26 15:17:59 +02:00
Stefan Dösinger
bffe5a6922
ddraw/wined3d: Remove texture format enumeration functions.
2006-07-18 11:25:22 +02:00
Stefan Dösinger
915174d8d9
ddraw: Palette refcounting fix.
...
Do not AddRef the DirectDraw interfaces in CreatePalette of older
interface version, and add a test for that.
2006-07-11 17:10:53 +02:00
Stefan Dösinger
0a81295782
ddraw: Split up the ddraw refcount.
2006-07-11 17:10:17 +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
85aa8ab855
wined3d: Add position_transformed flag to Strided data format.
2006-07-07 17:35:36 +02:00
Paul Vriens
8f143f190c
Use the return value of register_key_guid.
2006-06-30 21:08:07 +02:00
Piotr Caban
2abfc391b4
ddraw: Added missing '\n' in debug traces.
2006-06-30 20:44:14 +02:00
Stefan Dösinger
b0c7bee2ef
ddraw: Fix some material related bugs.
2006-06-30 20:42:27 +02:00
Stefan Dösinger
44ace22445
ddraw: Matrix values in the execute buffer are handles.
2006-06-30 20:42:13 +02:00
Stefan Dösinger
a509aabb97
ddraw: Correct a NULL pointer check.
2006-06-29 14:39:48 +02:00
Stefan Dösinger
cea41b0a0f
wined3d: Vertex buffer can be locked multiple times.
2006-06-27 21:14:02 +02:00
Stefan Dösinger
53fc3f6acc
ddraw: Fix some compiler warnings.
2006-06-27 11:14:20 +02:00
Stefan Dösinger
92e48bcea5
ddraw: Assign the surface descriptions height to the height.
2006-06-27 11:14:13 +02:00
Francois Gouget
9bfbfcbeb4
Assorted spelling, case and grammar fixes.
2006-06-26 13:06:11 +02:00
Francois Gouget
5629f74d0d
ddraw: Fix compilation with gcc 2.95.
2006-06-26 13:04:54 +02:00
Stefan Dösinger
36a8a8e6f3
ddraw: Set the video memory and visible flag on render targets.
2006-06-26 13:04:27 +02:00
Stefan Dösinger
546a60ff2f
ddraw: Enumerate the reference d3ddevice.
2006-06-26 13:04:13 +02:00
Stefan Dösinger
495e46197a
ddraw/wined3d: IDirectDrawSurface7::SetSurfaceDesc corrections.
2006-06-26 12:38:55 +02:00
Stefan Dösinger
d50ff220d0
ddraw: Use the handle infrastructure for Matrix handles.
2006-06-22 12:04:26 +02:00
Stefan Dösinger
1e2413f4f4
ddraw: Implement proper handle management.
2006-06-19 11:14:18 +02:00
Stefan Dösinger
01273e7eb6
ddraw: Palette refcounting fixes + tests.
2006-06-19 10:29:56 +02:00
Alexandre Julliard
7f8c29a407
ddraw: Make some functions static.
2006-06-15 17:14:37 +02:00
Stefan Dösinger
c8901d6f62
ddraw: Rewrite most of ddraw using WineD3D.
2006-06-15 16:51:16 +02:00
Michael Stefaniuc
fee72b607a
Yet another round of redundant NULL checks before HeapFree.
2006-06-13 11:40:23 +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
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
Robert Shearman
74407105d2
Check the return value from register_key_guid in all the DLL registering code.
2006-05-10 19:38:04 +02:00
Michael Stefaniuc
a87520036f
janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
...
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Stefan Dösinger
dbdc8c2f65
ddraw: Add a test for IDirect3DVertexBuffer7::ProcessVertices.
2006-04-10 15:44:10 +02:00
Francois Gouget
6bddeb1cf7
Assorted spelling fixes.
2006-03-21 20:10:39 +01:00
Alexandre Julliard
8b3e426821
ddraw: Call DDRAW_ChooseDefaultDriver only on PROCESS_ATTACH.
2006-03-21 15:06:36 +01:00
Alexandre Julliard
db0aabca25
ddraw: Don't crash in d3d test if OpenGL is missing.
2006-03-13 14:19:58 +01:00
Peter Beutner
07fe82dd55
ddraw: Fix transparent Blits on 8bit surfaces.
...
There are no red/green/blue bitmasks with color depth==8bpp. In that
case always match against the whole byte.
2006-02-27 12:20:21 +01:00
Stefan Dösinger
6e27152c96
ddraw: Small function corrections.
...
The pPlaneEquation parameter of IDirect3DDevice7::SetClipPlane is not const
IDirect3DDevice2::NextViewport takes an IDirect3DDevice2 interface, not an
IDirect3DDevice3, the same for IDirect3DDevice::NextViewport.
2006-02-11 20:30:48 +01:00
Stefan Dösinger
531c487807
ddraw: ProcessVertices correction.
...
Use the texture index to get the texcoord size from the fvf, not the
vertex index.
2006-02-11 20:30:13 +01:00
Lionel Ulmer
00577aa605
ddraw: Better simulate what 'GetVerticalBlankStatus' does on real hardware.
2006-01-16 20:38:08 +01:00
Francois Gouget
8ca1f3fc14
Assorted spelling fixes
2006-01-03 12:10:50 +01:00
Ivan Leo Puoti
3cc9e40c3b
ddraw: Fix DirectDrawSurface::QueryInterface crash.
2005-12-21 21:11:54 +01:00
Alexandre Julliard
ae964ac801
Take advantage of the __EXCEPT_PAGE_FAULT macro.
2005-12-16 17:17:57 +01:00
Eric Pouech
8cddd5d2fb
Made some functions static.
2005-12-12 11:53:56 +01:00
Rein Klazes
72caaad6cc
ddraw: Catch access violations when calling DirectDrawEnumerateProc.
2005-12-05 20:40:42 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Lionel Ulmer
4665deda9e
Use the front buffer palette for DC operations on off-screen buffers.
2005-11-14 12:27:55 +00:00
H. Verbeet
9bf1fe622d
Fix the default value for keylow in DIB_DirectDrawSurface_Blt.
...
Unset DDBLT_DDFX when lpbltfx is NULL / contains no dwDDFX.
2005-11-14 12:27:31 +00:00
Christian Costa
d40302a833
Add DDBLT_DONOTWAIT flag.
...
Separate DDBLT_WAIT and DDBLT_ASYNC fixme in Blt method.
2005-11-14 11:22:20 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Christian Costa
be29e3708b
Finish moving d3d[1..3] light code to use d3d7.
2005-10-31 10:05:15 +00:00
Christian Costa
c656dfc39c
Enumerate only requested modes by taking into account surface desc
...
when present.
2005-10-17 08:55:27 +00:00
Christian Costa
85155cc6be
Disable depth test when there is no Z buffer attached.
...
Initialise texture states at creation instead of when tex name is
generated.
2005-10-12 21:05:40 +00:00
Lionel Ulmer
002608224d
Add an assert if both arguments to DD_STRUCT_COPY_BYSIZE are equal.
2005-10-10 19:53:37 +00:00
Lionel Ulmer
dfd1153f1d
- do not pass private data to the application but a copy of it
...
- add some more traces
2005-10-10 10:44:23 +00:00
Lionel Ulmer
ef735703e8
- pass a copy of the surface description to the application
...
- increase the surface reference count when giving the surface pointer
to the caller
2005-10-10 10:28:05 +00:00
Raphael Junqueira
9e18b7efa9
Don't crash if pDDSD is NULL on DirectDrawSurface::Lock.
2005-10-07 15:01:02 +00:00
Stefan Dösinger
71af04b60c
- Add handling for DDSCL_SETFOCUSWINDOW in SetCooperativeLevel.
...
- Print a fixme for DDSCL_CREATEDEVICEWINDOW and
DDSCL_SETDEVICEWINDOW.
- Don't allow DDSCL_EXCLUSIVE without DDSCL_FULLSCREEN.
2005-10-06 12:26:04 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Alexandre Julliard
860c4fe7de
The clip list is in screen coordinates so we need to map the result of
...
GetRandomRgn if the Windows version is win9x.
2005-09-27 09:34:24 +00:00
Christian Costa
3d6154aa33
Implement Begin/Vertex/End rendering functions.
2005-09-25 15:18:18 +00:00
Alexandre Julliard
157f974159
Use Get/SetWindowLongPtr to access pointers in the window extra
...
bytes.
2005-09-12 15:38:56 +00:00
Alexandre Julliard
c6b005ac69
Fixed some more traces to use the right printf format and avoid
...
typecasts.
2005-09-12 14:12:46 +00:00
Saulius Krasuckas
f1853ba186
- DirectDrawCreateEx fails with Standard VGA Adapter driver.
...
- IDirect3D7::CreateDevice() returns E_OUTOFMEMORY if a card has no 3D
acceleration.
2005-08-25 19:19:46 +00:00
Saulius Krasuckas
6b702cc84c
Skip testing on IDirect3D7::CreateDevice() failure.
2005-08-23 19:59:35 +00:00
Saulius Krasuckas
328d3107e1
Don't leak a list of visuals (with advice of Jacek Caban).
2005-08-22 18:58:27 +00:00
Maxime Bellengé
cb0a4595ba
Fix regression in color keying with RGB mask.
2005-08-22 09:20:51 +00:00
Christian Costa
244762bbcc
Take RGB mask into account when doing color keying.
...
Add corresponding conformance test.
2005-08-17 09:52:56 +00:00
Mike McCormack
b814be9814
Fix gcc 4.0 warnings.
2005-08-11 10:57:47 +00:00
Alexandre Julliard
d37f0abf07
Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
...
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Francois Gouget
65f2082108
Add missing WINAPI to MSXML_DllGetClassObject().
...
Standardize the DllGetClassObject() prototypes so they match the MSDN
definition.
2005-08-08 15:04:53 +00:00
Alexandre Julliard
49b7fdcfc0
Removed the broken mmap64 configure check, and moved the
...
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Mike McCormack
82f9c97cbf
Warning fixes.
2005-08-01 09:22:26 +00:00
Alexandre Julliard
76ed2835cd
Make CONST_VTABLE the default in the Wine source.
2005-07-26 20:10:51 +00:00
Vincent Béron
05b2c1cc81
Remove multiple declarations of the same function, keeping the public
...
one as reference.
2005-07-24 16:17:28 +00:00
Mike McCormack
2d7ea23868
Interlocked LONG* gcc warning fixes.
2005-07-11 13:21:17 +00:00
Francois Gouget
28dc5a8afc
Assorted spelling fixes.
2005-07-11 10:59:41 +00:00
Marcus Meissner
1e3dda640c
Make check fails in dlls/ddraw/tests/d3d, because a heap allocate is
...
fed to wrong size. (sizeof(BOOLEAN) is 1 , but ative_lights is a DWORD
array).
2005-07-03 11:21:32 +00:00
Alexandre Julliard
aa0b9aac0d
Sort entry points alphabetically.
2005-06-22 18:38:23 +00:00
Stefan Huehner
9213d56ae0
Make some function static.
2005-06-20 15:35:54 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Francois Gouget
6394a15314
Assorted spelling fixes.
2005-06-17 20:59:49 +00:00
Alexandre Julliard
c2d5b444b3
Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
...
can be used in all the test.
2005-06-13 12:10:54 +00:00
Lionel Ulmer
78e95198cb
Support all possible texture coordinates sizes.
2005-06-12 10:43:11 +00:00
Stefan Leichter
ff23e5a916
Make ddraw tests loadable on NT4.
2005-06-09 20:38:21 +00:00
Antoine Chavasse
926e35532c
Test cases for the direct3d7 light api.
2005-06-07 21:34:59 +00:00
Antoine Chavasse
b65e790bd3
Rewrote the light management API to allow for an unlimited amount of
...
lights to be set, and only a subset of them to be enabled.
2005-06-07 21:34:40 +00:00
Christian Costa
69c3e6ff11
Moved d3ddevice and direct3d objects files to ddraw root dir.
...
Renamed all remaining files.
2005-06-06 15:51:50 +00:00
Christian Costa
8d0480d754
Moved dsurface object files to ddraw root dir.
2005-06-05 17:50:49 +00:00
Christian Costa
96eb47392c
Moved ddraw object files to ddraw root dir.
2005-06-04 09:34:54 +00:00
Christian Costa
4dadfc481a
Moved clipper and palette objects files to ddraw root dir.
2005-06-03 11:30:11 +00:00
Christian Costa
719187f190
Merged remaining header files in DirectDraw objects folders into
...
ddraw_private.h.
2005-06-02 10:33:06 +00:00
Christian Costa
b3473bbcf2
Merged d3ddevice/main.h and direct3d/main.h into d3d_private.h.
...
Fixed Thunk_IDirect3DImpl_2_CreateViewport.
2005-06-01 19:52:25 +00:00
Christian Costa
1c196c5923
Merged convert.c, struct_convert.c and helper.c into ddraw_utils.c.
2005-05-31 09:32:44 +00:00
Antoine Chavasse
477ddd8e4d
- Implemented the implicit creation of mipmaps for surfaces that have
...
DDSCAPS_COMPLEX, DDSCAPS_MIPMAP and for which the mipmap count is
not specified.
- Implemented test cases for mipmap textures creation.
2005-05-30 11:11:34 +00:00
Dmitry Timoshkov
4625628e67
Make some of the OLE interface vtables const.
2005-05-27 20:17:35 +00:00
Antoine Chavasse
9593c4ea16
Added traces in GetPrivateData and SetPrivateData.
...
Made SetPrivateData actually store the data from the buffer as well as
its size.
2005-05-23 11:42:40 +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
Lionel Ulmer
ba9ce8c7d6
'0' means 'default refresh rate' and not a real refresh rate of '0'.
2005-05-07 12:17:45 +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
Marcus Meissner
accf3ee2e6
Fixed 3 memset()s which used the wrong size (too large).
2005-04-25 10:48:38 +00:00
Dylan Taft
14b3729ac3
Set display frequency too in SetDisplayMode.
2005-04-24 17:23:39 +00:00
Matthew Mastracci
11959ba310
Correctly lock and unlock surface for a single-surface Blt() and
...
BltFast() call.
2005-04-11 14:26:00 +00:00
Lionel Ulmer
acdc84e673
Create the GL texture id at texture-binding time.
2005-04-11 12:51:22 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Christian Costa
967f11dd8d
Removed wrong FIXMEs.
2005-03-21 10:28:49 +00:00