Commit graph

169561 commits

Author SHA1 Message Date
Zebediah Figura ee620f0277 wined3d: Enable EXT_extended_dynamic_state. 2024-02-16 16:43:18 +01:00
Zebediah Figura a9c9d49a12 wined3d: Make the scissor state dynamic. 2024-02-16 16:43:18 +01:00
Zebediah Figura e8a2f816f0 wined3d: Make the viewport state dynamic. 2024-02-16 16:43:18 +01:00
Zebediah Figura 3b59be59ae wined3d: Set the pipeline key viewport and scissor count at initialization.
It never changes.
2024-02-16 16:43:18 +01:00
Zebediah Figura fabf45a9d8 wined3d/arb: Move fragment program compilation from fragment_prog_arbfp() to arbfp_apply_draw_state(). 2024-02-16 16:43:18 +01:00
Zebediah Figura 17b9c45311 wined3d: Pass a non-const wined3d_context pointer to the FFP *_apply_draw_state() methods. 2024-02-16 16:43:18 +01:00
Zebediah Figura dfb1665b5f wined3d: Pass a wined3d_state pointer to the vp_enable() and fp_enable() methods.
Rename to *_apply_draw_state() per Henri's suggestion.
2024-02-16 16:43:18 +01:00
Zebediah Figura b64cc15d61 wined3d: Introduce a separate fp_disable() method.
Analogous to shader_disable().

We'd like to pass a wined3d_state pointer to fp_enable() to let it handle
actually compiling the fragment pipeline, which doesn't mesh well conceptually
with its use in shader_disable().
2024-02-16 16:43:18 +01:00
Zebediah Figura 9880e29d69 wined3d: Introduce a separate vp_disable() method.
Analogous to shader_disable().

We'd like to pass a wined3d_state pointer to vp_enable() to let it handle
actually compiling the vertex pipeline, which doesn't mesh well conceptually
with its use in shader_disable().
2024-02-16 16:43:18 +01:00
Zebediah Figura c8a98e03c8 wined3d: Merge shader_load_constants() into shader_select().
Arguably there is a benefit here in that it reduces shader backend state
application down to a single method, although whether that is an improvement may
be up for debate.

More saliently, we would like to move FFP state application out of the state
table and into a linear state function. In practice that function will probably
be vp_enable / fp_enable. In that case we will need those functions, and hence
also shader_select(), to be called when more states are dirty.

This does not in itself mean that shader_load_constants() needs to be merged
with shader_select(), but it does remove the primary impetus for keeping them
separate.

Rename to shader_apply_draw_state() to reflect the adjusted purpose, as
suggested by Henri Verbeet.
2024-02-16 16:43:18 +01:00
Eric Pouech 5efab11752 kernel32/tests: Check if thread is suspended in debugger attachment tests.
Looks like thread is suspended until DBG_CONTINUE is sent on thread
creation debug event.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-02-16 11:36:58 +01:00
Zebediah Figura a97a4af0dd dinput/tests: Return void from test_winmm_joystick(). 2024-02-16 11:36:45 +01:00
Paul Gofman 95e12689e6 webservices: Force debug info in critical sections. 2024-02-16 11:36:30 +01:00
Paul Gofman c65d0a0770 vcomp: Force debug info in critical sections. 2024-02-16 11:36:30 +01:00
Paul Gofman 139d624787 rpcrt4: Force debug info in critical sections. 2024-02-16 11:36:30 +01:00
Paul Gofman 67bea281cc propsys: Force debug info in critical sections. 2024-02-16 11:36:30 +01:00
Paul Gofman 0efd48113e mapi32: Force debug info in critical sections. 2024-02-16 11:36:29 +01:00
Piotr Caban bbf222ca72 wininet: Add support for reading connection settings binary blobs from registry. 2024-02-15 22:01:15 +01:00
Piotr Caban fac555fe68 wininet: Add support for writing connection settings binary blobs from registry. 2024-02-15 22:01:15 +01:00
Piotr Caban 707685642c wininet/tests: Cleanup INTERNET_OPTION_PER_CONNECTION_OPTION tests. 2024-02-15 22:01:15 +01:00
Piotr Caban 9ea0a1072d wininet: Use GlobalAlloc in InternetQueryOption(INTERNET_OPTION_PER_CONNECTION_OPTION).
So the allocator matches with documentation.
2024-02-15 22:01:12 +01:00
Piotr Caban 7dcdfd7bf2 wininet: Fix buffer size calculation in InternetQueryOption(INTERNET_OPTION_PER_CONNECTION_OPTION). 2024-02-15 22:01:12 +01:00
Piotr Caban f54acf3de0 wininet: Test INTERNET_OPTION_PER_CONNECTION_OPTION on process settings.
Setting invalid proxy server has some side effects.
2024-02-15 22:01:10 +01:00
Eric Pouech 9119e3102b winedump: Don't crash on non-effective runtime function entries.
MSVC generates zeroed out entries when EditAndContinue (aka HotPatch)
is enabled.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-02-15 20:41:49 +01:00
Gabriel Ivăncescu 8a71a4a304 explorer: Set layered style on systray icons before calling into the driver.
Fixes a regression introduced by b5c57b9a62,
which broke the systray integration outside of virtual desktops on some
DEs like XFCE.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-02-15 20:40:55 +01:00
Krzysztof Bogacki 223292da02 win32u: Implement NtGdiDdDDIEnumAdapters2.
Signed-off-by: Krzysztof Bogacki <krzysztof.bogacki@leancode.pl>
2024-02-15 20:39:48 +01:00
Krzysztof Bogacki 800b5e44fc win32u: Maintain a list of GPUs in cache.
Signed-off-by: Krzysztof Bogacki <krzysztof.bogacki@leancode.pl>
2024-02-15 20:39:48 +01:00
Krzysztof Bogacki 10db5b67b8 gdi32: Add D3DKMTEnumAdapters2() stub.
Signed-off-by: Krzysztof Bogacki <krzysztof.bogacki@leancode.pl>
2024-02-15 20:39:46 +01:00
Krzysztof Bogacki 842461979c gdi32/tests: Add D3DKMTEnumAdapters2 tests.
Signed-off-by: Krzysztof Bogacki <krzysztof.bogacki@leancode.pl>
2024-02-15 20:39:46 +01:00
Nikola Kuburović fddea5da01 kernelbase: Reduce FIXME to TRACE if params is null.
If CREATEFILE2_EXTENDED_PARAMS struct pointer is null, we just forward
to CreateFileW and we don't need FIXME's.
2024-02-15 20:37:07 +01:00
Fabian Maurer 231670e899 mmdevapi/tests: Add test for invalid format with exclusive mode. 2024-02-15 20:36:37 +01:00
Fabian Maurer c62ca5fced winealsa: Remove superflous check. 2024-02-15 20:36:30 +01:00
Fabian Maurer e75d1b38b5 wineoss: Remove superflous check. 2024-02-15 20:36:28 +01:00
Daniel Lehman 4d1ad4f975 oleaut32: Use scientific notation only for larger numbers in VarBstrFromR[48]. 2024-02-15 20:35:49 +01:00
Daniel Lehman 55e4aa7a31 oleaut32/tests: Add tests for number of digits. 2024-02-15 20:35:49 +01:00
Jinoh Kang b74e1a570b ntdll: Remove stale comment from set_async_direct_result() documentation.
The supplied async handle passed to set_async_direct_result() cannot be
NULL.
2024-02-15 20:35:00 +01:00
Alexandre Julliard 2601a8a2f1 ntdll: Don't count custom stack frames as part of the prolog on ARM64. 2024-02-15 20:31:49 +01:00
Alexandre Julliard 1abebca6dc ntdll: Ignore end_c when processing ARM64 unwind codes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55584
2024-02-15 20:31:49 +01:00
Alexandre Julliard a271fc9e19 ntdll: Add support for the save_any_reg ARM64 unwind code.
Based on a patch by Billy Laws.
2024-02-15 20:31:49 +01:00
Alexandre Julliard 7c4ca6ff74 winedump: Add dumping of the save_any_reg ARM64 unwind code. 2024-02-15 15:08:55 +01:00
Paul Gofman 17f94ab563 dmsynth: Force debug info in critical sections. 2024-02-15 11:23:57 +01:00
Paul Gofman bbe1c7532a dmime: Force debug info in critical sections. 2024-02-15 11:23:57 +01:00
Paul Gofman fb64ea8675 strmbase: Force debug info in critical sections. 2024-02-15 11:23:57 +01:00
Jacek Caban 3f421410c1 winebuild: Move target filtering to assign_exports. 2024-02-15 11:23:52 +01:00
Jacek Caban 3c9ede8abc winebuild: Use exports struct in assign_names. 2024-02-15 11:23:51 +01:00
Jacek Caban 1bc06138f4 winebuild: Use exports struct in assign_ordinals. 2024-02-15 11:23:51 +01:00
Jacek Caban f5ed0de392 winebuild: Use exports struct for exports handling. 2024-02-15 11:23:51 +01:00
Jacek Caban 6ee0583546 winebuild: Use exports struct for 16-bit modules handlign. 2024-02-15 11:23:51 +01:00
Jacek Caban 499c6be734 winebuild: Use exports struct for imports handling. 2024-02-15 11:23:51 +01:00
Jacek Caban 73f0bbc731 winebuild: Introduce exports struct. 2024-02-15 11:23:49 +01:00