Migrate to DX9 #1575
Replies: 8 comments 8 replies
-
|
My main ask here is to not break DirectX 8 while upgrading to Direct X 9. Have them selectable by compile option, or later, command line argument. |
Beta Was this translation helpful? Give feedback.
-
|
There's also the need to first unify the directx 8 code between generals and zero hour, i think someone started it then stopped so far through. I might take a look at finishing that off. The directx9 codebase also wants to be parallel to the directx8 codebase as this can then allow switching between the two using an API Abstraction layer at a later date. |
Beta Was this translation helpful? Give feedback.
-
|
Ok, I added an attempt at compile-time option. |
Beta Was this translation helpful? Give feedback.
-
|
What benefits would the migration bring? |
Beta Was this translation helpful? Give feedback.
-
|
In my fork i've implemented the code to choose graphic engine by cmdline parameter. I think this deepwiki can help to implement the same feature into supehackers repo. |
Beta Was this translation helpful? Give feedback.
-
|
Revisiting this - RE making a dx8/dx9 compile toggle, I'm concerned that it's a ton of extra work that will ideally be thrown away soon, and our velocity isn't great, so the extra work could dramatically balloon the time to get it shipped. What are the benefits of supporting the toggle vs just reverting to before a migration if needed? Regardless of the toggle, I agree that more unification work would be beneficial here, and I'm happy to focus more on both unification and dx9 related tasks. What is everyone else thinking is our best path forward here? |
Beta Was this translation helpful? Give feedback.
-
|
I've been playing with this flow: If anyone wants to try adding their dx9 as a backend, here's the branch: render-backend-interface |
Beta Was this translation helpful? Give feedback.
-
|
Hey there, if you guys are interested, my fork have a full SDL3 + DXVK + OpenAL + FFMPEG implementation working fine. Maybe something there could be useful for this efforts. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Following on from w3dhub/OpenW3D#17, draft attempt at JohnsterID#1
Beta Was this translation helpful? Give feedback.
All reactions