Commit Graph

81051 Commits

Author SHA1 Message Date
Henri Verbeet 18434ddc57 wined3d: Directly call surface_cpu_blt() in cpu_blit_color_fill().
And avoid a potential infinite recursion if wined3d_surface_blt() ends up
calling cpu_blit_color_fill().
2011-08-22 16:14:36 +02:00
Henri Verbeet 26484c9200 wined3d: Allow color fills on FBO attachable surfaces in ffp_blit_supported(). 2011-08-22 16:14:36 +02:00
Henri Verbeet e1ab5f6e6b wined3d: Don't allow blits with an invalid destination rectangle when a clipper is set either.
Clippers don't really work. Previously we mostly didn't run into this because
the rectangle was already rejected by ddraw_surface7_Blt(), although
ddraw_surface7_BltFast() might have been affected in a couple of cases. We
should of course implement clippers, but until that happens, completely
rejecting the blit is better than introducing memory corruption.

This fixes a regression introduced by commit
92e616f355.
2011-08-22 16:14:36 +02:00
Henri Verbeet f8ce77a598 wined3d: Draw buffers are per-framebuffer state. 2011-08-22 16:14:36 +02:00
Henri Verbeet 34b2956e23 wined3d: Merge FindContext() into context_acquire().
This actually fixes a bug. A context's current_rt field may get set to NULL if
that surface gets destroyed or unloaded. In general, the next time that
context is acquired, context_setup_target() will then set everything up again.
However, if a context_acquire() call with a NULL target ends up returning such
a context, context_setup_target() never sets the current_rt field because the
target FindContext() chooses never gets propagated to context_acquire(). This
patch ensures context_setup_target() is never called with a NULL target.
2011-08-22 16:14:36 +02:00
Henri Verbeet 56428c6386 wined3d: Reuse convert_a8r8g8b8_x8r8g8b8() for B8G8R8X8 -> B8G8R8A8 conversions. 2011-08-22 16:14:36 +02:00
Henri Verbeet 156d24c634 wined3d: Add compressed surface support to surface_cpu_blt(). 2011-08-22 16:14:36 +02:00
Nikolay Sivov 8e904f95c3 ntdll: Stub TokenSessionId for query call. 2011-08-22 16:14:35 +02:00
Nikolay Sivov e717a78afe advapi32/tests: Fix invalid read in test. 2011-08-22 16:14:35 +02:00
Nikolay Sivov c13bf5a58c comctl32/treeview: Set edit box text before notification and keep it after. 2011-08-22 16:14:35 +02:00
Huw Davies 6d0f81336a winex11: Simplify rectangle operations. 2011-08-22 16:14:35 +02:00
Huw Davies f15dcec52f winex11: Sync a dib section's bits before copying the brush. 2011-08-22 16:14:35 +02:00
Huw Davies 39f14b68bf wineps: Don't write a PostScript trailer if we haven't written a header. 2011-08-22 16:14:35 +02:00
Michael Stefaniuc c8fcf420c2 mscoree: COM cleanup for the ICLRRuntimeInfo iface. 2011-08-22 16:14:35 +02:00
Michael Stefaniuc 52dd315666 amstream: Use CoTaskMemRealloc instead of alloc+copy. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc f49d6df198 amstream: Get rid of the explicit implementation of IMediaStream. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc 2b55b5b663 amstream: Avoid the forward declaration of the DirectDrawMediaStream_Vtbl. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc aba87e0fe5 amstream: Basic COM cleanup for the IDirectDrawMediaStream iface. 2011-08-22 16:14:34 +02:00
Jörg Höhle ea47c12ebe wineoss.drv: Fix AudioRenderClient write pointer calculation. 2011-08-22 16:14:34 +02:00
Jörg Höhle 47bc6223e9 winealsa.drv: Fix AudioRenderClient write pointer calculation. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc 8d8843e563 amstream: Avoid a forward declaration of the IMediaStreamFilter vtbl. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc beada9ca42 amstream: COM cleanup for the IMediaStreamFilter iface. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc ce9546f268 gameux: COM cleanup in gamestatistics.c. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc 75ba717967 gameux: COM cleanup in gameexplorer.c. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc fd513acf2e dxdiagn: COM cleanup for the IDxDiagContainer iface. 2011-08-22 16:14:33 +02:00
Michael Stefaniuc a7f0204045 dxdiagn: COM cleanup for the IDxDiagProvider iface. 2011-08-22 16:14:33 +02:00
Michael Stefaniuc 5f77ad406e qcap: COM cleanup in capturegraph.c. 2011-08-22 16:14:33 +02:00
André Hentschel 8134b93516 gdi32/tests: Consistently print out all infos about non-equal rects. 2011-08-22 16:14:33 +02:00
André Hentschel 0dba66c05b winex11: Fix function header for building without xrender headers. 2011-08-22 16:14:33 +02:00
Jörg Höhle a52e160c68 kernel32/tests: WaitForMultipleObjects returns lowest signaled handle first. 2011-08-22 16:14:32 +02:00
Bruno Jesus a1d177c6b6 ws2_32/tests: Add MSG_PEEK tests on recv(). 2011-08-22 16:14:32 +02:00
Andrew Talbot 8032d3ea21 shell32: Remove redundant function declaration. 2011-08-22 16:14:32 +02:00
Andrew Talbot 072ca07de9 comctl32: Remove redundant function declaration. 2011-08-22 16:14:32 +02:00
André Hentschel abcdcd9eea ntdll: Accept double-digit CPU families. 2011-08-22 16:14:32 +02:00
Andrew Talbot e3ff452f39 openal32: void functions should not return a value. 2011-08-22 16:14:32 +02:00
Andrew Talbot 3fe447f58e ole2.dll16: void functions should not return a value. 2011-08-22 16:14:32 +02:00
Andrew Talbot fb3b28f013 msvcrt: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Andrew Talbot e7064e08ac msvcp90: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Andrew Talbot 268226b658 compobj.dll16: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Andrew Talbot 8a4b7f9f22 comctl32: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Andrew Talbot 25ea532443 cabinet: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Marcus Meissner 2de37f0214 wineoss.drv: Print strerror of errno, not of -1 (Coverity). 2011-08-22 16:14:31 +02:00
Marcus Meissner 9ac18eabb9 d3dx9_36: Fixed memset of a -2 32bit value (Coverity). 2011-08-22 16:14:31 +02:00
Marcus Meissner a869964b31 net: LoadStringW incorrect size bytes vs characters. 2011-08-22 16:14:31 +02:00
Jacek Caban 39f4583ef9 jscript: Don't copy more than needed in parse_identifier. 2011-08-22 15:19:18 +02:00
Alexandre Julliard 8c00ee0bef Release 1.3.26. 2011-08-05 19:24:22 +02:00
William Pettersson 0e043819f4 wined3d: Add support for Nvidia GTX 550/560 Ti. 2011-08-05 16:43:24 +02:00
Michał Ziętek 2f4ad88c12 wscript: Fix tests on wow64. 2011-08-05 16:41:17 +02:00
Frédéric Delanoy 71a237d478 cmd: Fix handling of lines starting with echo. or echo:. 2011-08-05 16:41:14 +02:00
Andrew Eikum 9ad60d1d14 winealsa.drv: Inject handle_underrun=1 setting for pulse-backed devices. 2011-08-05 16:41:09 +02:00