Commit Graph

44627 Commits

Author SHA1 Message Date
Stefan Dösinger 39e2cbc5d5 wined3d: Enable D3DFMT_V8U8 with GL_ATI_fragment_shader. 2008-03-25 19:50:55 +01:00
Stefan Dösinger 9b79bc5e31 wined3d: Implement env bump mapping in the atifs ffp replacement. 2008-03-25 19:50:43 +01:00
Stefan Dösinger 4640be8dc8 wined3d: Fragment processing using GL_ATI_fragment_shader.
This adds code for handling fixed function fragment processing with the
GL_ATI_fragment_shader extension. This is a sort-of programmable
interface for fragment processing at the level of shader model 1.4 in
d3d. This code is of use on r200, r250 and r280 cards(radeon 8500 to
9200) which do not support GL_ARB_fragment_program, but support pixel
shader 1.4 on Windows. This code is somewhat a counterpart to the
existing fragment processing code using GL_NV_register_combiners and
GL_NV_texture_shader.
2008-03-25 19:50:32 +01:00
Stefan Dösinger a440051016 wined3d: Add a shader DLL init callback. 2008-03-25 19:49:17 +01:00
Stefan Dösinger 18e16f4e66 wined3d: Add GL_ATI_fragment_shader. 2008-03-25 19:48:35 +01:00
Stefan Dösinger 28fdebe404 wined3d: Alloc / free shader private data and blt stuff in Init3D/Uninit3D. 2008-03-25 19:48:24 +01:00
Stefan Dösinger ac57b4e2f5 wined3d: Free shader private data on reset.
Since the shader backend implementations might track opengl resources in
their private data inform them about reset calls. For example, the atifs
backend keeps track of the replacement shaders, which are lost during an
opengl context recreation.
2008-03-25 19:48:14 +01:00
Stefan Dösinger aaced1f5ba d3d9: Add a projected texture test. 2008-03-25 19:39:34 +01:00
Stefan Dösinger ee7e149998 wined3d: Move shader caps setting into the arb and glsl shader backends. 2008-03-25 19:39:23 +01:00
Stefan Dösinger 5ab5202e0f wined3d: Set shader specific caps in the shader backend.
The whole control structures in directx.c get terribly confusing with
the various codepaths for texturing and different shader
implementations. It is also hard to reflect the shader model
decisions this way too. This patch moves the shader specific parts of
the caps code into the shader backend where we can set our caps
dependent of the shader model decisions and without complex caps flag
checks.
2008-03-25 19:39:11 +01:00
Stefan Dösinger 8869c0f147 d3d: De-pointerize the WINED3DCAPS structure. 2008-03-25 19:36:38 +01:00
Stefan Dösinger 6d5f562dcf wined3d: Move the shader backend selection into a separate function. 2008-03-25 19:36:13 +01:00
Stefan Dösinger a66fb40d83 wined3d: Move shader generation into the shader backend.
Generating the shader ID and parts of the shader prolog and epilog was
done by the common vertexshader.c / pixelshader.c, which is ugly.

