Stefan Dösinger
089c34b95a
wined3d: Create VBOs.
2008-02-06 12:43:53 +01:00
Stefan Dösinger
74db14728e
wined3d: Separate OpenGL and driver version.
2008-02-06 12:43:53 +01:00
Stefan Dösinger
3188d9ae30
wined3d: Move the highpart of the driver version to the gl structure.
...
While 6.14 is a sane default, we might want to override it on a
per-driver basis, if we have really old Windows drivers on some cards.
2008-02-06 12:43:53 +01:00
Stefan Dösinger
cb6de00c86
wined3d: Tear down the dummy textures before resetting.
...
In theory the opengl library should release the gl resources when we
destroy the context, and the stateblock reset will recreate the dummy
textures, but I think it is cleaner to do this explicitly.
2008-02-06 12:43:53 +01:00
Stefan Dösinger
564532f026
wined3d: Restore the stateblock after Reset.
2008-02-06 12:43:53 +01:00
Andrew Talbot
19c5811256
winmm: Remove unneeded casts.
2008-02-06 12:43:53 +01:00
Roderick Colenbrander
35e0bb8225
wined3d: Redownload the surface data in case of a palette change. This fixes a lot of redrawing problems in Red Alert.
2008-02-06 11:36:44 +01:00
Roderick Colenbrander
424e9c3e08
wined3d: Allow read back of P8 surfaces. This fixes some of the redrawing issues in Red Alert.
2008-02-06 11:36:35 +01:00
Roderick Colenbrander
f84589ea1f
wined3d: Reload the palette on a color key change. This fixes the ddex4/ddex5 samples from the dx7 sdk.
2008-02-06 11:36:23 +01:00
Roderick Colenbrander
1b78457bc6
wined3d: Make sure to set the color key when it is needed including for index_in_alpha.
2008-02-06 11:36:15 +01:00
Michael Stefaniuc
41848c828b
msi: Fix "type of 'x' defaults to 'int'" warnings.
2008-02-06 11:36:04 +01:00
Detlef Riekenberg
36130b4d77
winspool: Use the backend for GetPrinterDriverDirectory.
2008-02-06 11:35:55 +01:00
Detlef Riekenberg
df03457ed0
localspl: Implement fpGetPrinterDriverDirectory.
2008-02-06 11:24:56 +01:00
Detlef Riekenberg
9e65dbc394
localspl: Initialize pointers in struct PRINTPROVIDOR.
2008-02-06 11:24:20 +01:00
Alexandre Julliard
7fdb61bd7e
gdi32: DC_GetDCPtr and DC_ReleaseDCPtr are not longer used.
2008-02-05 21:58:04 +01:00
Alexandre Julliard
1e3c47eae9
gdi32: Get rid of DC_GetDCPtr in the palette functions.
2008-02-05 21:57:35 +01:00
Alexandre Julliard
608b2a94ec
winex11: Add a critical section for the palette global variables instead of relying on the GDI lock.
2008-02-05 21:57:23 +01:00
Alexandre Julliard
8815e63835
gdi32: Get rid of DC_GetDCPtr in the GDI object functions.
2008-02-05 21:17:28 +01:00
Alexandre Julliard
4b14a080fe
gdi32: Get rid of DC_GetDCPtr in font functions.
2008-02-05 21:16:27 +01:00
Alexandre Julliard
35c09c01b2
gdi32: Use a separate critical section for freetype locking instead of relying on the GDI lock.
2008-02-05 21:16:06 +01:00
Alexandre Julliard
31576d408e
gdi32: Avoid locking in BITMAP_CopyBitmap.
2008-02-05 18:26:25 +01:00
Alexandre Julliard
630c976f88
gdi32: Don't hold the GDI lock when calling DC_InitDC.
2008-02-05 18:26:18 +01:00
Alexandre Julliard
67a9edbdf4
gdi32: Get rid of a few more uses of DC_GetDCPtr.
2008-02-05 17:35:40 +01:00
Alexandre Julliard
b962fca75c
gdi32: Avoid locking in CreateCompatibleBitmap.
2008-02-05 17:34:56 +01:00
Francois Gouget
e5b4c0f84b
comctl32/tests: Call InitCommonControlsEx() if available, fall back to InitCommonControls() for the older controls, and skip the tests altogether for the newer ones.
2008-02-05 13:26:48 +01:00
Reece H. Dunn
fb36abaee9
msxml3: Fix the domdoc test failures.
2008-02-05 12:44:26 +01:00
Stefan Dösinger
dcf08f01ed
wined3d: Recreate the contexts on _Reset.
2008-02-05 12:42:39 +01:00
Stefan Dösinger
e7393a8a11
wined3d: Move vertex buffer vbo creation to PreLoad.
2008-02-05 12:42:30 +01:00
Stefan Dösinger
b813398467
wined3d: Move the float format check to the big switch statement.
2008-02-05 12:42:20 +01:00
Stefan Dösinger
bbeedca67e
wined3d: Fix dxtn format check.
...
We can't return WINED3D_OK straight away because we have yet to check
the other flags, like sRGB correction.
2008-02-05 12:42:12 +01:00
Stefan Dösinger
9d9a640127
wined3d: Correct the srgb reading check.
2008-02-05 12:41:59 +01:00
Stefan Dösinger
b6ecb56eef
d3d9/tests: Accept the rejection of non-standard fixed function attrib types.
2008-02-05 12:41:48 +01:00
Stefan Dösinger
334e1600f2
d3d9/tests: Be less picky about X8L8V8U8 precision.
2008-02-05 12:41:39 +01:00
Stefan Dösinger
8daf8322ba
wined3d: Some texture transform test corrections.
2008-02-05 12:38:06 +01:00
Stefan Dösinger
635daf8b5d
wined3d: D3DTADDRESS_WRAP on conditional NP2 textures clamps to edge.
...
Conditional NP2 textures in Direct3D do not support D3DTADDRESS_WRAP
texture addressing. Similarly, GL_ARB_texture_rectangle textures do
not support GL_REPEAT. This patch adds a test which shows that _WRAP
clamps to the texture edge and implements that.
2008-02-05 12:37:49 +01:00
Stefan Dösinger
08391b82c1
wined3d: Update the gl rectangle when adjusting surface sizes.
2008-02-05 12:37:28 +01:00
Stefan Dösinger
1424e7fd09
wined3d: Make Clear aware of the depth stencil sharing.
2008-02-05 12:37:01 +01:00
Stefan Dösinger
451d85a71c
d3d9: Some drivers allow non-aligned offsets.
2008-02-05 12:33:28 +01:00
Stefan Dösinger
3d2aa7afa0
wined3d: De-Statify depth blit opengl resources.
2008-02-05 12:33:15 +01:00
Stefan Dösinger
093d7d00c5
wined3d: Mark textures dirty on UnLoad.
2008-02-05 12:33:05 +01:00
Stefan Dösinger
a0f2e6e55e
wined3d: Move some UnLoad code to the base texture class.
2008-02-05 12:32:58 +01:00
Stefan Dösinger
4c99bd5f87
wined3d: Destroy FBOs and reset pointers on Reset.
2008-02-05 12:32:49 +01:00
Stefan Dösinger
33d012efcb
wined3d: Unload implicit depth stencil buffers correctly.
...
We have to destroy potential fbo renderbuffers, and make sure the
texture is gone
2008-02-05 12:32:42 +01:00
Stefan Dösinger
c1538f8048
wined3d: Update the auto depth stencil buffer size on reset.
2008-02-05 12:32:30 +01:00
Stefan Dösinger
b706a62aff
wined3d: Beware of texture_rectangle NP2 support in Reset.
2008-02-05 12:32:22 +01:00
James Hawkins
2f658cb337
msi: Fix handling of the NULL separator when writing registry values.
2008-02-05 12:21:23 +01:00
Aric Stewart
1ce79f87dd
gdi32: Child fonts need to be scaled like their parent. With input from Dmitry Timoshkov.
2008-02-05 12:19:50 +01:00
Francois Gouget
3d962e27ed
d3dx8: Fix the D3DXAssembleShaderFromFileA/W() prototypes.
2008-02-05 12:19:38 +01:00
Francois Gouget
1bfdf232d9
d3dx8: Add the d3dx8mesh.h header and move the relevant function declarations there.
...
Include d3dx8mesh.h in d3dx8.h and add some commented out ones as reminders.
2008-02-05 12:19:38 +01:00
Francois Gouget
91d3a794e8
d3dx8: Make d3dx8core.h C++ compatible.
2008-02-05 12:19:38 +01:00