Stefan Dösinger
|
f154f543aa
|
wined3d: Fix a function name.
|
2006-12-19 16:53:37 +01:00 |
Stefan Dösinger
|
ff077ec621
|
wined3d: Add missing render state function.
|
2006-12-19 16:53:30 +01:00 |
Stefan Dösinger
|
062b6ffc5c
|
wined3d: Catch nop render state changes.
|
2006-12-19 16:53:18 +01:00 |
Stefan Dösinger
|
c83562af69
|
wined3d: Move render state applying to drawprim.
|
2006-12-19 16:53:07 +01:00 |
Stefan Dösinger
|
7532c759f1
|
wined3d: Add the state dirtification infrastructure.
|
2006-12-19 16:53:00 +01:00 |
Markus Amsler
|
5e0fc62135
|
d3d: Callback infrastructure for implicit swap chain destruction in IWineD3DDevice.
|
2006-12-18 12:07:26 +01:00 |
Markus Amsler
|
4ca9fccf31
|
wined3d: Remove IWineD3DVolume_GetContainerParent.
|
2006-12-18 12:02:28 +01:00 |
Markus Amsler
|
9b397ec2d5
|
wined3d: Remove IWineD3DSurface_GetContainerParent.
|
2006-12-18 12:02:17 +01:00 |
Markus Amsler
|
0bceec1be8
|
wined3d: Call the depth stencil destroy callback function.
|
2006-12-18 12:01:39 +01:00 |
Vitaliy Margolen
|
2a63a03eb1
|
wined3d: When changing display modes clip cursor to the requested display size.
|
2006-12-15 13:44:36 +01:00 |
Stefan Dösinger
|
17eabc42b3
|
wined3d: Clean up SetRenderState.
|
2006-12-15 12:18:52 +01:00 |
Stefan Dösinger
|
46028b0832
|
wined3d: D3DRS_ZVISIBLE is not supposed to return an error.
|
2006-12-15 12:18:36 +01:00 |
Francois Gouget
|
367f91fb5c
|
Assorted spelling fixes.
|
2006-12-14 20:25:05 +01:00 |
Dmitry Timoshkov
|
47ffd7ae95
|
wined3d: Make some data const.
|
2006-12-14 20:11:41 +01:00 |
Stefan Dösinger
|
92460b98d1
|
wined3d: Move WINED3DRS_SEPARATEALPHABLENDENABLE to the state table.
|
2006-12-11 16:27:04 +01:00 |
Stefan Dösinger
|
8a5bf91b4e
|
wined3d: Move SRGBWRITEENABLE to the state table.
|
2006-12-11 16:26:53 +01:00 |
Stefan Dösinger
|
cd0d0a7041
|
wined3d: Move tesselation to the state table.
|
2006-12-11 16:26:39 +01:00 |
Stefan Dösinger
|
3bb41771ad
|
wined3d: Move WINED3DRS_NORMALDEGREE to the state table.
|
2006-12-11 16:26:25 +01:00 |
Stefan Dösinger
|
052197acb0
|
wined3d: Move WINED3DRS_POSITIONDEGREE to the state table.
|
2006-12-11 16:26:14 +01:00 |
Stefan Dösinger
|
e25edbfc66
|
wined3d: Make WINED3DRS_DEBUGMONITORTOKEN a nogl state.
|
2006-12-11 16:26:05 +01:00 |
Stefan Dösinger
|
8197470d67
|
wined3d: Move WINED3DRS_PATCHSEGMENTS to the state table.
|
2006-12-11 16:25:48 +01:00 |
Stefan Dösinger
|
e498a16124
|
wined3d: Move WINED3DRS_PATCHEDGESTYLE to the state table.
|
2006-12-11 16:25:13 +01:00 |
Stefan Dösinger
|
d7b8549963
|
wined3d: Move WINED3DRS_MULTISAMPLEMASK to the state table.
|
2006-12-11 16:25:03 +01:00 |
Stefan Dösinger
|
55a5b4ca1e
|
wined3d: Move WINED3DRS_ANTIALIAS to the state table.
|
2006-12-11 16:24:52 +01:00 |
Stefan Dösinger
|
2710be0327
|
wined3d: Move WINED3DRS_STIPPLEDALPHA to the state table.
|
2006-12-11 16:24:38 +01:00 |
Stefan Dösinger
|
312be46415
|
wined3d: Move WINED3DRS_TEXTUREPERSPECTIVE to the state table.
|
2006-12-11 16:24:23 +01:00 |
Stefan Dösinger
|
30cf5e4e90
|
wined3d: Move WINED3DRS_DEPTHBIAS to the state table.
|
2006-12-11 16:24:10 +01:00 |
Stefan Dösinger
|
d7e55c2841
|
wined3d: Move WINED3DRS_SCISSORTESTENABLE to the state table.
|
2006-12-11 16:23:57 +01:00 |
Stefan Dösinger
|
0c1aba5fe2
|
wined3d: Move WINED3DRS_MULTISAMPLEANTIALIAS to the state table.
|
2006-12-11 16:23:45 +01:00 |
Stefan Dösinger
|
81dce7189d
|
wined3d: Move WINED3DRS_WRAPx to the state table.
|
2006-12-11 16:23:34 +01:00 |
Stefan Dösinger
|
920225d4a4
|
wined3d: Move WINED3DRS_POINTSPRITEENABLE to the state table.
|
2006-12-11 16:23:18 +01:00 |
Stefan Dösinger
|
2b775221fd
|
wined3d: WINED3DRS_SOFTWAREVERTEXPROCESSING is a nogl state.
|
2006-12-11 16:23:02 +01:00 |
Stefan Dösinger
|
c5344709b1
|
wined3d: Move WINED3DRS_LASTPIXEL to the state table.
|
2006-12-11 16:22:48 +01:00 |
Stefan Dösinger
|
580b9961f4
|
wined3d: Move WINED3DRS_LOCALVIEWER to the state table.
|
2006-12-11 16:22:35 +01:00 |
Stefan Dösinger
|
4c64b86f5b
|
wined3d: Move WINED3DRS_COLORWRITEENABLEx to the state table.
|
2006-12-11 16:22:18 +01:00 |
Stefan Dösinger
|
caa371a69c
|
wined3d: Move point scale render states to the state table.
|
2006-12-11 16:22:03 +01:00 |
Stefan Dösinger
|
9a0e4b5453
|
wined3d: Move WINED3DRS_POINTSIZE_MAX to the state table.
|
2006-12-11 16:21:39 +01:00 |
Stefan Dösinger
|
51b41d9981
|
wined3d: Move WINED3DRS_POINTSIZE_MIN to the state table.
|
2006-12-11 16:21:23 +01:00 |
Stefan Dösinger
|
0ec7c8b55a
|
wined3d: Move WINED3DRS_POINTSIZE to the state table.
|
2006-12-11 16:20:52 +01:00 |
Stefan Dösinger
|
2ea57677d3
|
wined3d: Move WINED3DRS_NORMALIZENORMALS to the state table.
|
2006-12-11 16:20:01 +01:00 |
Stefan Dösinger
|
dd6f5a5437
|
wined3d: Move WINED3DRS_ZBIAS to the state table.
|
2006-12-11 16:19:50 +01:00 |
Stefan Dösinger
|
6a5d7df74f
|
wined3d: Move WINED3DRS_LINEPATTERN to the state table.
|
2006-12-11 16:19:36 +01:00 |
Stefan Dösinger
|
81a1dce0cb
|
wined3d: Move WINED3DRS_COLORVERTEX to the state table.
|
2006-12-11 16:19:19 +01:00 |
Stefan Dösinger
|
1328da09da
|
wined3d: Set WINED3DRS_INDEXEDVERTEXBLENDENABLE to state_nogl.
|
2006-12-11 12:47:11 +01:00 |
Stefan Dösinger
|
3e05e133f9
|
wined3d: Remove the unused tween factor stateblock member.
|
2006-12-11 12:47:04 +01:00 |
Stefan Dösinger
|
a628b99d63
|
wined3d: Remove the unused stateblock vertex blend member.
|
2006-12-11 12:46:55 +01:00 |
Stefan Dösinger
|
e53c2a9c4c
|
wined3d: Move wined3drs_fogdensity to the state table.
|
2006-12-11 12:46:41 +01:00 |
Stefan Dösinger
|
af935a2402
|
wined3d: Move WINED3DRS_FOGCOLOR to the state table.
|
2006-12-11 12:43:29 +01:00 |
Stefan Dösinger
|
f260248650
|
wined3d: Make WINED3DRS_RANGEFOGENABLE a nogl state.
|
2006-12-11 12:43:13 +01:00 |
Stefan Dösinger
|
6175273c28
|
wined3d: Move fog states to the state table.
|
2006-12-11 12:42:59 +01:00 |
Stefan Dösinger
|
8d7243192a
|
wined3d: Move WINED3DRS_STENCILWRITEMASK to the state table.
|
2006-12-11 12:42:46 +01:00 |
Stefan Dösinger
|
0d9ae20883
|
wined3d: Move stencil states to the state table.
|
2006-12-11 12:42:27 +01:00 |
Stefan Dösinger
|
0772bb49e4
|
wined3d: Move WINED3DRS_SPECULARENABLE to the state table.
|
2006-12-11 12:42:14 +01:00 |
Stefan Dösinger
|
287c6247ab
|
wined3d: Move WINED3DRS_TEXTUREFACTOR to the state table.
|
2006-12-11 12:42:04 +01:00 |
Stefan Dösinger
|
ac26172c2d
|
wined3d: Move WINED3DRS_BLENDOP to the state table.
|
2006-12-11 12:41:51 +01:00 |
Stefan Dösinger
|
89e999ac71
|
wined3d: Move clipping states to the state table.
|
2006-12-11 12:41:21 +01:00 |
Stefan Dösinger
|
c88efeef05
|
wined3d: Move alpha states to the state table.
|
2006-12-11 12:40:27 +01:00 |
Stefan Dösinger
|
d30f1527cc
|
wined3d: Implement IWineD3DDevice::Reset.
|
2006-12-11 12:40:13 +01:00 |
Chris Robinson
|
36be22a6db
|
wined3d: Reduce the number of error messages.
|
2006-12-11 12:18:46 +01:00 |
Stefan Dösinger
|
1f07e4af18
|
wined3d: Move blending related states to the state table.
|
2006-12-08 12:25:53 +01:00 |
Stefan Dösinger
|
28cc3c8d6b
|
wined3d: Move WINED3DRS_AMBIENT to the state table.
|
2006-12-08 12:25:28 +01:00 |
Stefan Dösinger
|
2ac48e8154
|
wined3d: Move WINED3DRS_ZFUNCENABLE to the state table.
|
2006-12-08 12:25:20 +01:00 |
Stefan Dösinger
|
8879c7d8dd
|
wined3d: Move WINED3DRS_ZWRITEENABLE to the state table.
|
2006-12-08 12:25:09 +01:00 |
Stefan Dösinger
|
bb622e81bd
|
wined3d: Move WINED3DRS_DITHERENABLE to the state table.
|
2006-12-08 12:24:55 +01:00 |
Stefan Dösinger
|
68f1082284
|
wined3d: Move WINED3DRS_SHADEMODE to the state table.
|
2006-12-08 12:24:45 +01:00 |
Stefan Dösinger
|
e4b4c040f0
|
wined3d: Move WINED3DRS_CULLMODE to the state table.
|
2006-12-08 12:24:31 +01:00 |
Stefan Dösinger
|
bb564dc6fa
|
wined3d: Move WINED3DRS_ZENABLE to the state table.
|
2006-12-08 12:24:21 +01:00 |
Stefan Dösinger
|
53e788956a
|
wined3d: Move WINED3DRS_LIGHTNING to the state table.
|
2006-12-08 12:24:14 +01:00 |
Stefan Dösinger
|
de96320421
|
wined3d: Move WINED3DRS_FILLMODE to the state table.
|
2006-12-07 21:10:54 +01:00 |
Stefan Dösinger
|
2a24e84a65
|
wined3d: Add render states to the state table.
|
2006-12-07 21:10:26 +01:00 |
Stefan Dösinger
|
c0268c7840
|
wined3d: Create the state table.
|
2006-12-07 21:10:07 +01:00 |
Markus Amsler
|
3fd04308ab
|
d3d: Callback infrastructure for implicit depth stencil surface destruction in IWineD3DDevice.
|
2006-12-06 12:39:30 +01:00 |
Markus Amsler
|
50a0c21265
|
d3d: Callback infrastructure for implicit volume destruction in IWineD3DVolumeTexture.
|
2006-12-06 12:39:14 +01:00 |
Markus Amsler
|
cb8652947a
|
d3d: Callback infrastructure for implicit render target destruction in IWineD3DSwapChain.
|
2006-12-06 12:39:00 +01:00 |
Markus Amsler
|
2946f7a267
|
d3d: Callback infrastructure for implicit surface destruction in IWineD3DCubeTexture.
|
2006-12-06 12:38:51 +01:00 |
Markus Amsler
|
04ae4596ff
|
d3d: Callback infrastructure for implicit surface destruction in IWineD3DTexture.
|
2006-12-06 12:38:37 +01:00 |
Jan Zerebecki
|
9c58bce158
|
wined3d: Add err for failure case in CheckDepthStencilMatch.
|
2006-12-04 20:05:09 +01:00 |
Jan Zerebecki
|
ee44a19966
|
wined3d: Fix CreateFakeGLContext to work with a foreign context.
|
2006-12-04 20:00:50 +01:00 |
Jan Zerebecki
|
1075367493
|
wined3d: Avoid XFree on NULL in CheckDeviceType.
|
2006-12-04 18:53:19 +01:00 |
Jan Zerebecki
|
3d6ffee021
|
wined3d: Rearrange code in CheckDeviceType.
|
2006-12-04 18:37:59 +01:00 |
Jan Zerebecki
|
0d66f794d1
|
wined3d: Add warn trace for INVALIDCALL case in CheckDeviceType.
|
2006-12-04 18:37:23 +01:00 |
Markus Amsler
|
a60d4b2d2f
|
d3d: Pass the superior creating object down to the callback functions.
|
2006-12-04 12:40:38 +01:00 |
Vitaliy Margolen
|
81c7c00bb2
|
wined3d/d3d9: Pitch for DXTn textures can not be 0. With tests.
|
2006-12-04 12:38:16 +01:00 |
Markus Amsler
|
3127eac2bd
|
wined3d: Remove duplicated code.
|
2006-12-01 12:27:13 +01:00 |
Markus Amsler
|
f8e7ddd798
|
Revert "d3d: Remove AddRef from IWineD3DDevice_GetBackBuffer.".
This reverts commit 478a414e58 .
|
2006-11-30 16:04:00 +01:00 |
Markus Amsler
|
b657cd5f58
|
Revert "d3d: Remove AddRef from IWineD3DDevice_GetRenderTarget.".
This reverts commit a7518f6f54 .
|
2006-11-30 16:04:00 +01:00 |
Markus Amsler
|
f5204b8afe
|
Revert "d3d: Remove AddRef from IWineD3DDevice_GetDepthStencilSurface.".
This reverts commit 18546a65e6 .
|
2006-11-30 16:04:00 +01:00 |
Markus Amsler
|
5bec2f57a1
|
Revert "d3d: Remove AddRef from IWineD3DDevice_GetTexture.".
This reverts commit 274df6ef88 .
|
2006-11-30 16:04:00 +01:00 |
Markus Amsler
|
3a270375d7
|
Revert "d3d: Remove AddRef from IWineD3DDevice_GetStreamSource.".
This reverts commit 16b1e046d8 .
|
2006-11-30 16:03:59 +01:00 |
Markus Amsler
|
9dd81f64cb
|
Revert "d3d: Remove AddRef from IWineD3DDevice_GetIndices.".
This reverts commit 5c4008719c .
|
2006-11-30 16:03:59 +01:00 |
Markus Amsler
|
c40501db50
|
Revert "d3d: Remove AddRef from IWineD3DDevice_GetSwapChain.".
This reverts commit f84f687e6d .
|
2006-11-30 16:03:59 +01:00 |
Markus Amsler
|
0bff261cfa
|
Revert "d3d: Fix partially applied patch: Remove AddRef from GetDirect3D.".
Removing COM in d3d is not feasible as long as we use inheritance. So
stick to the COM refcount rules.
This reverts commit 3fd8fe089c .
|
2006-11-30 16:03:59 +01:00 |
H. Verbeet
|
7e4d3d951e
|
wined3d: Set the initial FBO depth stencil when creating the device.
|
2006-11-28 12:22:48 +01:00 |
H. Verbeet
|
9c1a61b6e6
|
wined3d: Delete the device's FBO when destroying the device.
|
2006-11-28 12:22:40 +01:00 |
H. Verbeet
|
533dcbf170
|
wined3d: Use the texture sampling function in a few more instructions (GLSL).
|
2006-11-28 12:22:32 +01:00 |
H. Verbeet
|
f035df9ac5
|
wined3d: Use the texture sampling function in a few more instructions (ARB asm shaders).
|
2006-11-28 12:22:24 +01:00 |
H. Verbeet
|
ac651a7058
|
wined3d: Fix the texm3x3tex instruction to sample properly.
|
2006-11-28 12:19:48 +01:00 |
H. Verbeet
|
e7122e9a79
|
wined3d: Create a separate function for sampling a texture.
|
2006-11-28 12:19:39 +01:00 |
H. Verbeet
|
8a7f427948
|
wined3d: Select the right shader backend when creating the device.
|
2006-11-28 12:19:27 +01:00 |
H. Verbeet
|
df6f482a69
|
wined3d: Move some code specific to the different shader backends into the respective source files.
|
2006-11-28 12:19:19 +01:00 |