-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add Hi DPI Support for GLFW #20584
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
Merged
Merged
Add Hi DPI Support for GLFW #20584
Changes from 8 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
811ef54
proof of concept for Hi DPI
ypujante 7c457a4
fixed fullscreen mode
ypujante 6c0e378
removed log statements
ypujante cbeb0e1
Make sure it works for "default" shell
ypujante ba13c6f
fixes fullscreen mode (user triggered)
ypujante 9f7a2a2
[PR Review]: Fixes code style
ypujante 454cd0f
[PR Review]: Reverting changes (separate issue)
ypujante 15f1ff1
[PR Review]: getting rid of initialization
ypujante e38a34c
[PR Review]: fix bad api call
ypujante b291873
Merge branch 'hi-dpi-aware'
ypujante 51f3288
Merge branch 'emscripten-core:main' into hi-dpi-aware
ypujante 08a5b69
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante f4320c3
added comprehensive test
ypujante 875f440
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante 91aa2ad
fixes error in CI
ypujante 80b982b
changes from code review
ypujante 7d4fdcd
Merge branch 'emscripten-core:main' into hi-dpi-aware
ypujante c30e05e
reverting automatic merge issue :(
ypujante f73c502
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante 6ff6773
simplified code further
ypujante 11d5832
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante 241e027
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante f3de65e
Moved API to GLFW
ypujante a999fd0
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante 7cc2f59
reverted all changes to library_browser.js
ypujante a81f9a0
Implemented hi dpi aware in GLFW only
ypujante 80be65a
install/remove single listener (devicePixelRatio)
ypujante 86aff8e
removed SDL reference
ypujante 73f6b2f
renamed Browser->GLFW
ypujante 4ae7e31
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante 95a6918
apply changes to Browser.calculateMouseEvent
ypujante 7a7e2ab
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante 2365d0e
removed duplicated code due to merge :(
ypujante 1f4f37f
renamed exported function
ypujante 767676a
use GLFW_SCALE_TO_MONITOR dynamically
ypujante 9d29c8d
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante eb2dbf9
removed unecessary options
ypujante 66c6e2a
fixed missing ;
ypujante 4187761
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante 822f55d
renamed attribute
ypujante 8a58de4
added descriptive comment
ypujante be0979e
fixed failing test (due to variable rename)
ypujante 1b87dd7
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante a3fb66d
Merge remote-tracking branch 'origin/main' into hi-dpi-aware
ypujante File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.