Skip to content

Extract duplicated swapchain bits

Vlad Zahorodnii requested to merge work/zzag/shared-swapchain into master

OpenGL and QPainter backends have a good portion of duplicated code, this MR aims to fix that.


swapchains itself still have some duplicated bits, this MR doesn't take care of it. removing graphics specific stuff would be a way to go, but on the other hand, we still need something to get a RenderTarget, so I'm not sure about this. either way, getting rid of some code duplication is still a good idea regardless whether further steps will be taken to improve swapchain api more

Merge request reports

Loading