Commit Graph

99263 Commits

Author SHA1 Message Date
Stefan Dösinger 965d00f4b6 wined3d: Give user memory its own location. 2014-01-10 17:59:16 +01:00
Stefan Dösinger badf3d8db7 wined3d: Load surfaces into map binding memory on unload.
A surface can stay in DIB or user memory just fine. When buffers get
their own location an exception for them has to be added.
2014-01-10 17:56:48 +01:00
Stefan Dösinger 18bf8b49b3 wined3d: Move location flag updating out of surface_init_sysmem. 2014-01-10 17:56:43 +01:00
Stefan Dösinger c770d3f573 wined3d: Mark the map binding up to date in texture2d_sub_resource_add_dirty_region. 2014-01-10 17:56:41 +01:00
Stefan Dösinger 1b561e815e wined3d: Use the map binding for RGB<->sRGB loads. 2014-01-10 17:56:39 +01:00
Stefan Dösinger 5c1df19b16 wined3d: Use the map binding to reload surfaces on color key changes. 2014-01-10 17:56:30 +01:00
Stefan Dösinger 5479ccea20 wined3d: Use the map binding to reload surfaces on palette changes. 2014-01-10 17:56:27 +01:00
Stefan Dösinger 1046551c34 wined3d: Add a map_binding field to surfaces.
Buffers, heap memory, user memory and DIBs will have their own
locations. This field specifies which location is used when the surface
is mapped.
2014-01-10 17:56:24 +01:00
Jacek Caban 519166a448 mshtml: Fixed double release in NPP_New. 2014-01-10 16:26:04 +01:00
Dmitry Timoshkov 615319ebd0 advapi32/tests: Add access tests for a process. 2014-01-10 16:24:39 +01:00
Dmitry Timoshkov eb96f7a5a3 advapi32/tests: Add access tests for a thread. 2014-01-10 16:24:37 +01:00
Dmitry Timoshkov 4229da7cae advapi32/tests: Add access tests for a file mapping. 2014-01-10 16:24:35 +01:00
Dmitry Timoshkov fa0b745d3f advapi32/tests: Add more file access tests, add access tests for a directory. 2014-01-10 16:24:32 +01:00
Dmitry Timoshkov b5c9bdaddb advapi32/tests: Add a test for opening an event with access 0. 2014-01-10 16:24:28 +01:00
Dmitry Timoshkov bce1a2b3d5 advapi32/tests: Add a test for opening a mutex with access 0. 2014-01-10 16:24:26 +01:00
Dmitry Timoshkov df5affc13f advapi32/tests: Add tests for access 0 mapping. 2014-01-10 16:24:22 +01:00
Alexandre Julliard 09a75310da makedep: Expand the script names into the generated rules. 2014-01-10 12:53:15 +01:00
Alexandre Julliard 623cfef4a0 makedep: Add helper functions for computing source dir paths. 2014-01-10 12:47:19 +01:00
Michael Stefaniuc edddda2374 include: There is no need to duplicate CLSID_DirectMusicAudioPathConfig as CLSID_DirectMusicAudioPath.
CLSID_DirectMusicAudioPath is private to Wine and produces the confusion
between the COM objects DirectMusicAudioPath and
DirectMusicAudioPathConfig. But those are totally different things.
2014-01-10 12:09:12 +01:00
Michael Stefaniuc a64bda5b1b dmime/tests: COM tests for DirectMusicAudioPath and DirectMusicAudioPathConfig. 2014-01-10 12:08:06 +01:00
Michael Stefaniuc 0991d3a9bc dmime/tests: COM tests for DirectMusicGraph. 2014-01-10 12:07:59 +01:00
Michael Stefaniuc 13dfc393de dmime/tests: COM tests for the different DirectMusic*Tracks. 2014-01-10 12:07:56 +01:00
Michael Stefaniuc 77bf52b8a2 dmime/tests: Add COM tests for DirectMusicSegmentState. 2014-01-10 12:07:49 +01:00
Michael Stefaniuc d4861c07c4 dmime/tests: Move the unrelated COM test out of performance.c. 2014-01-10 12:07:44 +01:00
Michael Stefaniuc 2343eeff91 dmime: None of the COM classes support COM aggregation. 2014-01-10 12:06:41 +01:00
Henri Verbeet c7d05d2d60 ddraw: Pass the monitor to the callback in ddraw_enumerate_secondary_devices(). 2014-01-10 12:06:22 +01:00
Henri Verbeet 5dd286d05a wined3d: Make rebind_fbo in struct wined3d_context a bitfield. 2014-01-10 12:06:13 +01:00
Henri Verbeet 51cdeeacd4 wined3d: Explicitly request alpha testing for blitting the cursor and logo textures to screen. 2014-01-10 12:06:09 +01:00
Henri Verbeet 06d6bdae4a wined3d: Place the logo texture in the default pool. 2014-01-10 12:06:04 +01:00
Henri Verbeet f8e62bc596 wined3d: Place the cursor texture in the default pool. 2014-01-10 12:05:57 +01:00
Ken Thomases c072a4564e winemac: For ChangeDisplaySettingsEx(), if caller didn't specify, prefer non-interlaced and unstretched modes. 2014-01-10 12:05:45 +01:00
Ken Thomases ce5a87b1ef winemac: Simplify display mode code.
When originalDisplayModes has entries, the app is active.  When the app is
active, latentDisplayModes is empty.
2014-01-10 12:05:41 +01:00
Ken Thomases d4d92a759e winemac: Clear the latentDisplayModes instance variable before realizing the latent modes. 2014-01-10 12:05:38 +01:00
Ken Thomases 42a7d7209b winemac: Restore display mode to original in more cases.
We only care if we have changed the mode and we're changing it back to its
original.  Even if the current mode matches the target mode, we may still
need to release the displays and clear the entry from originalDisplayModes.
2014-01-10 12:05:34 +01:00
Ken Thomases 9c65d672a2 winemac: Don't assume the current display mode is the original if we don't have the displays captured.
Another process may have changed the display mode before we queried the
current mode, so we may be seeing a non-original mode.
2014-01-10 12:05:30 +01:00
Ken Thomases fe1c0ab952 winemac: Don't record original display modes when not the active app.
originalDisplayModes should be used when active, empty when inactive.
latentDisplayModes is used when inactive, empty when active.

