Skip to content

Enable setting resolution-scale for bitmaps - #275

Merged
almarklein merged 2 commits into
mainfrom
resolution-scale
Dec 1, 2026
Merged

almarklein merged 2 commits into
mainfrom
resolution-scale

Conversation

@almarklein

Copy link
Copy Markdown
Member

Games often have this setting where you can make it render at a lower resolution, getting better performance at the cost of a blurry image.

This PR implements this for rendercanvas, inside the SizeInfo class, fitting really nice with the (upcoming) zoom factor.

The main use-case would be to set the scale to 1.0 on remote backends and a hidpi display, to reduce the IO by a factor 4.

@almarklein
almarklein merged commit 5ea42e4 into main Dec 1, 2026
29 checks passed
@almarklein
almarklein deleted the resolution-scale branch December 1, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants