Connor McAdams
797df8df39
d3dx9: Add support for mipmap generation to D3DXCreateVolumeTextureFromFileInMemoryEx().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams
c9e6f6f84f
d3dx9: Use d3dx_image structure inside of D3DXCreateVolumeTextureFromFileInMemoryEx().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams
438fba77d7
d3dx9: Cleanup texture value argument handling in D3DXCreateVolumeTextureFromFileInMemoryEx().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams
935c324d3a
d3dx9: Refactor texture creation and cleanup in D3DXCreateVolumeTextureFromFileInMemoryEx().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams
ab512adc1e
d3dx9/tests: Add more tests for D3DXCreateVolumeTextureFromFileInMemoryEx().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams
de286c6b65
d3dx9: Use shared code in D3DXLoadVolumeFromFileInMemory().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams
83ba4c0955
d3dx9/tests: Add more D3DXLoadVolumeFromFileInMemory() tests.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams
d4090df3f4
d3dx9/tests: Move the images used across multiple test files into a shared header.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Shaun Ren
9002039101
dinput: Call handle_foreground_lost() synchronously in cbt_hook_proc().
...
mouse_unacquire() needs to be called on the same thread as
mouse_acquire(), otherwise the cursor hidden by mouse_unacquire() will
not be restored.
2024-07-04 23:25:58 +02:00
Zhiyi Zhang
1581af4793
winemac.drv: Remove the clear OpenGL views to black hack.
...
Fix black screen issues for Active Trader Pro and Assetto Corsa. This reverts commit 4124478b
.
For Active Trader Pro, the hack ends up clearing a context that was previously drawn to to black,
possibly because multiple OpenGL contexts are involved according to Henri's investigation.
Assetto Corsa creates a D3D device for a window but doesn't actually do any rendering with it. After
ceefcca7
, having an OpenGL context for a window clears its OpenGL surface to black after its view
becomes visible. The OpenGL surface is on top of other layers for the window so the window becomes
black after that. The blackness is originally from glDrawBuffer(GL_FRONT_AND_BACK), which presumably
prepares a zero-initialized OpenGL front draw buffer. This also suggests that 4124478b
is no longer
necessary. I could delay the clearToBlackIfNeeded() call so it uses the behavior before ceefcca7
,
but now that it seems the hack is no longer necessary and might cause more errors. CrossOver has
disabled the hack for a while and it seems fine. I think it's time to remove the hack.
2024-07-04 21:07:06 +02:00
Eric Pouech
9e770440cc
cmd: Don't set ERRORLEVEL in case of redirection error.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech
2fe271ef81
cmd: Set success/failure return code for RMDIR/RD command.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech
bec2a9fa34
cmd: Set success/failure return_code for POPD command.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech
61a1b87b85
cmd: Improve return code / errorlevel handling.
...
Mainly for commands not setting ERRORLEVEL in case of
failure.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech
b1ff1a0415
cmd: Return tri-state for WCMD_ReadParseLine().
...
And move handling of the syntax error cases in callers.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech
c7e5e4c021
cmd: Add some more tests for success/failure.
...
Focusing on POPD and RMDIR/RD that don't set errorlevel
in case of failure.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Alex Henrie
bfed14d6bc
mscoree: Pass size in bytes to RegGetValueW.
2024-07-04 20:00:23 +02:00
Rémi Bernon
d9b3c025d8
win32u: Use input shared memory for NtUserGetGUIThreadInfo.
...
When the current thread is requested.
2024-07-04 20:00:23 +02:00
Rémi Bernon
6253e8c1ea
server: Move caret window and rect to input shared memory.
2024-07-04 20:00:23 +02:00
Rémi Bernon
18d1af889e
server: Move capture window to input shared memory.
...
As well as menu owner / menu size window handles.
2024-07-04 20:00:22 +02:00
Rémi Bernon
be93b3ac92
server: Move focus window to input shared memory.
2024-07-04 20:00:22 +02:00
Rémi Bernon
d42b502425
server: Move active window to input shared memory.
2024-07-04 20:00:22 +02:00
Rémi Bernon
953ee0714c
server: Create a thread input shared mapping.
2024-07-04 20:00:22 +02:00
Brendan McGrath
94fd0561b7
winegstreamer: Set 'max_threads' to 4 for 32-bit processors.
...
The avdec_h264 element can use 32MB per thread when working with 4K video.
With 16 threads, this is 512MB, which is a quarter of the RAM available
to a 32-bit application. Setting 'max_threads' to 4 can save 384MB.
2024-07-03 23:20:04 +02:00
Brendan McGrath
ff5a198a8b
winegstreamer: Use thread_count to determine 'max-threads' value.
...
GStreamer uses _SC_NPROCESSORS_CONF to determine 'max-threads'. On the
Steam Deck, this is configured to be 16 (which is double its number
of logical cores).
_SC_NPROCESSORS_CONF also disregards a process's CPU affinity, thus it
can create more threads than is useful, which ultimately wastes memory
resources.
Using thread_count to set 'max-threads' addresses both these problems.
2024-07-03 23:20:04 +02:00
Brendan McGrath
d4e95ede4f
winegstreamer: Use process affinity to calculate thread_count.
2024-07-03 23:20:03 +02:00
Elizabeth Figura
003b338102
wined3d: Invalidate the FFP VS when diffuse presence changes.
...
Regardless of WINED3D_RS_COLORVERTEX.
Fixes: 95999accf6
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56895
2024-07-03 21:48:47 +02:00
Rémi Bernon
821c95aa6a
win32u: Use the shared memory to read the desktop flags.
2024-07-03 21:48:47 +02:00
Rémi Bernon
d0d94195a6
server: Move the desktop flags to the shared memory.
2024-07-03 21:48:47 +02:00
Piotr Caban
1e1fb212ad
xcopy: Add support for parsing concatenated switches.
2024-07-03 21:48:47 +02:00
Piotr Caban
c9314151d9
xcopy: Handle switch options concatenated with path.
2024-07-03 21:48:46 +02:00
Piotr Caban
28831f9df9
xcopy: Introduce get_arg helper that duplicates first argument to new string.
2024-07-03 21:48:46 +02:00
Piotr Caban
eab62c31f3
xcopy: Strip quotes only from source and destination arguments.
2024-07-03 21:48:46 +02:00
Piotr Caban
f544826050
xcopy: Exit on invalid command line argument.
2024-07-03 21:48:46 +02:00
Piotr Caban
89fc06a703
xcopy: Exit after displaying help message.
2024-07-03 21:48:46 +02:00
Rémi Bernon
39ad87840a
winegstreamer: Respect video format padding for input buffers too.
2024-07-03 21:48:46 +02:00
Rémi Bernon
c02a06fde1
winegstreamer: Normalize video processor and color converter apertures.
2024-07-03 21:48:46 +02:00
Rémi Bernon
19fc2c56a1
winegstreamer: Normalize both input and output media types stride at once.
2024-07-03 21:48:46 +02:00
Rémi Bernon
b7dbd33b98
winegstreamer: Use video info stride in buffer meta rather than videoflip.
2024-07-03 21:48:46 +02:00
Rémi Bernon
8ba713d6b8
winegstreamer: Keep the input caps on the transform.
2024-07-03 21:48:46 +02:00
Rémi Bernon
644cc11653
winegstreamer: Use a new wg_video_buffer_pool class to add buffer meta.
2024-07-03 21:48:46 +02:00
Rémi Bernon
81cc44ae11
winegstreamer: Only use pool and set buffer meta for raw video frames.
2024-07-03 21:48:46 +02:00
Alex Henrie
2011a9cb4d
twinapi.appcore: Initialize size argument to RegGetValueW.
2024-07-03 21:48:46 +02:00
Alex Henrie
00759195cc
shell32: Pass size in bytes to RegGetValueW.
2024-07-03 19:50:14 +02:00
Alex Henrie
55525875a5
msi: Initialize size argument to RegGetValueW.
2024-07-03 19:50:03 +02:00
Eric Pouech
44e8133f4f
cmd: Set success/failure return code for PUSHD command.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:35 +02:00
Eric Pouech
c88789c89b
cmd: Set success/failure return code for DIR command.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:34 +02:00
Eric Pouech
3852b24b8e
cmd: Set success/failure return code for CD command.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:33 +02:00
Eric Pouech
db929054ba
cmd: Add success/failure return code for MKDIR/MD commands.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:32 +02:00
Eric Pouech
22bb6ce6e9
cmd: Add success/failure tests for dir related commands.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:31 +02:00