Commit Graph

76480 Commits

Author SHA1 Message Date
Henri Verbeet 3c6d11706f ddraw: Just set the render target to NULL in d3d_device_inner_Release().
The wined3d front buffer is not a render target.
2013-09-12 10:59:21 +02:00
Henri Verbeet 1a78667862 wined3d: Allow the first render target to be set to NULL.
Note that it still isn't necessarily safe to render in this case, because
there are places where we assume the first render target is always non-NULL in
order to determine e.g. framebuffer dimensions. It's now the responsibility of
the caller to ensure that doesn't happen.
2013-09-12 10:59:18 +02:00
Henri Verbeet 1b53cbd8de wined3d: Make primary_render_target_is_p8() work on a swapchain. 2013-09-12 10:59:11 +02:00
Dmitry Timoshkov d15e08ae5e kernel32/tests: Add a read/write test for a COM port. 2013-09-11 20:33:22 +02:00
Nikolay Sivov 37182e3f0f ntdll: Try application manifest path when searching for dependent assemblies. 2013-09-11 20:33:22 +02:00
Dmitry Timoshkov ea7f9737bd ntdll: Add support to NtWriteFile for special offset -1. 2013-09-11 20:33:22 +02:00
Bruno Jesus d71bf64e87 ws2_32: Fix WSADuplicateSocket implementation. 2013-09-11 20:33:20 +02:00
Alexandre Julliard 69abf20fcd gdi32: Add a check for overflow in DIB dimensions. 2013-09-11 18:33:06 +02:00
Alexandre Julliard 08e82d4686 gdi32: Add more helpers for converting font sizes to logical coordinates. 2013-09-11 18:33:05 +02:00
Aric Stewart 4a300d2423 gdi32: GetCharWidth32A/W return positive widths for all layouts and various DC transforms. 2013-09-11 18:33:04 +02:00
Stefan Dösinger b4d8b52fa7 wined3d: Pass position_transformed and gl_info to find_ps_compile_args. 2013-09-11 17:09:59 +02:00
Stefan Dösinger dfeee9077c wined3d: Pass the swizzle map to find_vs_compile_args. 2013-09-11 17:09:56 +02:00
Hans Leidekker 057c98323e rpcrt4: Don't try to decode the authorization value in the first leg. 2013-09-11 16:10:05 +02:00
Hans Leidekker 6f2c4bac58 rpcrt4: Don't remove the authorization header if the scheme is Basic. 2013-09-11 16:10:01 +02:00
Jacek Caban 0e5d64cc44 d3d11: Use proper D3D11CreateDevice argument types. 2013-09-11 16:08:54 +02:00
Piotr Caban d548877f6e msvcr110: Add forwards to type_info::before function. 2013-09-11 16:08:42 +02:00
Thomas Faber d518ce7ea2 ntdll/tests: Use correct prototype for RtlCreateUnicodeString[FromAsciiz]. 2013-09-11 16:08:09 +02:00
Henri Verbeet 73a0327487 ddraw: Avoid LPBYTE. 2013-09-11 09:59:06 +02:00
Henri Verbeet 87ef65ab7b ddraw: Avoid LPVOID. 2013-09-11 09:59:04 +02:00
Henri Verbeet 9ccced6f41 ddraw: Get rid of get_config_key(). 2013-09-11 09:58:55 +02:00
Henri Verbeet 1453baf64b wined3d: Properly check if the swapchain format is WINED3DFMT_P8_UINT in primary_render_target_is_p8(). 2013-09-11 09:58:52 +02:00
Henri Verbeet aea8d5c11e wined3d: Get rid of the render target / overlay check in wined3d_surface_flip().
The surface needs to be part of a swapchain to be flipped, but that doesn't
have much to do with WINED3DUSAGE_RENDERTARGET. We can just remove the check
here, because ddraw_surface7_Flip() already has the correct check.
2013-09-11 09:58:50 +02:00
Nikolay Sivov 8ae6b43bc8 shell32: Fix getting a command string when root key default value doesn't point to a key. 2013-09-10 19:07:31 +02:00
Andrew Eikum 6b4f43e8e6 oleaut32: Don't crash on NULL string arguments. 2013-09-10 17:31:49 +02:00
Huw Davies 5bfabee8cd iphlpapi: Don't set the dns server list if there are no servers. 2013-09-10 17:31:48 +02:00
Stefan Dösinger c0a14564d3 d3d9/tests: Actually accept r500 results. 2013-09-10 17:00:59 +02:00
Stefan Dösinger ff14c24dd2 d3d9/tests: Use a plain depth stencil instead of a texture.
r500 does not support anything but AMD's extension depth texture formats
on Windows 7. Plain surfaces work OK with the builtin formats.
2013-09-10 17:00:55 +02:00
Stefan Dösinger 5b48335ce2 d3d8/tests: Mark YUY2 and UYVY broken. 2013-09-10 17:00:50 +02:00
Stefan Dösinger b59418d75d d3d9/tests: Test the behavior of failing surface creation calls. 2013-09-10 17:00:46 +02:00
Stefan Dösinger 99da74fea4 d3d8/tests: Test the behavior of failing surface creation calls. 2013-09-10 17:00:41 +02:00
Jactry Zeng 1cbdb2aff7 riched20: Add a length return parameter to ME_ToUnicode. 2013-09-10 12:27:37 +02:00
Bruno Jesus dea4f7bc02 ws2_32: Implement get socket option SO_PROTOCOL_INFO. 2013-09-10 12:27:35 +02:00
Dmitry Timoshkov f031c676c1 server: Add a serial event mask change counter. 2013-09-10 11:18:57 +02:00
Henri Verbeet 4b772c2cf2 d3drm: Avoid LPRECT. 2013-09-10 11:10:17 +02:00
Henri Verbeet 39991e759a d3drm: Avoid LPDWORD. 2013-09-10 11:10:14 +02:00
Henri Verbeet d21c26e4f6 wined3d: Get rid of surface_modify_location(). 2013-09-10 11:09:53 +02:00
Henri Verbeet b62915dabb wined3d: Replace surface_modify_location(surface, location, FALSE) calls with surface_invalidate_location(). 2013-09-10 11:09:51 +02:00
Henri Verbeet c6ce5486c0 wined3d: Get rid of the special SFLAG_INTEXTURE / SFLAG_INSRGBTEX code in surface_modify_location().
It turns out this is already safe for all callers.
2013-09-10 11:09:48 +02:00
Ken Thomases ae2ce18fd6 winemac: Don't allow dead-key state to repeat after characters are generated.
It's fairly common in Mac keyboard layouts that, if you type a dead key twice,
the second key press will both produce a non-dead character and also
perpetuate the dead-key state.  For example, with the U.S. layout, Option-E,
E will produce "" and Option-E, Option-E, E will produce "".  Windows
keyboard layouts don't tend to do this.  The second key press produces the
non-dead character and clears the dead-key state.
2013-09-10 11:07:41 +02:00
André Hentschel fa6b058070 kernel32: Add partial CreateFile2 implementation. 2013-09-10 11:06:31 +02:00
Nikolay Sivov 26d42b9d5c msxml3: Added ISupportErrorInfo support for schema cache. 2013-09-09 22:10:01 +02:00
Stefan Dösinger 20ce6bd102 ddraw/tests: Don't test transformed vertices with normals.
They crash the GPU driver of my r200 WinXP laptop, causing anything from
a BSOD to a frozen or black screen and sometimes incorrectly set
resolutions.
2013-09-09 22:10:01 +02:00
Stefan Dösinger cd203b38a6 wined3d: Pass the context to the main buffer preload function. 2013-09-09 22:10:01 +02:00
Stefan Dösinger 87f931dc64 wined3d: Only invalidate STATE_INDEXBUFFER for the current context in buffer_get_sysmem(). 2013-09-09 22:10:00 +02:00
Stefan Dösinger 1cf192172e wined3d: Only invalidate STATE_INDEXBUFFER for the current context in buffer_create_buffer_object(). 2013-09-09 22:10:00 +02:00
Andrew Eikum c5be905bf7 oleaut32: Fix TRACE. 2013-09-09 22:10:00 +02:00
Andrew Eikum 808c47cecb oleaut32: Typelib strings of size -1 are NULL. 2013-09-09 22:10:00 +02:00
Detlef Riekenberg 6cb2156976 d3dx11_42: Add stub dll. 2013-09-09 22:10:00 +02:00
Detlef Riekenberg e10b687dbf d3dx11_43: Add stub dll. 2013-09-09 22:10:00 +02:00
Sylvain Petreolle 4a1d4acd29 wbemprox: Implement Win32_OperatingSystem.LocalDateTime. 2013-09-09 22:09:59 +02:00
Bruno Jesus 3465646d44 kernel32: Fix parameters checking for GetVolumePathName(). 2013-09-09 22:09:59 +02:00
Nikolay Sivov 1c13e6221a shell32: Remove asserts on invalid parameters. 2013-09-09 22:09:59 +02:00
Nikolay Sivov f0d17b5c17 shell32: Fix handle leak on consecutive Init() calls. 2013-09-09 22:09:59 +02:00
Nikolay Sivov 891cf2ac54 shell32: Added support for ASSOCF_NOTRUNCATE flag in GetString(). 2013-09-09 22:09:59 +02:00
Nikolay Sivov 4f6230d5c4 shell32: Fix search for a command string to cover more cases (like protocol associations). 2013-09-09 22:09:59 +02:00
Bruno Jesus 0816f85b6b ws2_32: Implement WSADuplicateSocket[A|W] using a helper function. 2013-09-09 22:09:59 +02:00
Bruno Jesus d77522988b ws2_32/tests: Mark WinNT result as broken. 2013-09-09 22:09:59 +02:00
Vincent Povirk ac5faea093 winsta: Stub WinStationGetAllProcesses. 2013-09-09 22:09:58 +02:00
Vincent Povirk 7c215d5a25 winsta: Stub WinStationRegisterConsoleNotification. 2013-09-09 22:09:58 +02:00
Aric Stewart 5aa1f6b7a5 Unicode Private Use Area is also rotated by tategaki. 2013-09-09 22:09:58 +02:00
Henri Verbeet 16c48f9d84 d3drm: Avoid LPVOID. 2013-09-09 22:09:58 +02:00
Henri Verbeet a9f3bc43e5 d3drm: Avoid LPSTR. 2013-09-09 22:09:58 +02:00
Henri Verbeet e2f4ab4607 wined3d: Rewrite surface_modify_location() on top of surface_validate_location() and surface_invalidate_location(). 2013-09-09 22:09:58 +02:00
Henri Verbeet 59e2f52ff8 wined3d: Replace the "dirty" field in struct gl_texture with WINED3D_TEXTURE_ flags. 2013-09-09 22:09:58 +02:00
Henri Verbeet c44012f0c1 wined3d: Get rid of the "dirty" flag to wined3d_texture_set_dirty(). 2013-09-09 22:09:57 +02:00
Nikolay Sivov bcbd13b70c ntdll: Added compatible sections for clrClass data. 2013-09-09 22:09:56 +02:00
Nikolay Sivov 88d5cab5e9 comctl32/tests: Manually load comctl32.dll with newly activated context. 2013-09-09 11:27:59 +02:00
Nikolay Sivov f13d8cc373 comctl32: Fix LVS_OWNERDRAWFIXED handling in hittesting. 2013-09-09 11:27:54 +02:00
Nikolay Sivov 88c2a189fe kernel32/tests: Added some activation context tests for SearchPath(). 2013-09-06 17:28:48 +02:00
Bruno Jesus 4981b5b446 ws2_32: Remove a FIXME message. 2013-09-06 17:25:21 +02:00
Bruno Jesus b2170d845d ws2_32: Fix SO_ACCEPTCONN on BSD systems. 2013-09-06 17:25:17 +02:00
Bruno Jesus 0b03dc93e9 ws2_32: Add parameters TRACE for WS_EnumProtocols. 2013-09-06 17:25:15 +02:00
Andrew Eikum 52b1adcd6e oleaut32: Correct TRACE statement. 2013-09-06 17:25:08 +02:00
Andrew Eikum cb1f4c5387 oleaut32: Apply TKIND_DISPATCH changes to FUNCDESC results from ITypeComp::Bind. 2013-09-06 17:25:08 +02:00
Andrew Eikum 664e7938cb oleaut32: Improve TYPEDESC encoding for unknown VARTYPEs.
It's not worth printing a FIXME for every VARTYPE we don't happen to
list in the switch statement.
2013-09-06 17:25:08 +02:00
Stefan Dösinger b92928333b ddraw/tests: Test unsupported texture formats. 2013-09-06 17:25:08 +02:00
Stefan Dösinger f69ba15a92 ddraw/tests: Test blocked texture creation restrictions. 2013-09-06 17:25:08 +02:00
Stefan Dösinger 36c15d92e9 d3d8/tests: Test blocked texture creation restrictions. 2013-09-06 17:25:08 +02:00
Stefan Dösinger b7b028ca4b d3d9/tests: Test blocked texture creation restrictions. 2013-09-06 17:25:08 +02:00
Stefan Dösinger df5a0976e9 wined3d: Check the format block size before creating textures.
Sizes of textures and stand-alone surfaces must be multiples of the
format's block size for DXTN formats. Since we create a texture for
everything (except in ddraw), this check also takes care of stand-alone
surfaces.
2013-09-06 17:25:08 +02:00
Stefan Dösinger 80638b6d2f wined3d: Enforce texturing capability format restrictions on resource creation. 2013-09-06 17:25:08 +02:00
Stefan Dösinger b464067313 ddraw: Create a sysmem surface if the format is not supported. 2013-09-06 17:25:08 +02:00
Jacek Caban ba4278a735 crypt32: Added support for retrieving certs by URL. 2013-09-06 17:25:08 +02:00
Jacek Caban 9dd32ba67d crypt32: Added support for retrieving issuers from URL cache. 2013-09-06 17:25:08 +02:00
Jacek Caban 0e0d51ae85 crypt32: Search world collection when looking for issuer. 2013-09-06 17:25:08 +02:00
Nikolay Sivov 47650c3320 user32/tests: Test to show that SendMessage/PostMessage don't force caller activation context on window thread. 2013-09-06 17:25:08 +02:00
Andrew Cook fef18a4267 kernel32: Fix argument order for NtIsProcessInJob. 2013-09-06 12:08:10 +02:00
Dmitry Timoshkov a4ec059354 ntdll/tests: Add some tests for negative file offsets. 2013-09-06 12:03:55 +02:00
Henri Verbeet 75deeb4589 d3drm: Avoid LPCSTR. 2013-09-06 12:00:26 +02:00
Henri Verbeet 5daf5e80fb d3dcompiler: Avoid LPVOID. 2013-09-06 12:00:24 +02:00
Henri Verbeet 4735690dc2 ddraw: Introduce a helper function for initializing a D3DDEVICEDESC structure from a D3DDEVICEDESC7 structure. 2013-09-06 12:00:22 +02:00
Henri Verbeet 7859509f5b wined3d: Get rid of the SFLAG_INTEXTURE / SFLAG_INSRGBTEX check in surface_set_texture_name(). 2013-09-06 12:00:12 +02:00
Henri Verbeet 137590be31 wined3d: Return 1 instead of 0 for max_vertex_blend_matrices in glsl_vertex_pipe_vp_get_caps().
It's not necessarily clear to me that one is better than the other here, but
this is what we returned in the old GL fixed function implementation of the
D3D fixed function vertex pipe, and apparently EverQuest depends on this.

