This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
[ios] Ensure glFinish is called when going into the background, and block rendering in the background - #14439
Merged
Merged
Conversation
julianrex
marked this pull request as ready for review
April 16, 2019 18:03
fabian-guerra
approved these changes
Apr 16, 2019
| [self sleepGL:notification]; | ||
| } | ||
|
|
||
| - (void)willEnterForeground:(NSNotification *)notification |
Contributor
There was a problem hiding this comment.
As we discussed this will make a come back in a future PR #14222
julianrex
added a commit
that referenced
this pull request
Apr 17, 2019
…round, and block rendering in the background
julianrex
added a commit
that referenced
this pull request
Apr 17, 2019
…round, and block rendering in the background (#14451)
2 of 4 tasks
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR partly addresses https://github.com/mapbox/mapbox-gl-native/issues/13821.
This PR should be considered a stepping-stone towards a larger PR: #14222 (that is still on-going).
displaybeing called in background)_rendererFrontendupdateFromDisplayLink:) if in the background (and background rendering not supported).This PR does not fix the bug where
updateFromDisplayLinkcan be called in the background (that's in scope of #14222).In addition,
updateFromDisplayLinkis currently called from inactive states (e.g. between resigning and entering the background) - this is something we may want to stop doing./cc @zugaldia @chloekraw