Commit graph

159387 commits

Author SHA1 Message Date
Eric Pouech cffdaabbc9 dbghelp: Support depth relating to top function for inline sites.
When using an inline context which depth points towards the top level function
(so when it's not strictly speaking an inline context), native falls
back to picking information in the top level function.

So we do now in SymSetScopeFromInlineContext() and SymFromInlineContext()
(instead of returning an error).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-13 22:07:22 +02:00
Eric Pouech 76d97b6e8e winedump: Print signed integers with %d.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-13 22:07:22 +02:00
Nikolay Sivov 47b2750309 dwrite/layout: Limit text window passed to MapCharacters() to the range of characters to map.
Fallback instance does not get access to layout contents outside of given range. This could
be observed with a custom fallback.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-13 22:07:22 +02:00
Nikolay Sivov 31ab7f87db dwrite/layout: Constify some internal helpers arguments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-13 22:07:22 +02:00
Nikolay Sivov b783100773 dwrite/layout: Use already resolved or last resort fonts when setting dummy line metrics.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-13 22:07:22 +02:00
Nikolay Sivov 8d2bca638d dwrite/layout: Keep system font collection for each layout.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-13 22:07:22 +02:00
Zebediah Figura 69c219dd78 wined3d: Pass a draw count of 1 to Vulkan indirect draw commands.
Spotted by Philip Rebohle.

This fixes rendering in "Discovery Tour by Assassin's Creed: Ancient Egypt".
2022-09-13 22:07:22 +02:00
Zebediah Figura 3178e9095b wined3d: Add a dirty region to the destination texture in wined3d_device_context_blt() if applicable. 2022-09-13 22:07:22 +02:00
Zebediah Figura fdd8c0748b d3d8: Remove an incorrect comment.
This was probably added on the assumption that
IDirect3DDevice8::CopyRects() behaves like the similar
IDirect3DDevice9::UpdateSurface(), but it does not.
2022-09-13 22:07:22 +02:00
Zebediah Figura 25127c5637 wined3d: Mark managed textures as dirty if applicable in wined3d_device_evict_managed_resources(). 2022-09-13 22:07:22 +02:00
Zebediah Figura 44d6f2adbc wined3d: Factor out wined3d_texture_validate_sub_resource_idx(). 2022-09-13 22:07:22 +02:00
Zebediah Figura 4f1198bf3b wined3d: Remove a redundant variable. 2022-09-13 22:07:22 +02:00
Alexandre Julliard 6222a7a000 vcomp/tests: Limit the number of nested threads.
Without a limit we'd create nb_cpus ^ 2 threads.
2022-09-13 22:07:22 +02:00
Alexandre Julliard 3e3caf1efd gdi32/tests: Mark some tests that fail without Vulkan as todo. 2022-09-13 22:07:22 +02:00
Alexandre Julliard 12bf088ac0 winetest: Don't require an email if we have a URL. 2022-09-13 16:22:21 +02:00
Zebediah Figura 35be2e76a6 wined3d: Do not create larger staging buffers than necessary in adapter_vk_copy_bo_address().
This greatly increases performance in "Discovery Tour by Assassin's Creed:
Ancient Egypt".

The application frequently performs small (< 1 kiB) uploads to a large (128 MiB)
buffer. Without this patch, we will always create and destroy a new Vulkan
memory allocation, and the Vulkan driver will waste time zeroing the entire
allocation.
2022-09-13 16:22:21 +02:00
Rémi Bernon de95ee6c66 widl: Allow parameterized types in runtimeclass interfaces. 2022-09-13 16:22:21 +02:00
Hans Leidekker 6db0fc5ce8 rsaenh: Use BCrypt algorithm pseudo-handles. 2022-09-13 16:22:21 +02:00
Hans Leidekker 4918be2c59 ncrypt: Use BCrypt algorithm pseudo-handles. 2022-09-13 16:22:21 +02:00
Hans Leidekker ba1631ad88 fusion: Use BCrypt algorithm pseudo-handles. 2022-09-13 16:22:21 +02:00
Hans Leidekker c7e0f923bc dssenh: Use BCrypt algorithm pseudo-handles. 2022-09-13 16:22:21 +02:00
Hans Leidekker 7780caf4ee crypt32: Use BCrypt algorithm pseudo-handles. 2022-09-13 16:22:21 +02:00
Hans Leidekker 430b9db051 appwiz.cpl: Use BCryptHash(). 2022-09-13 16:22:20 +02:00
Hans Leidekker c7b5778d83 appwiz.cpl: Use BCrypt algorithm pseudo-handles. 2022-09-13 16:22:20 +02:00
Hans Leidekker ec85dfe3ab bcrypt: Rename mode_id to chain_mode. 2022-09-13 16:22:20 +02:00
Hans Leidekker 6f5028dd03 bcrypt: Add full support for algorithm pseudo-handles. 2022-09-13 16:22:20 +02:00
Paul Gofman f527e4a694 advapi32: Add stub for PerfQueryCounterData(). 2022-09-13 12:54:54 +02:00
Paul Gofman 7e7580145d advapi32: Add stub for PerfAddCounters(). 2022-09-13 12:54:53 +02:00
Paul Gofman a5921e715c advapi32: Add stub for PerfOpenQueryHandle(). 2022-09-13 12:54:52 +02:00
Paul Gofman f83181587d advapi32: Add stub for PerfCloseQueryHandle(). 2022-09-13 12:54:51 +02:00
Rémi Bernon 7fef747033 winegstreamer: Request the wm_reader stream only when necessary. 2022-09-13 12:51:29 +02:00
Rémi Bernon 68cc41babf winegstreamer: Introduce a new async_reader_wait_pts helper. 2022-09-13 12:51:29 +02:00
Rémi Bernon 524413cf40 winegstreamer: Factor async_reader waits using async_reader_get_wait_timeout. 2022-09-13 12:51:29 +02:00
Rémi Bernon 0ae64636f6 winegstreamer: Check whether the reader is still running before user time. 2022-09-13 12:51:28 +02:00
Rémi Bernon 63f9aaea83 winegstreamer: Keep start time in the async_reader struct. 2022-09-13 12:51:28 +02:00
Rémi Bernon e0045a3181 winegstreamer: Implement async reader asynchronous seeking. 2022-09-13 12:51:28 +02:00
Rémi Bernon 09aef50a39 winegstreamer: Unconditionally assign new context for ASYNC_OP_START. 2022-09-13 12:51:28 +02:00
Rémi Bernon 9808fd9789 winegstreamer: Wrap async reader op new_context in a union. 2022-09-13 12:51:28 +02:00
Rémi Bernon 453b0a92db wmvcore/tests: Add some tests starting WM reader with NULL context. 2022-09-13 12:51:26 +02:00
Nikolay Sivov a10ae49292 dwrite/layout: Use same logic for mapping both non-visual and visual runs.
Both non-visual and visual runs go through fallback mapping process, and
could end up with hard coded default at the end if fallback was insufficient.

Visual runs are using custom fallback and then the system one, non-visual ones
are using only system fallback.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-12 17:28:32 +02:00
Gijs Vermeulen 4f90e88d0b dbghelp: Add SymSrvGetFileIndexInfo stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48600
2022-09-12 17:28:23 +02:00
Eric Pouech 553798224d dbghelp: Displacements are optional.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-12 17:28:23 +02:00
Eric Pouech d1f7bc7c05 dbghelp: Support SymGetTypeInfo/TI_GET_LENGTH for variables.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-12 17:28:23 +02:00
Eric Pouech 12f2a1768c dbghelp: Correctly handle the absence of IPI stream.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-12 17:28:23 +02:00
Eric Pouech 1c5491555b dbghelp: Harden reading strings from string table.
Making use of PDB_STRING_TABLE.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-12 17:28:23 +02:00
Eric Pouech 26f2b48a47 winedump: Harden reading PDB string table stream.
Introduce struct PDB_STRING_TABLE to describe string table's header.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-12 17:28:23 +02:00
Hans Leidekker 069a7c6ac6 bcrypt: Support setting BCRYPT_CHAIN_MODE_CFB on keys. 2022-09-12 17:28:23 +02:00
Alexandre Julliard ff558c63ff d2d1/tests: Adjust geometry to make tests pass on all devices.
Fix suggested by Zebediah Figura.
2022-09-12 17:28:23 +02:00
Alexandre Julliard c0c93d8017 webservices/tests: Mark tests that fail on 64-bit as todo. 2022-09-12 12:46:35 +02:00
Alexandre Julliard 43e5f9e4bf oleaut32: Check that the 32/64 syskind matches when getting a typelib from the cache.
Fixes test failures on 64-bit.
2022-09-12 12:46:30 +02:00