Similar changes were done before for views, that fixed actual issue when object couldn't and shouldn't have been created, but pointer was still used afterwards. These are the same kind of changes for shader objects.
--
v2: d3d11: Always initialize out shader pointer in CreateComputeShader().
d3d11: Always initialize out shader pointer in CreateDomainShader().
d3d11: Always initialize out shader pointer in CreateHullShader().
d3d11: Always initialize out shader pointer in …
[View More]CreatePixelShader().
d3d11: Always initialize out shader pointer in CreateGeometryShaderWithStreamOutput().
d3d11: Always initialize out shader pointer in CreateGeometryShader().
d3d11: Always initialize out shader pointer in CreateVertexShader().
https://gitlab.winehq.org/wine/wine/-/merge_requests/141
[View Less]
Inspired by the discussion for MR 127 (https://www.winehq.org/pipermail/wine-devel/2022-May/217832.html) and is aimed to replace the second patch (ws2_32: Use allocated IO status block in select().) in that MR.
When the thread calls server's terminate_thread for itself queuing the system APC though SIGUSR1 might race with the thread exit, there seems no easy and reliable way to be sure that signal is processed before the thread's stack and TEB are freed. Thus I am making the system APCs to be …
[View More]queued to the thread to be processed by server_select() after (terminate_thread) server call.
When terminate_thread is called for the other thread the system APC will always be delivered through some other thread. Thread stack and TEB are not freed when the thread is killed externally, so completing the async from another thread should probably be fine.
--
v2: ntdll: Cancel asyncs when thread is terminated.
ws2_32/tests: Add tests for terminated thread asyncs completion.
https://gitlab.winehq.org/wine/wine/-/merge_requests/135
[View Less]
On Fri, 2022-05-27 at 16:43 +0800, Zhao Yi wrote:
> These profiles belong to a specific printer driver and are required for
> data conversion during printing. However, these profiles are not available in
> the default wine prefix of the Linux system, resulting in the failure of my
> test program.
Here's a test using the standard RGB color profile which shows our mapping is
wrong. I think this is sufficient to show the general problem and we can assume
…
[View More]that the CMYK case should be fixed accordingly.
[View Less]
Similar changes were done before for views, that fixed actual issue when object couldn't and shouldn't have been created, but pointer was still used afterwards. These are the same kind of changes for shader objects.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/141