Commit graph

38 commits

Author SHA1 Message Date
Józef Kucia
678f6bbdb4 include/d3d9: Update D3DQUERYTYPE enum.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-23 17:34:36 +02:00
Jan Schmidt
a9de59c906 d3d9: Adjust D3DCOLOR_ARGB to avoid shift overflow.
Signed-off-by: Jan Schmidt <jan@centricular.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 22:50:07 +09:00
Józef Kucia
391734702f include: Add declarations for D3DUSAGEs added with d3d9ex.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-09 17:30:03 +09:00
Gerald Pfeifer
75d62d24d1 d3d9: Make D3DFVF_TEXTUREFORMAT4 and friends unsigned.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 22:31:25 +09:00
Gerald Pfeifer
f6788b9186 d3d9: Change #define D3DSTREAMSOURCE_INSTANCEDATA to avoid shift overflow.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:36 +09:00
Matteo Bruni
41556170f2 d3d9: Pack structures to 4-bytes alignment on x86.
Reported by Christoph von Wittich.
2015-03-02 13:48:12 +09:00
Henri Verbeet
82f70e25c1 d3d9: Remove some incorrect constants from d3d9types.h.
D3DPRESENT_BACK_BUFFER_MAX doesn't exist at all and
D3DPRESENT_BACK_BUFFERS_MAX is in d3d9.h.
2014-11-17 19:30:31 +09:00
Michael Müller
3c75989497 d3d9: Add headers for IDirect3DSwapChain9Ex interface. 2013-09-02 19:44:52 +02:00
Jacek Caban
71ac2d90df d3d9types.h: Added missing D3DSWAPEFFECT_* values. 2012-06-13 12:09:57 +02:00
Michael Stefaniuc
bd197aea92 include: Make "long" numeric constants LP64/LLP64 proof (d3d9*.h). 2011-10-27 12:28:59 +02:00
Frédéric Delanoy
81bf925401 include: Assorted spelling fixes. 2011-07-28 18:37:40 +02:00
Jacek Caban
12f40e9387 include: Fixed D3DMULTISAMPLE_FORCE_DWORD value and added MAKEFOURCC definition guard. 2010-09-20 15:46:59 +02:00
Matteo Bruni
e0d02dfcc8 d3d9: Add D3DSHADER_COMPARISON definition. 2009-12-29 11:15:55 +01:00
Henri Verbeet
df89eec03c d3d9: Remove d3d8 enum elements from D3DTEXTURESTAGESTATETYPE. 2009-01-05 12:41:24 +01:00
Henri Verbeet
d359a7813f d3d: Fix the value of D3DFVF_POSITION_MASK. 2009-01-03 14:55:31 +01:00
Henri Verbeet
66654cf057 wined3d: Add/update the D3DPRESENTFLAG constants. 2008-09-23 12:25:10 +02:00
Stefan Dösinger
90a654aede include: Declare IDirect3D9Ex and IDirect3DDevice9Ex. 2008-03-03 11:58:56 +01:00
James Hawkins
e4c1227ec9 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:17 +01:00
Stefan Dösinger
43af9aec19 wined3d: Add D3DSI_TEXLD_PROJECT and BIAS to d3d9types.h. 2007-09-17 12:08:23 +02:00
Francois Gouget
d476313a49 direct3d: Remove misspelled constants as they exist correctly spelled. 2007-05-21 12:38:54 +02:00
Rok Mandeljc
106badf11b include/d3d9types.h: Remove Size from D3DVOLUME_DESC. 2007-02-26 13:39:32 +01:00
Francois Gouget
d4ca34dd9b d3d: Fix the D3DFMT_XXX constant declarations. 2007-01-18 12:05:05 +01:00
Jason Green
2e52b36bb3 wined3d: Declare a 1D sampler for TEXDP3TEX (GLSL). 2006-07-29 11:50:02 +02:00
Jason Green
d353ab7879 wined3d: Start checking for D3DUSAGE_QUERY_* items, improve traces. 2006-07-29 11:49:51 +02:00
Ivan Gyurdiev
61f1de1b85 d3d9: Fix FVF POSITION mask. 2006-07-03 12:01:44 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vitaliy Margolen
f9fc4b86c0 d3d: Add D3DDEVTYPE_NULLREF definition. 2006-05-16 20:21:19 +02:00
Jan Zerebecki
10fc948093 wined3d: Add D3DFMT_L16. 2006-04-04 20:30:53 +02:00
Robert Reif
e577a2a391 Fixes so d3d9.h and dsound.h can be included at the same time. 2005-10-03 11:04:06 +00:00
Oliver Stieber
f97cf3d7ce Define some more flags 2005-06-16 20:35:49 +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
Jason Edmeades
33025b203c - Handle failures to allocate storage more gracefully.
- Only prototype the interfaces which are subclassed (I overdid it
  last time!).
- Implement Get/Set Texture and GetBackBuffer, plus device's
  GetDisplayMode / GetDeviceCaps.
- Make some of the d3d9 skeleton code issue fixme's to highlight code
  which hasn't been migrated yet.
- Correct the d3d9 headers for D3DSURFACE_DESC which caused stack
  corruption in demos.
2005-01-18 11:42:29 +00:00
Jason Edmeades
41427857b1 Add render target support, and ensure there is a front and back buffer
created during device creation.
2005-01-09 17:37:02 +00:00
Jason Edmeades
b9e2bedac1 Copy and tidy up the code from dx8 create device into wined3d. Call
from wined3d and d3d8, but short term only use the code for real from
d3d9.
2004-10-08 20:52:33 +00:00
Raphael Junqueira
baf2721bd8 Some fixes on d3d8 and d3d9 headers. 2003-07-08 21:04:01 +00:00
Raphael Junqueira
a3dbd7e2c7 - some cleanups and fixes on d3d8 and d3d9 headers
- a lot of stubs for d3d9.dll
2003-07-01 01:09:17 +00:00
Raphael Junqueira
d9df64609b d3d9 headers are better when they build. 2003-06-24 19:26:51 +00:00
Raphael Junqueira
9a401a0b18 Added d3d9 headers. 2003-06-20 21:28:34 +00:00