This change is the first requirement for cleaning up knobs initialization:
BigWheels has settings, which are used to initialize default
values, which in turn are used to initialize knobs. But then those
settings becomes RW values used at runtime (like window.width,
window.height).
The ultimate goal is to sanitize this whole initialization step, and
only rely on knobs.
This first commit removes window.width and window.height from the settings, and rely on the Window class to store its size. This should be a NFC.
Tested on linux, android and Windows. The swapchain is only resized once on window size change (checked on windows, setting the window to fullscreen etc)
This change is the first requirement for cleaning up knobs initialization: BigWheels has settings, which are used to initialize default values, which in turn are used to initialize knobs. But then those settings becomes RW values used at runtime (like window.width, window.height).
The ultimate goal is to sanitize this whole initialization step, and only rely on knobs.
This first commit removes
window.width
andwindow.height
from the settings, and rely on theWindow
class to store its size. This should be a NFC.Tested on linux, android and Windows. The swapchain is only resized once on window size change (checked on windows, setting the window to fullscreen etc)