Re: Threading with SDL

2024-11-20 Thread Salih Dincer via Digitalmars-d-learn
On Wednesday, 20 November 2024 at 11:53:09 UTC, Adrian Preuß wrote: I think I have found the problem: SDL2 for window creation. Now I implemented my own window manager with contextual graphics bindings for Vulkan, OpenGL and DirectX (9/10/11/12) ... It seems like it can complicate things whe

Re: Threading with SDL

2024-11-20 Thread Adrian Preuß via Digitalmars-d-learn
I think I have found the problem: SDL2 for window creation. Now I implemented my own window manager with contextual graphics bindings for Vulkan, OpenGL and DirectX (9/10/11/12) with a focus on threading and it seems that this is a good solution now. Predefined libs/dubs like SDL2 or GLFW ass

Re: Threading with SDL

2024-11-19 Thread Salih Dincer via Digitalmars-d-learn
On Tuesday, 19 November 2024 at 09:08:46 UTC, Adrian Preuß wrote: I have the following project structure: ``` - main.d (Booting) - client.d - Renderer.d - Manager - SDL2.d - GLFW.d - RenderingTargets - DirectX.d - Vulkan

Re: Threading with SDL

2024-11-19 Thread user1234 via Digitalmars-d-learn
On Tuesday, 19 November 2024 at 09:08:46 UTC, Adrian Preuß wrote: Hey, I'm looking at **D** right now because I find it much easier to create native applications as opposed to C++. I have the following project structure: ``` - main.d (Booting) - client.d - Renderer.d - Man