-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Migrate OSX to GLFW3+ #8348
Merged
Merged
Migrate OSX to GLFW3+ #8348
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
10741d3
Initial refactoring
Jhonnyg 0965894
Update graphics tests
Jhonnyg ab0fe9f
Graphics test modifications
Jhonnyg 9c3991b
Make graphics test render with opengl
Jhonnyg 4817752
Move all glfw calls from hid
Jhonnyg e0790d7
Window resizing
Jhonnyg 200fc4b
Vulkan support
Jhonnyg 9d4e27a
More migration work
Jhonnyg fb6b30c
build fixes
Jhonnyg 1c86c0d
Create aux context
Jhonnyg 7f17d12
Android and ios build fixes
Jhonnyg a24893e
Fix vulkan linkage
Jhonnyg 785947c
Web fixes
Jhonnyg 3145f6b
Misc fixes
Jhonnyg c2cf261
Merge branch 'dev' into glfw3-support-for-osx
Jhonnyg 239b260
Fixes
Jhonnyg 9f2a054
Merge branch 'dev' into glfw3-support-for-osx
Jhonnyg 2387eb0
Merge branch 'dev' into glfw3-support-for-osx
Jhonnyg bf97091
Merge branch 'dev' into glfw3-support-for-osx
Jhonnyg 3c59edf
Vulkan fixes
Jhonnyg 5b954a6
Fix building with setmarkedcallback
Jhonnyg 619b6c8
Pre-review fixes
Jhonnyg 7fc06e1
Remove vulkan-specific library from osx package
Jhonnyg b9c8d6b
Revert "Remove vulkan-specific library from osx package"
Jhonnyg 331b99a
build.yaml fixes
Jhonnyg e9879f9
Manifest test
Jhonnyg 9eb99da
Editor test fix
Jhonnyg cc3d301
Maybe this will work
Jhonnyg ab62ba9
Merge branch 'dev' into glfw3-support-for-osx
Jhonnyg 0070124
Use 3.3.9
Jhonnyg b4e6dd5
Remove warning of swapinterval on vulkan
Jhonnyg 2ae024f
Test with bundle activate/deactive code
Jhonnyg 3292cd5
D'oh
Jhonnyg 12aedaa
Update patch
Jhonnyg f8bdf45
Let's debug this2
Jhonnyg c534eb5
Merge branch 'dev' into glfw3-support-for-osx
Jhonnyg 9d744f5
Merge branch 'dev' into glfw3-support-for-osx
Jhonnyg c3af962
Test fix
Jhonnyg 49b8a02
Maybe now
Jhonnyg cec20f7
Test without focus patch
Jhonnyg 894e46b
glfw3 + vulkan fixes
Jhonnyg 63a1630
Please mr runner run this
Jhonnyg 55e72d9
F it, build without test app for now..
Jhonnyg 6df6236
One more try with different packages
Jhonnyg 9fa91a1
Need to trigger a build..
Jhonnyg f829ecd
Goddamnit, one more time..
Jhonnyg 3a42f74
Stash
Jhonnyg 420e4a5
add launch log in the editor
AGulev e3202ea
add error log
AGulev ea4a3fa
Merge branch 'dev' into glfw3-support-for-osx
AGulev 57c2dca
show error num
AGulev 0963d31
add run parameters into log
AGulev 7263ac8
Revert "add run parameters into log"
AGulev 8e98472
Revert "add launch log in the editor"
AGulev ceb0412
use GLFW_COCOA_CHDIR_RESOURCES to prevent issues with building from t…
AGulev 78dea47
Merge branch 'glfw3-support-for-osx' of github.com:defold/defold into…
Jhonnyg b712693
Merge branch 'dev' into glfw3-support-for-osx
Jhonnyg fe80378
Vulkan fixes
Jhonnyg ef09784
pre-review fixes
Jhonnyg 7833374
Manifest updates
Jhonnyg 6525e88
Remove wrong test content
Jhonnyg 075fe0b
Upgrade to glfw 3.4
Jhonnyg 9e01d79
Remove old glfw3 patch
Jhonnyg 1739cc9
Manifest dummy fix
Jhonnyg 8e00b19
Check support for first adapter in chain
Jhonnyg 33cc206
Fix mouse input
Jhonnyg d1eeb46
Add patch for 3.4 again
Jhonnyg d8772f4
Add polling in null input library
Jhonnyg 034d2e8
Merge branch 'dev' into glfw3-support-for-osx
Jhonnyg 75e8fb4
pre review fixes
Jhonnyg c5237c2
Calculate display scale
Jhonnyg a340fa0
Review fix
Jhonnyg a05a79e
Use full bit mask for keyboard again
Jhonnyg File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,8 @@ namespace dmGraphics | |
|
||
while(next) | ||
{ | ||
if (next->m_Priority < selected->m_Priority && next->m_IsSupportedCb()) | ||
bool is_supported = next->m_IsSupportedCb(); | ||
if (next->m_Priority < selected->m_Priority && is_supported) | ||
{ | ||
Comment on lines
+75
to
77
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we only link with one adapter we never actually do this check.. |
||
selected = next; | ||
} | ||
|
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate