-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow querying configured size #237
Comments
We should intrinsically take #177 into account when tackling this issue. On most platforms it appears window size (appearance on screen) != surface size (physical dimensions of a pixel buffer) is natively supported (by relying on scaling hardware via the compositor) and should be exposed to the user one way or the other. |
On Android we "have to" call
And if I set the So realistically (for #237) we should have the actual size available on the |
So it looks like we have 3 situations:
|
Yeah, that sounds right to me. Question now is, do we want to support all of them? Would we be fine with not having hardware scaling, and just always have the buffer be the size of the surface? So e.g. remove |
@madsmtm removing And also, if possible on all platforms, redirect the user to their windowing system docs to resize the window if necessary. |
Surface::height
/Surface::width
would be nice to have, instead of having to query them from the window.The text was updated successfully, but these errors were encountered: