Commit Graph

28519 Commits

Author SHA1 Message Date
H. Verbeet 7f9e61f7d2 wined3d: Use register combiners for texture stage operations.
Make wined3d use register combiners for texture stage operations. In
order to do that the texture unit index needs to be separated from the
texture stage index. For cards that don't support the
NV_register_combiners extension nothing should change.
2006-06-28 16:34:36 +02:00
H. Verbeet f3a2a9f30a wined3d: Add code for using register combiners for texture stage operations.
On nVidia cards the value of GL_MAX_TEXTURE_UNITS is generally not
larger than 4. In Direct3D that would correspond to
MaxSimultaneousTextures in the caps, rather than MaxTextureBlendStages
(which can be much larger) to which it currently corresponds in
wined3d. Using register combiners we can get around that limitation
and get up to GL_MAX_GENERAL_COMBINERS_NV (typically 8) texture
stages. This patch adds code for doing the texture operations with
register combiners instead of ARB_texture_env_combine or
NV_texture_env_combine4, but doesn't make use of that code yet. That's
what the next patch will do.
2006-06-28 16:08:36 +02:00
H. Verbeet ac98d566ac wined3d: Fix uploading of textures for shaders.
The code for uploading / binding textures for use with pixel shaders
is slightly different from the one for uploading / binding textures
for use with the fixed function pipeline. It would be possible to keep
the code in a single function with a couple of conditionals, but in
combination with the changes needed for register combiners that would
become quite messy.
2006-06-28 16:08:17 +02:00
H. Verbeet a54e36adfe wined3d: Texture limits fixes.
GL_LIMITS(textures) is currently used for both the number of texture
stages and the maximum number of simultaneous textures. In the current
code that's the same, but in a later patch that will be separated,
since a texture stage doesn't have to reference an actual
texture. Also, shaders can access a larger number of samplers than the
number of texture units the fixed function pipeline can access.
2006-06-28 16:06:25 +02:00
H. Verbeet f40dd7635e wined3d: Add register combiner function pointers. 2006-06-28 15:52:10 +02:00
H. Verbeet 085e20c0da wined3d: Add & use D3DTEXTUREOP dumping code. 2006-06-28 15:43:53 +02:00
James Hawkins 3a1a607a00 shlwapi: Add tests for PathAppendA. 2006-06-28 15:40:38 +02:00
Mikołaj Zalewski ce9471f18e shell32: If needed show a confirmation dialog when deleting with SHFileOperation.
Show a confirmation dialog in SHFileOperationW for the FO_DELETE
operation when called without FOF_NOCONFIRMATION or with
FOF_WANTNUKEWARNING. That way the user's files won't be deleted
without a warning.
2006-06-28 15:39:45 +02:00
Huw Davies ac5a024a5c opengl32: Fix the returned metrics and add a translation vector to the end of each list. 2006-06-28 15:38:48 +02:00
Alexandre Julliard 498742ff6c server: Moved get/set_thread_context implementation to ptrace.c. 2006-06-27 21:27:47 +02:00
Ivan Leo f2bfc7b12d msvcrt/tests: Don't leave files on the disk. 2006-06-27 21:14:02 +02:00
William Knop 289a068b4f dbghelp: Fix for non-elf build (undefined symbol: _elf_is_in_thunk_area). 2006-06-27 21:14:02 +02:00
Paul Vriens d9c5cef339 uxtheme/tests: Add tests for IsThemePartDefined. 2006-06-27 21:14:02 +02:00
Hans Leidekker 3a40b175c4 userenv: Add a stub implementation for GetProfileType. 2006-06-27 21:14:02 +02:00
Stefan Dösinger cea41b0a0f wined3d: Vertex buffer can be locked multiple times. 2006-06-27 21:14:02 +02:00
Huw Davies 54c85d3d04 msxml3: Always have a libxml doc associated with a domdoc object, even if the object has no nodes.
This means we don't need to add checks for NULL libxml node ptrs in our node implementation.
2006-06-27 21:14:02 +02:00
James Hawkins 3c56550ea5 msi: Read the font color from the database, and use it for the text control. 2006-06-27 21:14:02 +02:00
James Hawkins 7c35db000b msiexec: Use CommandLineToArgvW instead of process_args to reduce code duplication. 2006-06-27 21:14:01 +02:00
Alexandre Julliard 27c6c83e1e ntdll: Faster critical sections on MacOS using Mach semaphores. 2006-06-27 20:14:13 +02:00
Alexandre Julliard 96d6724eaf libwine: Attempt to increase some user limits that are set too low on some platforms. 2006-06-27 20:14:12 +02:00
Alexandre Julliard f5f37a8566 wineconsole: Portability fixes in the curses mouse support. 2006-06-27 20:14:10 +02:00
Alexandre Julliard fdb4c7e986 widl: Fixed syntax of DECL_LINK macro to look more like C code. 2006-06-27 11:51:07 +02:00
Andrey Turkin a7d008f51b shlwapi: Test for UrlGetPart in case of file name. 2006-06-27 11:50:21 +02:00
Vitaliy Margolen 27e3b82d49 ntdll: Fix 2 failing test on native. Change Wine accordingly. 2006-06-27 11:50:08 +02:00
Hans Leidekker ca9f266ac0 shell32: Add a stub implementation for SHIsFileAvailableOffline. 2006-06-27 11:50:01 +02:00
Eric Pouech 6cff43fd72 winedbg: Module info.
when requesting info on a module by address, always print the module
ELF/PE pair (if this applies) (and not only the embedded PE), which
can be confusing.
2006-06-27 11:19:53 +02:00
Eric Pouech 82ed6a4578 winedbg: Use 64 bit version of imagehlp_module.
This allows reimplementing the module list command and do less black
magic to guess the ELF debug format.
2006-06-27 11:19:03 +02:00
Eric Pouech 1a5f7f5926 dbghelp: Implemented SymEnumerateModules64. 2006-06-27 11:17:54 +02:00
Eric Pouech e4441d7e6f dbghelp: Module info.
- now internally storing module info as a 64bit module structure
  (the interest in not in the 64 bit side of things, but because
  it allows storing lots of usefull information)
- fixed SymGetModuleInfo64W which wasn't returning the
  LoadedPdbName field
- now filling for MSC files with the extended information
  (instead of guessing it)
- reused the extended module info to store wine ELF module
  information (link for map link, stabs vs dwarf symbol info)
2006-06-27 11:17:34 +02:00
Alexandre Julliard 40b411824e winetest: Portability fix in the maketest script. Added support for git. 2006-06-27 11:17:22 +02:00
Andrew Talbot 55e20a7482 winex11.drv: Write-strings warning fix. 2006-06-27 11:16:19 +02:00
Jason Green baf38b3007 wined3d: Implement more GLSL instructions and a little cleanup.
- Implement D3DSIO_DP2ADD, D3DSIO_TEXKILL, D3DSIO_TEXM3X3PAD
- Partially implement D3DSIO_TEXBEM, D3DSIO_TEXM3X3VSPEC (as much as
  they are implemented in ARB_fragment_program at least).
- Stop copying the SHADER_PARSE_STATE struct in each ARB shader
  routine - use a pointer instead.
2006-06-27 11:16:10 +02:00
H. Verbeet 3489f1b9b1 wined3d: Remove some redundant code. 2006-06-27 11:15:54 +02:00
H. Verbeet f460b38612 wined3d: Fix compilation (VBO constants). 2006-06-27 11:15:47 +02:00
James Hawkins bce44161f1 setupapi: Fix SetupCloseInfFile when a NULL handle is given, with tests. 2006-06-27 11:15:36 +02:00
James Hawkins 251d76888d shlwapi: Add tests for PathAddBackslash. 2006-06-27 11:14:58 +02:00
James Hawkins 7412bddd36 shlwapi: Add tests for PathCombineA. 2006-06-27 11:14:43 +02:00
James Hawkins e391387c9a shdocvw: Upgrade the version to 5.50.4134.599. 2006-06-27 11:14:34 +02:00
Stefan Dösinger 53fc3f6acc ddraw: Fix some compiler warnings. 2006-06-27 11:14:20 +02:00
Stefan Dösinger 92e48bcea5 ddraw: Assign the surface descriptions height to the height. 2006-06-27 11:14:13 +02:00
Paul Vriens 47c3663bec imagehlp: Fixed typo (Coverity). 2006-06-27 11:14:01 +02:00
Paul Vriens d599dec16c uxtheme/tests: Add tests for GetCurrentThemeName. 2006-06-27 11:13:52 +02:00
Paul Vriens 5ca8bbd20c uxtheme/tests: Added a bit more functional tests to OpenThemeData. 2006-06-27 11:13:34 +02:00
Jacek Caban 7dcfbdecd6 mshtml: Added Unadvise implementation. 2006-06-26 13:49:31 +02:00
Jacek Caban 7f617230a5 mshtml: Destroy connection points. 2006-06-26 13:49:31 +02:00
Jacek Caban bf1724ef33 mshtml: Added Advise implementation. 2006-06-26 13:49:31 +02:00
Jacek Caban f46c3997ed mshtml: Return text/html by default in GetContentType. 2006-06-26 13:49:31 +02:00
Jacek Caban 2218bfcc8e mshtml: Return NS_OK in GetStatus if channel is NULL. 2006-06-26 13:49:31 +02:00
Jacek Caban 78c287f12a mshtml: Call OnStopRequest in OnStopBinding. 2006-06-26 13:49:30 +02:00
Jacek Caban 6c1e595c21 mshtml: Break reading if IStream::Read returns 0 bytes. 2006-06-26 13:49:30 +02:00