Commit Graph

81068 Commits

Author SHA1 Message Date
Nikolay Sivov e800158ab0 oleaut32: Get rid of duplicated condition check. 2011-08-22 16:21:01 +02:00
Nikolay Sivov c69be3bfb9 oleaut32: Clean QueryInterface() method, turn impl. calls to interface calls. 2011-08-22 16:20:46 +02:00
Nikolay Sivov 92054ef01c oleaut32: Remove some useless comments and initializers. 2011-08-22 16:20:27 +02:00
Huw Davies 925fa10865 gdi32: Change the object-level brush function to accept a stand-alone dib and a separate clip region. 2011-08-22 16:19:40 +02:00
Huw Davies c6f6c3f727 gdi32: Implement Polyline and PolyPolyline in the dib driver. 2011-08-22 16:19:24 +02:00
Huw Davies 0f40ad8a3d gdi32: Move to using a multi-line pen object-level function. 2011-08-22 16:19:15 +02:00
Huw Davies 1e83fd0076 gdi32: Use the gdi_image_bits structure to maintain the dib driver's bits. 2011-08-22 16:18:54 +02:00
Huw Davies 2e908e067c gdi32: Simplify dibdrv_PutImage a little. 2011-08-22 16:18:24 +02:00
Huw Davies de213f2c66 gdi32: Avoid directly accessing the bits ptr where possible. 2011-08-22 16:18:13 +02:00
Huw Davies a55ec17b74 gdi32: Use the dib driver GetImage and PutImage implementations in GetBitmapBits and SetBitmapBits when appropriate. 2011-08-22 16:18:08 +02:00
Huw Davies e82f88d5ee gdi32: Add a helper to retrieve the bitmap functions. 2011-08-22 16:18:04 +02:00
Huw Davies cb82c45b3a gdi32: Allow SetBitmapBits to set incomplete scanlines. 2011-08-22 16:16:08 +02:00
Huw Davies bdc3b9c0a9 gdi32: Avoid a possible unnecessary conversion if PutImage is called with zero biClrUsed. 2011-08-22 16:15:45 +02:00
Huw Davies 40742c2f72 gdi32: Fix colour table comparison. 2011-08-22 16:15:13 +02:00
Henri Verbeet a04f0e9c78 wined3d: Move FBO based color blits from IWineD3DSurfaceImpl_BltOverride() to wined3d_surface_blt(). 2011-08-22 16:14:37 +02:00
Henri Verbeet d063ff55e7 wined3d: Move surface_color_fill() based color fills from IWineD3DSurfaceImpl_BltOverride() to wined3d_surface_blt(). 2011-08-22 16:14:37 +02:00
Henri Verbeet a887128ffd wined3d: Reject color fills on sysmem surfaces in ffp_blit_supported(). 2011-08-22 16:14:36 +02:00
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