This patch doesn't get rid of all the uglyness, somewhen we'll still
have to sort out the relationship of [arb|glsl]_generate_shader and
[arb|glsl]_generate_declarations.
2008-03-25 19:35:58 +01:00
Stefan Dösinger 84258723f9 wined3d: Make the state table a property of the shader backend. 2008-03-25 19:35:32 +01:00
Alexandre Julliard 1e9acad3a0 comdlg32: Fixed a number of buffer overflows in the file dialog. 2008-03-25 17:34:32 +01:00
Huw Davies 31666b311d mscms: Fix compilation without lcms. 2008-03-25 16:16:00 +01:00
Alexandre Julliard 255e7b4274 regedit: Display a larger icon in the About box. 2008-03-25 16:14:35 +01:00
Herve Chanal c440322647 regedit: A nicer icon. 2008-03-25 16:14:23 +01:00
Marcus Meissner 5fd2e6e7b1 msxml3: Fixed include of SAX.h. 2008-03-25 16:14:11 +01:00
Roderick Colenbrander eaa1ff0d2c wined3d: Always report D16 as Windows drivers report it on all cards (likely using emulation). 2008-03-25 16:14:03 +01:00
Justin Chevrier 3d707dc8ec wine.inf: Create fake dll entry for dosx.exe. 2008-03-25 15:21:27 +01:00
Alexandre Julliard 6e5bc73b8d mscoree: Implement a number of interop helpers. 2008-03-25 15:21:18 +01:00
Kolbjørn Fredheim a40185f12f ddraw: Don't clear the return value anymore, we fill the fields anyway, also a test for the behaviour. 2008-03-25 12:50:33 +01:00
Hans Leidekker 3e30e29847 mscms: Rewrite handle management to be thread-safe. Allocate handles dynamically. 2008-03-25 12:48:22 +01:00
Alexandre Julliard 46489aeda2 winex11: Don't attempt to dock into the system tray in desktop mode. 2008-03-25 12:13:28 +01:00
James Hawkins 823640fc2f fusion: Implement CreateAssemblyCache. 2008-03-25 11:58:05 +01:00
James Hawkins 082b46887a fusion: Add a stub implementation of IAssemblyEnum. 2008-03-25 11:58:01 +01:00
James Hawkins 8a19faf261 fusion: Add a stub implementation of IAssemblyCache. 2008-03-25 11:57:57 +01:00
Alexander Dorofeyev f2e03d6c3f wined3d: Don't store primary surface palette in device palettes. 2008-03-25 11:53:55 +01:00
Alexander Dorofeyev 9b913b3b79 wined3d: Don't use device palettes in RealizePalette. 2008-03-25 11:53:47 +01:00
Alexander Dorofeyev 13ce219235 wined3d: Don't use device palettes in GetDC. 2008-03-25 11:53:39 +01:00
Alexander Dorofeyev 85fd313046 wined3d: Don't use device palettes in read_from_framebuffer. 2008-03-25 11:53:24 +01:00
Alexander Dorofeyev 7a012df64d ddraw/tests: Add test for ddraw 8-bit mode.
Adds rudimentary test for 8 bit mode ddraw (palettized primary surface). Tests 
things like GetDC and its palette handling and SetPalette affected by patches 
that follow.
2008-03-25 11:53:06 +01:00
Alexander Dorofeyev 16da594354 wined3d: Fix comment. 2008-03-25 11:53:01 +01:00
Alistair Leslie-Hughes 264be58812 msxml3: Added support for SAXXMLReader. 2008-03-25 11:45:55 +01:00
Alistair Leslie-Hughes 20f8d63964 msxml3: Added typelib ids for SAX interfaces. 2008-03-25 11:45:51 +01:00
Dmitry Timoshkov cb3ff54789 winex11.drv: Don't add owned windows to the taskbar. 2008-03-25 11:45:11 +01:00
Christian Costa c8837b8205 ddraw: DDRAW_dump_flags_nolf must not add LF. 2008-03-25 11:45:05 +01:00
Andrew Talbot 687af6b2bc winealsa.drv: Assign to structs instead of using memcpy. 2008-03-25 11:45:01 +01:00
James Hawkins ddfefc036f msi: Fix a typo. 2008-03-25 11:44:57 +01:00
Michael Stefaniuc 51c9d050cf gdiplus: Remove break after return (Smatch). 2008-03-25 11:44:54 +01:00
Jacek Caban d23309c040 mshtml: Added script engine loading test. 2008-03-25 11:44:30 +01:00
Jacek Caban 1b5bce0d4c mshtml: Added script engine loading implementation. 2008-03-25 11:44:26 +01:00
Jacek Caban 63ebe0191e jscript: Added tests. 2008-03-25 11:44:06 +01:00
Jacek Caban 8d4aa7decf jscript: Added DllCanUnloadNow implementation. 2008-03-25 11:33:52 +01:00
Hans Leidekker 26b38dc503 wininet: Avoid a crash with traces on. 2008-03-25 11:33:41 +01:00
Hans Leidekker af4c428a9a wininet: Correct spec file entry for InternetCanonicalizeUrl{A, W}. 2008-03-25 11:33:36 +01:00
Hans Leidekker 3a57711bb8 wininet: Don't strip Accept-Encoding headers from version 1.1 requests. 2008-03-25 11:33:32 +01:00
Reece Dunn 404a51b455 shlwapi: Added SHCreateStreamOnFileEx tests. 2008-03-25 11:20:51 +01:00
Reece Dunn fe829db189 shlwapi: Added SHCreateStreamOnFileW tests. 2008-03-25 11:20:38 +01:00