summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Use pixel scale as window resize incrementBen Bridle2023-12-19
| | | | | | | | When resizing a window, the window width and height will be made to be a multiple of the current pixel scale. This is to prevent thin black strips from rendering along the bottom edge and the right edge of the window when the dimensions of the window exceed the dimensions of the scaled screen content.
* Specify frame limit as FPS instead of as frame timeBen Bridle2023-12-19
|
* Remove winit feature restrictionBen Bridle2023-12-19
|
* Remove test programBen Bridle2023-11-05
|
* Implement window scalingBen Bridle2023-11-05
| | | | | | A window now can declare a scale factor to be used when rendering logical pixels to a physical window. Each logical pixel will be drawn as an NxN block of physical pixels, where N is the scale factor.
* Rewrite phosphorBen Bridle2023-10-11
| | | | | | | | | | | | This has been a long-awaited task, the code has been accumulating small changes for a while now. This commit consolidates all these changes in order to make the code more readable and maintainable for the future. Notable changes: - Remove the concept of a ProgramController - Remove all of the dead OpenGL stub code - Update winit to version 28.1, from 27.4 - Use softbuffer for writing pixels to the native display server
* First commit, before upgrading winit to version 28.1Ben Bridle2023-10-10