The count of entries in originalDisplayModes is used to test whether the
process has the displays captured so adding entries when inactive would give
incorrect results.  This could have led us to mistakenly change the display
mode when we don't have the displays captured.
2014-01-10 12:05:25 +01:00
Hans Leidekker a1d8886f6a wbemprox: Implement Win32_OperatingSystem.Name. 2014-01-10 12:05:01 +01:00
Nikolay Sivov 92ed7c50a9 oleaut32: Add missing methods to test IRecordInfo implementation. 2014-01-10 12:04:54 +01:00
Frédéric Delanoy 7215eb2497 kernel32/tests: Unconstify a character string. 2014-01-10 12:04:10 +01:00
Akihiro Sagawa ebccff8225 gdi32: Relax vertical face requirements. 2014-01-09 18:07:15 +01:00
Akihiro Sagawa 142a0f7af0 gdi32: Fix DBCS mask value in GetFontLanguageInfo. 2014-01-09 18:06:11 +01:00
Akihiro Sagawa ab32c657ed gdi32: Use defined names in GetFontLanguageInfo. 2014-01-09 18:06:05 +01:00
Piotr Caban 1d4ac6dc1e msvcrt/tests: Fix crash in mbstowcs tests. 2014-01-09 17:42:44 +01:00
Andrey Gusev 8d426f5398 xapofx1_1: Add version.rc file. 2014-01-09 17:41:52 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +01:00
Erich E. Hoover dc184b526c ddraw/tests: Test DirectDrawEnumerateEx with DDENUM_ATTACHEDSECONDARYDEVICES. 2014-01-09 17:39:58 +01:00
Erich E. Hoover eba5132bfa ddraw: Make DirectDrawEnumerateEx report the driver description. 2014-01-09 17:39:57 +01:00
Erich E. Hoover 639f9335c2 ddraw: Make DirectDrawEnumerateEx only enumerate secondary display devices when requested. 2014-01-09 17:39:56 +01:00
Dmitry Timoshkov dcc057c686 cabarc: Fix printing of a not recognized compression type argument. 2014-01-09 17:39:56 +01:00
Stefan Dösinger bffd536213 wined3d: GL_NV_vertex_program2_option supports relative offsets > 63.
The ARR codepath used if ctx->target_version >= NV2 does not account for
the correction offset, but the indirect addressing reads do, which
ultimately results in incorrect offsets. Since the limitation goes away
as soon as we enable GL_NV_vertex_program_2_option ignoring the offset
is the best thing to do. I don't set shader_data->rel_offset to zero in
the pre-compilation analysis because enablding NV_vertex_program2 is in
theory a decision that is taken later during code generation.
2014-01-09 17:39:55 +01:00