Commit Graph

76685 Commits

Author SHA1 Message Date
Henri Verbeet 778b644fc6 d3dx9: Get rid of the ID3DXMeshImpl typedef. 2013-09-24 12:57:31 +02:00
Henri Verbeet ffc66f471c d3dx9: Get rid of the ID3DXLineImpl typedef. 2013-09-24 12:57:29 +02:00
Henri Verbeet 9516ce33d8 wined3d: Get rid of clearing the texture bindings in state_init_default().
This is arbitrary, we don't do it for any of the other resource bindings
either, and the wined3d_state structure is assumed to be zero-initialized.
2013-09-24 12:57:27 +02:00
Henri Verbeet ea4c3d5d5d wined3d: Get rid of the broken render target check for surface_blt_special().
This used to work out in practice because swapchain surfaces were always
considered render targets, but that's no longer true. We can just remove the
check, because surface_blt_special() already contains a proper check itself
anyway.
2013-09-24 12:57:24 +02:00
Henri Verbeet 8eb73cd0e9 wined3d: Add fallback depth format info for when ARB_depth_texture is not available.
These use the generic GL_DEPTH_COMPONENT internal format, and can't be used
for texturing.
2013-09-24 12:57:21 +02:00
Dmitry Timoshkov ec9a0d8570 gdiplus: GdipTransformRegion should not fail for an empty path. 2013-09-24 12:56:22 +02:00
Dmitry Timoshkov 3870e5b255 gdiplus/tests: Add a test for GdipTransformRegion with an empty region path. 2013-09-24 12:56:15 +02:00
Dmitry Timoshkov 108873320c gdiplus/tests: Don't bother to delete a NULL hrgn. 2013-09-24 12:56:11 +02:00
Dmitry Timoshkov fdeab06142 gdiplus/tests: Print actual rectangle extents if the tests fail. 2013-09-24 12:56:05 +02:00
Dmitry Timoshkov 603ccca889 gdiplus/tests: Add a test for GdipTransformMatrixPoints with number of points == 0. 2013-09-24 12:55:51 +02:00
Vincent Povirk 12586f76e3 gdiplus: Always provide image data in the format requested by image encoders. 2013-09-23 21:31:18 +02:00
Vincent Povirk 85b989c1fa gdiplus: Don't expand the drawing area to include empty glyphs. 2013-09-23 21:31:07 +02:00
Vincent Povirk ce9de5c4bb gdiplus: Skip drawing lines of text with only empty glyphs. 2013-09-23 21:31:00 +02:00
Henri Verbeet e02de5ff16 ddraw: Avoid VOID. 2013-09-23 20:38:18 +02:00
Henri Verbeet 7a0390d85a d3drm: Avoid VOID. 2013-09-23 20:38:18 +02:00
Henri Verbeet bff80b8bab wined3d: Copy some missing fields to the new swapchain desc in wined3d_device_reset().
The ones that matter are enable_auto_depth_stencil and
auto_depth_stencil_format. auto_restore_display_mode should never change in
practice.
2013-09-23 20:37:29 +02:00
Henri Verbeet 864b25e582 wined3d: Introduce a separate function for updating the viewport and scissor rects. 2013-09-23 20:37:05 +02:00
Stefan Dösinger 556e3e0c76 wined3d: Use GL_APPLE_client_storage for volumes if available. 2013-09-23 20:32:36 +02:00
Stefan Dösinger 993c977890 d3d8/tests: Add a volume V16U16 test. 2013-09-23 20:32:35 +02:00
Stefan Dösinger fe20ee1bc4 d3d9/tests: Add a volume V16U16 test. 2013-09-23 20:32:34 +02:00
Stefan Dösinger 5e89689bcd wined3d: Make format conversion functions work on volumes. 2013-09-23 20:32:32 +02:00
Stefan Dösinger bb172d2a38 wined3d: Add support for converted volumes. 2013-09-23 20:32:31 +02:00
Frédéric Delanoy 78fe60ac76 gphoto2.ds: Use BOOL type where appropriate. 2013-09-23 20:32:30 +02:00
Akihiro Sagawa 31a6fce46b gdi32: Fix empty glyph handling. 2013-09-23 20:32:28 +02:00
Akihiro Sagawa e29e4caca3 gdiplus: Fix empty glyph handling. 2013-09-23 20:32:27 +02:00
Akihiro Sagawa 33e05eb6c5 opengl32: Fix empty glyph handling. 2013-09-23 20:32:25 +02:00
Akihiro Sagawa 310a3b1d11 winex11.drv: Fix empty glyph handling. 2013-09-23 20:32:24 +02:00
Akihiro Sagawa cc7b39681d gdi32/tests: Add more empty glyph tests. 2013-09-23 20:32:23 +02:00
Dmitry Timoshkov 084f4b643c ntdll: Perform the offset checks also for a serial device. 2013-09-23 20:32:22 +02:00
Huw Davies 96e32da5c9 dbghelp: Add a couple of structures that are missing from the Android ndk. 2013-09-23 20:32:21 +02:00
Piotr Caban 8e26d7aee8 msvcp: Add ostream::operator<<(unsigned short) implementation. 2013-09-23 20:32:19 +02:00
Piotr Caban f159b33da2 msvcp: Fix default constructor closures arguments. 2013-09-23 20:32:17 +02:00
Piotr Caban 95af810de5 msvcp: Make it possible to shrink allocated memory in basic_string::reserve. 2013-09-23 20:32:16 +02:00
Piotr Caban fc76ad4d22 msvcp80: Don't forward to msvcp90. 2013-09-23 20:32:14 +02:00
Hans Leidekker 51acdc6b27 advapi32/tests: Mark a test result as broken. 2013-09-23 11:56:58 +02:00
Hans Leidekker cabeb962cc rsaenh: Add support for setting the security descriptor on key containers. 2013-09-23 11:56:48 +02:00
Hans Leidekker 59b0374710 winhttp: Don't assume that end of chunk means end of stream. 2013-09-23 11:56:38 +02:00
Hans Leidekker bee390e1ef winhttp/tests: Remove explicit zero-intialization of static data. 2013-09-23 11:56:29 +02:00
Dmitry Timoshkov 50c4723aec shlwapi/tests: Skip some of IStream invalid parameter tests under Windows 2000 + IE5. 2013-09-23 11:56:18 +02:00
Michael Stefaniuc 09524be583 setupapi: Avoid using CONST. 2013-09-23 11:54:55 +02:00
Michael Stefaniuc 9fefae61da gdiplus: Avoid using CONST. 2013-09-23 11:54:47 +02:00
Michael Stefaniuc 1a3137fa1b rsaenh: Avoid using CONST. 2013-09-23 11:54:42 +02:00
Michael Stefaniuc e476a20115 quartz: Avoid using CONST. 2013-09-23 11:54:27 +02:00
Michael Stefaniuc 7589bbeee4 gdi32: Avoid using CONST. 2013-09-23 11:53:59 +02:00
Michael Stefaniuc 6f8b2f5938 advapi32: Avoid using CONST. 2013-09-23 11:53:54 +02:00
André Hentschel b605553e28 ws2_32/tests: Don't test function directly when reporting WSAGetLastError(). 2013-09-23 11:53:46 +02:00
André Hentschel 7e65578b7c wininet/tests: Don't test function directly when reporting GetLastError(). 2013-09-23 11:53:44 +02:00
Bruno Jesus d0009573ee ws2_32: Fix some parameters checking in AcceptEx. 2013-09-23 11:53:34 +02:00
Bruno Jesus cba19b9027 ws2_32: Add missing else to getsockopt(SO_ACCEPTCONN). 2013-09-23 11:51:03 +02:00
Michael Müller 2fcfde0f62 quartz: Pass correct interface to IBaseFilter::JoinFilterGraph in function FilterGraph2_AddFilter. 2013-09-23 11:50:15 +02:00
Dmitry Timoshkov 96c6ad4aa7 kernel32/tests: Add FILE_APPEND_DATA case to the file access tests. 2013-09-23 11:49:58 +02:00
Dmitry Timoshkov ab8d704e24 ntdll/tests: Extend the FILE_APPEND_DATA test. 2013-09-23 11:49:55 +02:00
Jacek Caban 2c9774f002 appwiz.cpl: Allow cancelling download of addons. 2013-09-20 17:04:34 +02:00
Stefan Dösinger 24fbe9f2ec wined3d: Pass the destination pitch to format conversion functions.
The relation between src and dst pitches is not correct if the source
pitch is padded to match pitch alignment requirements.
2013-09-20 17:04:04 +02:00
Sebastian Lackner 0fb3aaac10 d3d9/tests: Implemented tests for IDirect3DSwapChain9Ex_GetDisplayModeEx. 2013-09-20 17:03:44 +02:00
Michael Müller cf01bb3d2a d3d9/tests: Test if IDirect3DSwapChain9Ex is available with IDirect3D9(Ex). 2013-09-20 17:03:31 +02:00
Michael Müller edad7dea7e d3d9: Partial implementation of IDirect3DSwapChain9Ex. 2013-09-20 17:03:20 +02:00
Ken Thomases cf973bd28d winex11: Don't trace a garbage value or read past end of caller's array in X11DRV_wglChoosePixelFormatARB(). 2013-09-20 14:11:24 +02:00
Henri Verbeet 11ced88a37 d3d9: Avoid CONST. 2013-09-20 11:27:51 +02:00
Henri Verbeet 49a3dbc453 d3dx9: Avoid CONST. 2013-09-20 11:27:49 +02:00
Henri Verbeet 0eae0858ae wined3d: Set the default scissor rect from the swapchain desc in state_init_default().
We always have a swapchain here, even if there are no back buffers.
2013-09-20 11:27:43 +02:00
Henri Verbeet 49c6b87a32 wined3d: Only print a warning about render target usage in wined3d_device_set_render_target(). 2013-09-20 11:27:40 +02:00
Henri Verbeet 31de4f1670 ddraw/tests: Add a test for render target surface capabilities. 2013-09-20 11:27:37 +02:00
Bruno Jesus 68377494c6 ws2_32: ConnectEx should not work on unbound socket. 2013-09-20 11:26:48 +02:00
Hans Leidekker c0e1dda04c wininet: Don't assume that end of chunk means end of stream. 2013-09-20 11:11:54 +02:00
Dmitry Timoshkov b4ab43b3de kernel32: Remove a 0-length read optimization from ReadFile. 2013-09-20 11:11:47 +02:00
Dmitry Timoshkov 70930fa12c kernel32/tests: Add 0-length read tests for a pipe. 2013-09-20 11:11:27 +02:00
Dmitry Timoshkov 0c024503db kernel32/tests: Add 0-length read tests for a mailslot. 2013-09-20 11:11:03 +02:00
Dmitry Timoshkov d6900fc556 ntdll/tests: Add 0-length read tests for a disk file. 2013-09-20 11:11:00 +02:00
Jacek Caban 6e143e6c81 mshtml: Added external MIME handling tests. 2013-09-19 20:34:03 +02:00
Jacek Caban d36ffab315 mshtml: Pass external connection to WebBrowser host, if possible. 2013-09-19 20:34:03 +02:00
Jacek Caban b17d139328 mshtml: Don't pass navigation to Gecko for MIME types that it doesn't support. 2013-09-19 20:34:03 +02:00
Jacek Caban 4db1b00815 mshtml: Keep moniker reference after start_binding call. 2013-09-19 20:33:59 +02:00
Andrew Eikum 7f47beb7d8 oleaut32: Implement ICreateTypeInfo::SetFuncDocString. 2013-09-19 20:14:06 +02:00
Huw Davies f9447f92ef iphlpapi: Use socklen_t where appropriate. 2013-09-19 20:14:05 +02:00
Huw Davies 21dc848378 iphlpapi: Add interface enumeration for Android. 2013-09-19 20:14:04 +02:00
Huw Davies 8876c3ee82 iphlpapi: Combine the various interface enumeration functions into one function. 2013-09-19 20:14:03 +02:00
Hans Leidekker 8e74c8953a rsaenh: Add support for retrieving the security descriptor on key containers. 2013-09-19 20:14:02 +02:00
Bruno Jesus 5dcf368e1b ws2_32/tests: Mark WinNT result as broken. 2013-09-19 19:50:14 +02:00
Piotr Caban bd610a66c4 msvcp60: Don't call _Eos on allocation error or 0-length string in basic_string::reserve. 2013-09-19 19:50:05 +02:00
Stefan Dösinger 8aa65c79e7 d3d8/tests: Test invalid volume lock boxes. 2013-09-19 19:49:59 +02:00
Stefan Dösinger 9efed3d379 d3d8/tests: Add tests for block-based volume formats. 2013-09-19 19:49:55 +02:00
Stefan Dösinger d15042837a wined3d: Pass a correct access flag to glMapBufferARB. 2013-09-19 19:49:49 +02:00
Stefan Dösinger e9b4f154dd wined3d: Don't use volume->resource.allocatedMemory.
Depending on the location flags, the buffer or heap_memory should be
used.
2013-09-19 19:49:43 +02:00
Stefan Dösinger 708024f786 d3d9/tests: Read the caps from the device. 2013-09-19 19:49:40 +02:00
Piotr Caban dadb2fdfa9 msvcrt: Add _snwprintf_s_l implementation. 2013-09-19 19:49:11 +02:00
Henri Verbeet 5bd3bfff99 wined3d: Avoid LPVOID. 2013-09-19 19:49:01 +02:00
Henri Verbeet e9fbb6b0fd wined3d: Avoid LPCSTR. 2013-09-19 19:49:00 +02:00
Henri Verbeet 8aae165fc2 ddraw: Verify that the surface is not a depth buffer in SetRenderTarget().
This check is even more inconsistent between versions. Notice how the v2
interface is particularly broken because it never AddRef()'s the new iface.
This check also seems to be the original source for the questionable behaviour
in d3d_device_set_render_target() of storing the new iface before checking the
result of the wined3d_device_set_render_target(). (In particular,
SetRenderTargetTest() in tests/d3d.c tests for this behavious.)
2013-09-19 19:48:44 +02:00
Henri Verbeet c70376af63 ddraw: Verify that the surface is in video memory in SetRenderTarget().
This is where things become a bit of a mess, because the error checking is
inconsistent between versions.
2013-09-19 19:48:41 +02:00
Henri Verbeet ed92369316 ddraw: Verify that the surface is a render target in d3d_device_set_render_target(). 2013-09-19 19:48:35 +02:00
Dmitry Timoshkov b7e68ae338 shlwapi/tests: Fix stream test failures under some win2000 versions. 2013-09-19 09:31:01 +02:00
Rico Schüller 196766cb77 d3dx9/tests: Add matrix column register count clamp test. 2013-09-19 09:30:56 +02:00
Rico Schüller ae95176c0d d3dx9: Clamp register count for D3DXPC_MATRIX_COLUMNS. 2013-09-19 09:30:54 +02:00
Bruno Jesus e9bd764a7b ws2_32: Make getsockopt(SO_TYPE) convert the returned socket type. 2013-09-19 09:30:40 +02:00
Ken Thomases 018d629b3c winemac: Use NSMouseInRect() instead of NSPointInRect() to compensate for Cocoa's off-by-one coordinate system.
This matches what Cocoa does when determining how to handle an event so that,
for example, our test if a click is in the window grow box corresponds to
whether Cocoa will run an internal mouse-tracking loop to resize the window
when we pass it the event.  This fixes a problem where both Cocoa and user32
would try to run a resize loop and the cursor would get "stuck" resizing the
window after the button was released.
2013-09-19 09:30:18 +02:00
Aric Stewart 8b933495fb imm32: Fix ImmGetDescription behavior with a null HKL. 2013-09-18 22:23:09 +02:00
Qian Hong b4b428ee9e imm32: Validate input context in multiple IMC functions.
Both tests and fixes improved by Aric Stewart.
2013-09-18 22:23:09 +02:00
Ken Thomases 4ad9d5f04a winemac: Send WM_ENTER/EXITSIZEMOVE messages at start/end of a resizing operation. 2013-09-18 22:23:09 +02:00
Ken Thomases d55d2ec85a winemac: Move memory management of liveResizeDisplayTimer into property setter. 2013-09-18 22:23:09 +02:00