On Mon Oct 13 09:20:43 2025 +0000, Hans Leidekker wrote:
> This is static data, it should be possible to encode this without an
> init function.
Sure. I have removed this and the associated `key_idx` field in the static schema data. Instead, we just find the primary key column in `assembly_get_table` now.
I didn't want to hardcode the primary key index in the schema macros, because I wanted to keep the macros as self-descriptive as possible (through the `*_PRIMARY` column macros, in this case).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9147#note_118374
On Mon Oct 13 09:20:43 2025 +0000, Hans Leidekker wrote:
> What if assembly->stream_strings.size == 1? This could be written
> without the padding variable.
Hm, so II.24.2.3 mandates that the first string should always be `\0`, and II.24.2.2 says that stream sizes should be a multiple of 4. Nonetheless, this should still handle a string heap with a single NUL entry, so rewritten this to subtract padding bytes as long as `stream_strings.size > 1`.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9147#note_118367
On Mon Oct 13 10:09:28 2025 +0000, li xiao wrote:
> When I merged this request and submitted win32u: Don't store the window
> OpenGL drawables on the DCs.:, I encountered a deadlock while running a
> software using wine: 01 a0:err:sync:RtlpWaitForCriticalSection section
> 00007F4A4ACC5570 "?" wait timed out in thread 01a0, blocked by 0134,
> retrying (60 sec). Before the merger, it's ok.
> \
> After this submission : **win32u: Don't store the window OpenGL
> drawables on the DCs.The lifecycle of opengl_rrawable is no longer
> related to DC,Why is there still**
> ```c
> struct opengl_drawable *opengl_drawable
> ```
> **in DC?**
Hi, sorry if this has caused some more issues but if there's a bug please submit a bug report to https://bugs.winehq.org with some more details about it happens and how to reproduce it.
Regarding the `opengl_drawable` member in the DC structure, it's still being used for non-Window DCs, like memory DCs, which need to keep a reference on their eventual OpenGL surface.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8958#note_118366
When I merged this request and submitted win32u: Don't store the window OpenGL drawables on the DCs.:, I encountered a deadlock while running a software using wine: 01 a0:err:sync:RtlpWaitForCriticalSection section 00007F4A4ACC5570 "?" wait timed out in thread 01a0, blocked by 0134, retrying (60 sec). Before the merger, it's ok.
\
After this submission : **win32u: Don't store the window OpenGL drawables on the DCs.The lifecycle of opengl_rrawable is no longer related to DC,Why is there still**
```c
struct opengl_drawable *opengl_drawable
```
**in DC?**
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8958#note_118363