Commit Graph

44 Commits

Author SHA1 Message Date
Henri Verbeet
f2115004d5 ddraw: Get rid of some ERRs in PixelFormat_DD2WineD3D().
Most of these would just be the result of the application giving us invalid
pixel formats.
2011-09-13 09:19:40 +02:00
Stefan Dösinger
2fc534edf2 ddraw: Simplify Z format parsing a bit, remove ERRs. 2011-09-02 14:42:28 +02:00
Stefan Dösinger
6176eb87de ddraw: Set dwZBufferBitDepth in old z buffers. 2011-08-31 19:43:09 +02:00
Stefan Dösinger
42b7ad4fd4 ddraw: Convert dwZBufferBitDepth into a DDPIXELFORMAT. 2011-08-31 19:43:09 +02:00
Stefan Dösinger
c42277883a ddraw: Introduce a function to convert a DDSURFACEDESC2 to a DDSURFACEDESC. 2011-08-31 19:43:09 +02:00
Stefan Dösinger
76fecde8fb ddraw: Introduce a function to convert a DDSURFACEDESC to a DDSURFACEDESC2. 2011-08-31 19:43:09 +02:00
Stefan Dösinger
899b278558 ddraw: Emulate a 24 bit depth format without stencil or padding. 2011-08-29 13:56:33 +02:00
Stefan Dösinger
138a12545d ddraw: Correct WINED3DFMT_X8D24_UNORM. 2011-08-24 11:52:07 +02:00
Stefan Dösinger
8e7ff78354 ddraw: Correct WINED3DFMT_D24_UNORM_S8_UINT. 2011-08-24 11:52:07 +02:00
David Adam
f8690a6bda ddraw: Remove a useless function. 2010-10-21 16:18:05 +02:00
Stefan Dösinger
3ea9024f55 ddraw: Handle WINED3DFMT_R16G16_SNORM. 2010-10-06 16:12:07 +02:00
Henri Verbeet
50d3f8081e ddraw: Just pass FOURCC formats through to wined3d. 2010-09-08 13:32:05 +02:00
Henri Verbeet
b1a385db11 ddraw: Remove some stray tabs. 2010-09-08 13:32:00 +02:00
Henri Verbeet
cc5271d1b7 wined3d: Rename WINED3DFORMAT to wined3d_format_id. 2010-08-24 12:25:01 +02:00
Henri Verbeet
c5a14085d4 ddraw: Remove unused / redundant includes. 2010-08-19 11:17:41 +02:00
Rico Schüller
cef28bb3a2 ddraw: Change return to break in PixelFormat_WineD3DtoDD(). 2010-05-03 14:00:15 +02:00
Vincent Pelletier
40cd9a7ff0 ddraw: Fix discrepancy in alpha mask for WINED3DFMT_B2G3R3A8_UNORM. 2010-05-03 13:57:58 +02:00
Henri Verbeet
9ae92661cc ddraw: Remove a redundant return. 2009-12-30 13:31:30 +01:00
Henri Verbeet
bf10dbe8a6 wined3d: Map D3DFMT_D24S8 to WINED3DFMT_D24_UNORM_S8_UINT.
The internal order of the depth and stencil bits is unspecified since the
format isn't lockable.
2009-10-30 11:28:52 +01:00
Henri Verbeet
47c84f4f7f wined3d: Use the DXGI naming convention for all formats. 2009-09-25 15:15:44 +02:00
Jörg Höhle
3eb62ed62c ddraw: Complete recognition of pixelformat 19: X8L8V8U8. 2009-09-15 16:41:24 -05:00
Henri Verbeet
ee60e5fd71 ddraw: Remove trailing spaces. 2009-09-01 14:06:03 +02:00
David Adam
22bfd1396c ddraw: Implement ComputeSphereVisibility. 2009-02-26 15:13:25 +01:00
Henri Verbeet
8cefc47d81 wined3d: Add DXGI formats to WINED3DFORMAT. 2009-02-20 11:10:37 +01:00
Alexandre Julliard
23abbcb9b3 ddraw: Make some functions static. 2008-12-02 15:27:08 +01:00
Alexandre Julliard
e1ced22db1 ddraw: Convert source files to utf-8. 2008-10-18 19:19:45 +02:00
Andrew Talbot
a697d99d66 ddraw: Sign-compare warnings fix. 2008-09-29 17:32:17 -05:00
Stefan Dösinger
3b48660f43 wined3d: Implement YV12 support for emulated overlays.
This is the prefered format of many codecs, and for some codecs this
is the only supported output format. As usual I try to handle all the
conversion in the GPU and keep the CPU involvement minimal to gain the
full performance of PBO transfers.
2008-09-02 14:55:50 +02:00
Stefan Dösinger
a950d3a10e ddraw: Set the bitdepth on YUV formats. 2008-08-20 12:33:33 +02:00
Stefan Dösinger
8662bd7555 ddraw: Fix some Z buffer formats. 2008-03-27 11:10:20 +01:00
Christian Costa
c8837b8205 ddraw: DDRAW_dump_flags_nolf must not add LF. 2008-03-25 11:45:05 +01:00
Roderick Colenbrander
e2d70fff6b ddraw: Add yv12 detection support. 2008-02-22 12:04:01 +01:00
Francois Gouget
90834020da ddraw: Modify DDRAW_dump_(DWORD|PTR|DDCOLORKEY|DDSCAPS2|pixelformat)() to print a trailing '\n'. 2007-12-07 14:52:56 +01:00
Francois Gouget
6a8f961e08 ddraw: Rename DDRAW_dump_flags_() to DDRAW_dump_flags_nolf() to clarify its difference from DDRAW_dump_flags(). 2007-12-07 14:52:51 +01:00
Andrew Riedi
63f4b6f024 ddraw: DPRINTF -> TRACE. 2007-12-05 12:34:33 +01:00
Francois Gouget
fa48cb042c Assorted spelling fixes. 2007-05-29 13:47:18 +02:00
Stefan Dösinger
d913744f1e d3d: Calculate the size of WINED3DFVF_XYZBx FVFs. 2007-05-03 14:24:16 +02:00
Andrew Talbot
e4253fd8b9 ddraw: Constify some variables. 2007-04-23 14:42:06 +02:00
Francois Gouget
d4ca34dd9b d3d: Fix the D3DFMT_XXX constant declarations. 2007-01-18 12:05:05 +01:00
Andrew Talbot
386fdd81e9 ddraw: Declare some functions static. 2007-01-04 21:14:08 +01:00
Andrew Talbot
7c95df77ae ddraw: Declare some functions static. 2007-01-04 09:55:15 +01:00
H. Verbeet
2465fcb368 ddraw: Win64 printf format warning fixes. 2006-10-11 12:08:28 +02:00
Francois Gouget
9bfbfcbeb4 Assorted spelling, case and grammar fixes. 2006-06-26 13:06:11 +02:00
Stefan Dösinger
c8901d6f62 ddraw: Rewrite most of ddraw using WineD3D. 2006-06-15 16:51:16 +02:00