{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10990","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10990/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10990/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10990/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/10990","id":290581862,"node_id":"MDU6SXNzdWUyOTA1ODE4NjI=","number":10990,"title":"Only show render surface when we are ready to render","user":{"login":"tobrun","id":2151639,"node_id":"MDQ6VXNlcjIxNTE2Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/2151639?v=4","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"labels":[{"id":143173729,"node_id":"MDU6TGFiZWwxNDMxNzM3Mjk=","url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-22T19:13:47Z","updated_at":"2018-07-12T15:44:31Z","closed_at":null,"author_association":"MEMBER","body":"Each time we load a new MapView you will see a black surface before we render any map content. \r\n\r\n#### Now\r\n![ezgif com-video-to-gif 16](https://user-images.githubusercontent.com/2151639/34072588-37457c88-e28a-11e7-90c3-e7e7de8ffdcf.gif)\r\n\r\nOptimisations to look into:\r\n  - Only start showing surface when to render (map change event)\r\n    - similar to https://github.com/mapbox/mapbox-gl-native/pull/10717\r\n  - Rely on a transparent background (#10719), determine perf. impact\r\n  - ...\r\n\r\n#### Ideal result\r\n![ezgif com-video-to-gif 17](https://user-images.githubusercontent.com/2151639/34072591-3c014950-e28a-11e7-8541-af2a7589deca.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/404557760","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/10990#issuecomment-404557760","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10990","id":404557760,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDU1Nzc2MA==","user":{"login":"tobrun","id":2151639,"node_id":"MDQ6VXNlcjIxNTE2Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/2151639?v=4","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T15:44:31Z","updated_at":"2018-07-12T15:44:31Z","author_association":"MEMBER","body":"Capturing from a user that `View#setForeground` works well to achieve the desired effect from OP"}}
{"actor":{"display_login":"tobrun"}}