Commit Graph

38298 Commits

Author SHA1 Message Date
Stefan Dösinger 0bf32b12f5 wined3d: Add the ability to duplicate GL pixel shaders.
Some stateblock parameters have to be compiled into the GL pixel
shader code, like lines for pixelformat fixups. This leads to problems
when applications switch those settings, requiring a recompilation of
the shader. This patch enables wined3d to have multiple GL shaders for
a D3D shader(pixel shaders only so far) to handle this more
efficiently.
2008-11-25 13:07:03 +01:00
Stefan Dösinger aed9305c78 wined3d: Store shader IDs in the vs and ps impl structures. 2008-11-25 13:06:45 +01:00
Stefan Dösinger dd8905543b wined3d: Pass some stateblock values around directly.
This was suggested by Ivan quite a while ago, and we need it to better
handle conflicting texture format corrections and similar stateblock
value changes which until now required a recompilation of the entire
shader
2008-11-25 13:06:35 +01:00
Stefan Dösinger ff767f4984 wined3d: Make the shader backend call CompileShader.
A number of considerations contribute to this:

1) The shader backend knows best which shader(s) it needs. GLSL needs
both, arb only one
2) The shader backend may pass some parameters to the compilation
code(e.g. which pixel format fixup to use)
3) The structures used in (2) are different in vs and ps, so a
baseshader::Compile won't work
4) The structures in (2) are wined3d-private structures, so
having a public method in the vtable won't work(its a bad idea
anyway).
2008-11-25 13:06:23 +01:00
Maarten Lankhorst 83045e5cc8 msvcrt: Add CDECL to all cdecl functions. 2008-11-25 12:33:39 +01:00
Maarten Lankhorst 269600bbed ntdll: Make 64-bits wine only able to load amd64 binaries. 2008-11-25 12:33:28 +01:00
Huw Davies 8355eeaa21 ole32: Defer releasing the delegate interfaces until after we return from an OnClose notification. 2008-11-25 12:17:27 +01:00
Huw Davies 8730bf66c9 ole32: Factor out the code to release the delegate interfaces. 2008-11-25 12:17:24 +01:00
Alexandre Julliard af8bb2e922 ntdll: Add support for virtual write watches. 2008-11-25 12:07:35 +01:00
Alexandre Julliard 81b9ca5dbd ntdll: Pass the error code to VIRTUAL_HandleFault, and allow it to ignore the exception.
Also rename it to virtual_handle_fault for consistency.
2008-11-25 12:02:16 +01:00
Alexandre Julliard aece8e0700 ntdll: Check for valid memory view size directly in VIRTUAL_FindView. 2008-11-25 11:58:50 +01:00
Alistair Leslie-Hughes 3c88a2f060 shdocvw: Silence invalid QueryInterface FIXME. 2008-11-25 11:56:17 +01:00
Paul Vriens ee1f1bfb3f advapi32/tests: Fix a test failure on NT4. 2008-11-25 11:56:08 +01:00
Michael Stefaniuc ec1c9492b0 gdi32: Remove some superfluous casts. 2008-11-25 11:56:02 +01:00
Michael Stefaniuc b1a54bf7a3 msi: Remove casts of void pointers. 2008-11-25 11:55:56 +01:00
Francois Gouget 0ee5d57079 version: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:13 +01:00
Francois Gouget ec6f88b5c4 wineoss: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:10 +01:00
Francois Gouget 523679666d wininet: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:08 +01:00
Francois Gouget 8bd8609af8 wintrust: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:06 +01:00
Francois Gouget 848b5092ba msxml3: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:03 +01:00
Francois Gouget 31df4d42b7 user32: Remove WINAPI/CALLBACK on static functions where not needed. 2008-11-25 11:50:00 +01:00
Francois Gouget c0e271c4de wined3d: Remove WINAPI on static functions where not needed. 2008-11-25 11:49:57 +01:00
Francois Gouget a3973e0c47 shlwapi: Remove WINAPI on static functions where not needed. 2008-11-25 11:49:54 +01:00
Ricardo Filipe abe85bcb99 quartz: Removed dead code and variables (llvm/clang). 2008-11-25 11:49:51 +01:00
Vincent Povirk b7fe5e0aa5 setupapi: Implement FLG_PROFITEM_GROUP. 2008-11-24 15:07:11 +01:00
Roderick Colenbrander 273357264a wined3d: Add registry key for overriding the pci vendor id. 2008-11-24 14:52:32 +01:00
Roderick Colenbrander 52d59718c7 wined3d: Add registry key for overriding pci device id. 2008-11-24 14:52:25 +01:00
Vincent Pelletier f442bafb8a wined3d: Add detection for NVIDIA's GTX 280. 2008-11-24 14:41:58 +01:00
Hwang YunSong(황윤성) 04e139a1e6 appwiz.cpl: Updated Korean resource. 2008-11-24 14:41:34 +01:00
Hwang YunSong(황윤성) ca790a6e65 crypt32: Updated Korean resource. 2008-11-24 14:41:24 +01:00
Lei Zhang aacb511da1 advapi32: Allow opening HKEY_CLASSES_ROOT subkeys with backslash prefix on NT. 2008-11-24 14:38:56 +01:00
Ricardo Filipe a76d38d38e advapi32: Removed dead assignments (llvm/clang). 2008-11-24 14:37:32 +01:00
Vincent Povirk f3cad17a9b gdiplus: Implement CachedBitmap based on Image. 2008-11-24 14:36:50 +01:00
Reece Dunn ef0069cbf5 winealsa: Calculate the delay correctly as snd_pcm_delay is not reliable in this context. 2008-11-24 14:36:01 +01:00
Jacek Caban 849c36ba8e jscript: Set script object instead of ctx lcid in SetScriptSite. 2008-11-24 14:34:09 +01:00
Juan Lang 7f246421d1 rsaenh: Fix some test failures on older versions of Windows. 2008-11-24 14:34:02 +01:00
Francois Gouget 1c87e4664f d3d9: Remove WINAPI on static functions where not needed. 2008-11-24 14:33:06 +01:00
Francois Gouget 001288ecae d3d9: Remove IDirect3DDevice9Impl_GetFrontBuffer() as it is unused. 2008-11-24 14:33:02 +01:00
Francois Gouget 9c5e97aa71 Assorted spelling fixes. 2008-11-24 14:25:10 +01:00
Hans Leidekker 8b15fa4b2a gdiplus: Improve GdipGetImageRawFormat stub. 2008-11-24 14:25:10 +01:00
Hans Leidekker 6122c77b9d gdiplus: Add stub implementations of GdipCreateHalftonePalette and GdipImageForceValidation. 2008-11-24 14:25:10 +01:00
Hans Leidekker 5ce729a4eb gdiplus: Add stub implementations of GdipBeginContainer2 and GdipEndContainer. 2008-11-24 14:25:10 +01:00
Hans Leidekker df93d19d3d gdiplus: Return success from the GdipSaveGraphics and GdipRestoreGraphics stubs. 2008-11-24 14:25:10 +01:00
Hans Leidekker 1e170c9b85 gdiplus: Improve GdipMeasureString. 2008-11-24 14:25:10 +01:00
Hans Leidekker 80a54ca53f gdiplus: Implement GdipGetFontCollectionFamilyCount and GdipGetFontCollectionFamilyList. 2008-11-24 14:25:10 +01:00
Hans Leidekker 2b8c6fe4db gdiplus: Add a stub implementation of GdipPrivateAddMemoryFont. 2008-11-24 14:25:10 +01:00
Hans Leidekker ea323d1349 gdiplus: Implement GdipNewPrivateFontCollection and GdipDeletePrivateFontCollection. 2008-11-24 14:25:10 +01:00
Hans Leidekker c04b7c5b0f gdiplus: Implement GdipGetLineSpacing. 2008-11-24 14:25:10 +01:00
Hans Leidekker 67a9170aca gdiplus: Add a stub implementation of GdiplusNotificationHook and GdiplusNotificationUnhook. 2008-11-24 14:25:10 +01:00
Francois Gouget fcfe436de5 ddraw: Remove WINAPI on static functions where not needed. 2008-11-24 14:25:09 +01:00