Commit Graph

57213 Commits

Author SHA1 Message Date
Stefan Dösinger 39877a2ad2 wined3d: Reserve additional GLSL constants on some drivers.
Some drivers apparently need private constants, or don't have an efficient
immval packing. For example, MacOS seems to need 1 float for each different
relative addressing offset. fglrx has the same issue, although it is more
efficient in general

Previously this worked on most drivers because the 16 + 4 reserved int and
bool constants kept the problem hidden. Now that we are more aggressive with
uniforms we have to keep free room for some drivers.
2009-04-20 16:38:39 +02:00
Stefan Dösinger 78d26a659d wined3d: Move the remaining quirks into the quirk table. 2009-04-20 16:38:07 +02:00
Stefan Dösinger 50e91f8d84 wined3d: Move the generic mac glsl uniform fixup to the quirk table. 2009-04-20 16:37:46 +02:00
Stefan Dösinger 7b7f027221 wined3d: Add a more formal framework for driver quirks.
This allows better defining of driver desc fixups without adding extra if
lines for each card.

For starters, there's a fixup for the advertised GLSL constants in ATI cards.
fglrx advertises 512 GLSL uniforms instead of the supported 1024(means 128
instead of 256 vec4's). This bug was confirmed by ATI.
2009-04-20 16:37:31 +02:00
Francois Gouget dbfe7b7b68 winapi: Fix the C-parser combined getter/setter prototypes. 2009-04-20 15:26:35 +02:00
Francois Gouget 9bdde98ab6 winapi: Remove some dead code. 2009-04-20 15:26:07 +02:00
Francois Gouget 55cd3433ac winapi: trampoline is not used so remove it. 2009-04-20 15:26:02 +02:00
Francois Gouget 0dd5c442c1 winapi: Fix the parse_c_declaration() prototype and remove unused variables. 2009-04-20 15:25:36 +02:00
Francois Gouget f8ae6d6407 winapi: parse_c_declarations() is not used. Remove it. 2009-04-20 15:25:31 +02:00
Francois Gouget 5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +02:00
Francois Gouget 14e03d770a dinput: Add a trailing '\n' to ERR() messages. 2009-04-20 15:25:20 +02:00
Francois Gouget 8e18524ad3 wineesd.drv: Add a trailing '\n' to a WARN() trace. 2009-04-20 15:25:16 +02:00
Nikolay Sivov 3ce8e20896 comctl32/listview: Some tests for LVS_SINGLESEL switchover. 2009-04-20 15:25:03 +02:00
Nikolay Sivov 0588ba7fef comctl32/listview: Fix a regression caused by 9c1a0e468f. 2009-04-20 15:24:58 +02:00
Nikolay Sivov 42bef95cbc comctl32/listview: Switching to/from LVS_OWNERDATA isn't allowed after creation. 2009-04-20 15:24:48 +02:00
Nikolay Sivov 10a936150b comctl32/listview: Slightly enlarge rectangle when drawing checkbox. 2009-04-20 15:24:41 +02:00
Nikolay Sivov ffb214a66b comctl32/listview: Add a ListView_GetTextBkColor macro. 2009-04-20 15:24:35 +02:00
Vitaliy Margolen 542b17943f dinput: Use more friendly name for the joystick than its device path. 2009-04-20 14:30:23 +02:00
Vitaliy Margolen 649c762f52 dinput: Convert evdev joystick to new base class. 2009-04-20 14:30:11 +02:00
Vitaliy Margolen 3223798d30 dinput: Make props array a part of the generic joystick struct.
It's much easier to free it on release.
2009-04-20 14:30:03 +02:00
Vitaliy Margolen aee4237798 dinput: Remove redundant stuff. 2009-04-20 14:29:55 +02:00
Vitaliy Margolen fc4f1607a6 dinput: Make EnumDevices and GetObjectInfo consistent about GUIDs.
guidInstance should be the same from both places.
2009-04-20 14:29:49 +02:00
Paul Vriens 90d3163aba rpcrt4: Fix NdrDllCanUnloadNow. 2009-04-20 14:14:03 +02:00
Igor Tarasov c037b333c8 comctl32: Fix regression caused by 2d751ee56a.
Fixing regression produced by "comctl32: Correct handling of toolbar
separators size". As it came out, some applications DO rely on iBitmap
value, but it can be received not with TB_GETBUTTONINFO, but with
TB_GETBITMAP.
2009-04-20 14:13:54 +02:00
Huw Davies 0b6d74c428 winex11.drv: Fix typo so that emf -> mfpict synthesis works. 2009-04-20 14:13:46 +02:00
Huw Davies 0d4451a85d winex11.drv: Fix ordering of synthesized text formats. 2009-04-20 14:13:40 +02:00
Henri Verbeet ea0b3b42eb wined3d: Pass a struct wined3d_shader_src_param to shader_arb_add_src_param(). 2009-04-20 14:13:33 +02:00
Henri Verbeet 1ae060be4a wined3d: Simplify replicating the .x swizzle in shader_hw_mov().
It becomes even simpler once the swizzle shift and token field are eliminated.
2009-04-20 14:13:28 +02:00
Henri Verbeet 48a096a638 wined3d: Pass a struct wined3d_shader_src_param to shader_glsl_add_src_param(). 2009-04-20 14:13:20 +02:00
Henri Verbeet c7660c57a0 wined3d: Pass a struct wined3d_shader_src_param to shader_glsl_get_register_name() for the relative addressing token. 2009-04-20 14:13:12 +02:00
Henri Verbeet 915b91757f wined3d: Store the destination relative addressing token as a struct wined3d_shader_src_param. 2009-04-20 14:13:08 +02:00
Henri Verbeet 0663eb9323 wined3d: Store the source relative addressing token as a struct wined3d_shader_src_param. 2009-04-20 14:13:00 +02:00
Henri Verbeet d6ee7d59a8 wined3d: Create a relative addressing token for 1.x shaders in the frontend.
Rather than handling this in the backends. Note that the ARB backend always
assumes 1.x shaders.
2009-04-20 14:12:52 +02:00
Paul Vriens 59cc56b15a gdi32/tests: Skip several tests on Win9x. 2009-04-20 14:12:43 +02:00
Michael Stefaniuc cf6ec333a5 msi/tests: Replace long with LONG. 2009-04-20 14:12:37 +02:00
Michael Stefaniuc f3a1660181 msi: Remove superfluous cast of a MSIHANDLE in a TRACE(). 2009-04-20 14:12:34 +02:00
Michael Stefaniuc 0847e7d826 ws2_32: Use better types for some variables. 2009-04-20 14:12:32 +02:00
Michael Stefaniuc b747284797 riched20/tests: Use better types than long. 2009-04-20 14:12:29 +02:00
Frans Kool 88f981658b crypt32: Corrected Dutch translations. 2009-04-20 14:12:24 +02:00
Huw Davies e911fde41c wineps.drv: Fix compile error. 2009-04-20 14:12:19 +02:00
André Hentschel 9312ff52e0 winemaker: Add -m32 flag to support winegcc-changes. 2009-04-20 14:12:16 +02:00
Jacek Caban 781b0873e6 mshtml: Added IPersistHistory stub implementation. 2009-04-16 13:45:20 -05:00
Rein Klazes dbfbce975d user32: When repainting a static control with SS_BITMAP style, do not erase the background if there is no valid bitmap to paint. 2009-04-16 12:37:47 -05:00
Huw Davies aadd07ca9d ole32/tests: Tests for a flushed clipboard. 2009-04-16 11:37:39 -05:00
Huw Davies c648dcf615 ole32: Try global and stream types if the requested types don't match the source. 2009-04-16 11:37:30 -05:00
Huw Davies 18d413bb74 ole32: OleFlushClipboard should render all formats to the clipboard. 2009-04-16 11:37:25 -05:00
Huw Davies 9bacd00ce7 ole32: Add support for getting storage based objects from a flushed clipboard. 2009-04-16 11:37:18 -05:00
Huw Davies 25d7ecde47 ole32: Add support for getting stream based objects from a flushed clipboard. 2009-04-16 11:37:10 -05:00
Huw Davies f8a9ca2cfa ole32: Add support for getting global handle objects from a flushed clipboard. 2009-04-16 11:37:03 -05:00
Huw Davies 718831b77c ole32/tests: Add a few more reference count tests. 2009-04-16 11:36:53 -05:00