This fixes a regression introduced by commit 2014141a25.
2013-09-06 12:00:09 +02:00
Ken Thomases 7ed00f6d97 winemac: Add support for mouse-move and right- and middle-click events on systray icons in the Mac status bar. 2013-09-06 11:59:13 +02:00
Marcus Meissner c6761b8b9d mciqtz32: Do not print uninitialized variables (Coverity). 2013-09-06 11:46:52 +02:00
Ralf Habacker 39629a3d35 gdi32: Fixed Rectangle() rotation with GM_ADVANCED graphics mode in dib driver. 2013-09-05 20:58:24 +02:00
Stefan Dösinger 22fc22d28b ddraw: Enumerate DXT2 and DXT4. 2013-09-05 17:56:24 +02:00
Stefan Dösinger b88daee3bc ddraw: Create managed pool textures.
The surfaces are already in WINED3D_POOL_MANAGED.
2013-09-05 17:56:17 +02:00
Stefan Dösinger 8da09ba196 ddraw/tests: Test DDCAPS2_TEXTUREMANAGE compatibility, with other flags. 2013-09-05 17:56:06 +02:00
Stefan Dösinger b73464a413 wined3d: Use the ftoa helper function in the ARB shader backend.
This is the ARB equivalent to e0494afa00.
2013-09-05 17:55:48 +02:00