bigwheels
bigwheels copied to clipboard
Swapchain cleanup.
Use common initialization for dx/vk/xr. Remove some dead code.
Mark as draft since I'm still need to verified XR builds.
This is not the right direction to evolve the swapchain design. We need to move towards a path that make sit easier to evolve XR and non-XR independently. There is also a bunch of changes to idioms that are common to swapchains in general that make it confusing. It seems like the majority of these concepts belong in an app layer that sits over BigWheels.
The swapchain implementations need to keep simple without being convoluted by mixing app level idioms.
This is not the right direction to evolve the swapchain design. We need to move towards a path that make sit easier to evolve XR and non-XR independently. There is also a bunch of changes to idioms that are common to swapchains in general that make it confusing. It seems like the majority of these concepts belong in an app layer that sits over BigWheels.
The swapchain implementations need to keep simple without being convoluted by mixing app level idioms.
So making app not directly using swapchain? (e.g. https://github.com/hysw/bigwheels/commit/3931f6c8dbd7a3a002b3a062c9663127f50293dd ) Otherwise I don't see a way to insert command after present call.
This is not the right direction to evolve the swapchain design. We need to move towards a path that make sit easier to evolve XR and non-XR independently. There is also a bunch of changes to idioms that are common to swapchains in general that make it confusing. It seems like the majority of these concepts belong in an app layer that sits over BigWheels. The swapchain implementations need to keep simple without being convoluted by mixing app level idioms.
So making app not directly using swapchain? (e.g. hysw@3931f6c ) Otherwise I don't see a way to insert command after present call.
You can keep all of that at an app layer above BigWheels and customize the swapchain implementation by derivation. I don't want the swapchain interface in BW to deviate away from the APIs.
Rebased and only kept whatever is still relevent, so marked comments as resolved as they no longer applies.