{"action":"created","issue":{"url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/6","repository_url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native","labels_url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/6/comments","events_url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/6/events","html_url":"https://github.com/ProjectSeptemberInc/gl-react-native/issues/6","id":104921507,"number":6,"title":"iOS: optimize the Texture screenshot / rasterization code","user":{"login":"gre","id":211411,"avatar_url":"https://avatars.githubusercontent.com/u/211411?v=3","gravatar_id":"","url":"https://api.github.com/users/gre","html_url":"https://github.com/gre","followers_url":"https://api.github.com/users/gre/followers","following_url":"https://api.github.com/users/gre/following{/other_user}","gists_url":"https://api.github.com/users/gre/gists{/gist_id}","starred_url":"https://api.github.com/users/gre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gre/subscriptions","organizations_url":"https://api.github.com/users/gre/orgs","repos_url":"https://api.github.com/users/gre/repos","events_url":"https://api.github.com/users/gre/events{/privacy}","received_events_url":"https://api.github.com/users/gre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/labels/perf","name":"perf","color":"fbca04"},{"url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/labels/priority:medium","name":"priority:medium","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-04T16:15:29Z","updated_at":"2016-02-17T13:14:26Z","closed_at":"2016-02-17T13:14:26Z","body":"https://developer.apple.com/library/ios/documentation/GLkit/Reference/GLKTextureLoader_ClassRef/index.html#//apple_ref/doc/uid/TP40010922-CH1-SW21\r\n\r\nI'm wondering if this allows to use UIImage without doing any memory allocation and saving CPU<>GPU roundtrip.\r\n\r\nalso maybe with [this approach](http://stackoverflow.com/a/4334902/343892) we could also more efficiently screenshot an UIView."},"comment":{"url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/comments/185198798","html_url":"https://github.com/ProjectSeptemberInc/gl-react-native/issues/6#issuecomment-185198798","issue_url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/6","id":185198798,"user":{"login":"gre","id":211411,"avatar_url":"https://avatars.githubusercontent.com/u/211411?v=3","gravatar_id":"","url":"https://api.github.com/users/gre","html_url":"https://github.com/gre","followers_url":"https://api.github.com/users/gre/followers","following_url":"https://api.github.com/users/gre/following{/other_user}","gists_url":"https://api.github.com/users/gre/gists{/gist_id}","starred_url":"https://api.github.com/users/gre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gre/subscriptions","organizations_url":"https://api.github.com/users/gre/orgs","repos_url":"https://api.github.com/users/gre/repos","events_url":"https://api.github.com/users/gre/events{/privacy}","received_events_url":"https://api.github.com/users/gre/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T13:14:26Z","updated_at":"2016-02-17T13:14:26Z","body":"we can close this because it's pretty fast for basic view content. for video & camera, see the other dedicated issues"}}