Zhiyi Zhang
dc6af98c11
ddraw: Handle more cases in hr_ddraw_from_wined3d().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-21 21:51:07 +02:00
Zebediah Figura
0774e76802
ddraw: Retrieve transform state from the primary stateblock.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-28 16:39:01 +01:00
Alexandre Julliard
0d48c2e796
ddraw: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Henri Verbeet
b943c7910b
ddraw: Handle DDLOCK_WRITEONLY in wined3dmapflags_from_ddrawmapflags().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-26 11:35:46 +02:00
Michael Stefaniuc
27ef844bd1
ddraw: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 12:40:54 +01:00
Henri Verbeet
acc0f49aae
wined3d: Introduce separate read and write resource map flags.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 13:43:52 +01:00
Henri Verbeet
72c31c146b
ddraw: Explicitly translate resource map flags.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-16 14:24:58 +01:00
Henri Verbeet
381cd03eb3
ddraw: Implement depth/colour fills on top of wined3d_device_clear_rendertarget_view().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-30 09:01:57 +02:00
Andrey Gusev
2aa6894af6
ddraw: Fix a typo in WARN() messages.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 00:10:51 +09:00
Stefan Dösinger
2702f28e66
ddraw: Remove support for V16U16.
...
None of my Windows drivers support this format. At best this will
confuse applications trying to pick X8L8V8U8.
2015-03-11 22:09:29 +09:00
Stefan Dösinger
b07b350286
ddraw: Set DDPF_BUMPLUMINANCE for V5U5L6 and X8L8V8U8.
2015-03-11 22:09:24 +09:00
Amine Khaldi
21bfc8c440
include: Correct DDSCAPS2 and DDSURFACEDESC2 structures and their uses.
2015-03-02 23:00:32 +09:00
Henri Verbeet
4d887292af
ddraw: Cleanup DDRAW_dump_pixelformat().
2014-05-02 13:45:21 +02:00
Andrey Gusev
e7f0a8a081
Assorted spelling and typos fixes.
2014-01-27 17:00:11 +01:00
Henri Verbeet
29c43e2efc
ddraw: Rename PixelFormat_WineD3DtoDD() to ddrawformat_from_wined3dformat().
2013-06-07 11:58:29 +02:00
Henri Verbeet
86eb211159
ddraw: Rename PixelFormat_DD2WineD3D() to wined3dformat_from_ddrawformat().
...
For consistency with the other D3D dlls.
2013-06-07 11:58:27 +02:00
Stefan Dösinger
21e2ceb4c1
ddraw: Don't map 1, 2 and 4 bit alpha formats to WINED3DFMT_A8_UNORM.
2012-12-03 12:37:06 +01:00
Frédéric Delanoy
80d3010099
ddraw: Return appropriate value for non matching 32 bit pixel format in PixelFormat_DD2WineD3D (coverity).
2012-11-26 11:49:47 +01:00
Henri Verbeet
0f9ccac447
ddraw: Get rid of the member_info typedef.
2012-05-03 23:44:53 +02:00
Henri Verbeet
5b680d6023
ddraw: Get rid of the flag_info typedef.
2012-05-03 11:17:56 +02:00
Henri Verbeet
4c8ee13d5b
ddraw: Trace color keys in hex.
2012-03-08 17:58:08 +01:00
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