{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2109","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2109/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2109/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2109/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/2109","id":101581712,"number":2109,"title":"Test support for Android M 4k screens","user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/feature","name":"feature","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/19","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/android-v2.2.0","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/19/labels","id":1335389,"number":19,"title":"android-v2.2.0","description":"","creator":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"open_issues":59,"closed_issues":4,"state":"open","created_at":"2015-10-02T18:35:09Z","updated_at":"2015-10-13T06:09:23Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-18T06:29:15Z","updated_at":"2015-10-13T06:32:03Z","closed_at":null,"body":"From:\r\n> 4K Display Mode\r\n> The platform now allows apps to request that the display resolution be upgraded to 4K rendering on compatible hardware. To query the current physical resolution, use the new Display.Mode APIs. If the UI is drawn at a lower logical resolution and is upscaled to a larger physical resolution, be aware that the physical resolution the getPhysicalWidth() method returns may differ from the logical resolution reported by getSize().\r\n\r\n> You can request the system to change the physical resolution in your app as it runs, by setting the preferredDisplayModeId property of your app’s window. This feature is useful if you want to switch to 4K display resolution. While in 4K display mode, the UI continues to be rendered at the original resolution (such as 1080p) and is upscaled to 4K, but SurfaceView objects may show content at the native resolution.\r\n\r\nWe need to check what happens in an app that requests 4k support. I suspect we will need to ensure our GL framebuffer is the correct size and that we calculate the DPI correctly."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/147618949","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/2109#issuecomment-147618949","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2109","id":147618949,"user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T06:32:03Z","updated_at":"2015-10-13T06:32:03Z","body":"Leaving a note here that the new Sony Z5 comes with a builtin 4k screen and appears to use same 1080p -> 4k upscaling mode unless the app opts in to native 4k `SurfaceView`."}}