{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/2896","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/2896/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/2896/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/2896/events","html_url":"https://github.com/mpv-player/mpv/pull/2896","id":137968801,"number":2896,"title":"vo_opengl: cache locations of the uniform variables","user":{"login":"igv","id":16772957,"avatar_url":"https://avatars.githubusercontent.com/u/16772957?v=3","gravatar_id":"","url":"https://api.github.com/users/igv","html_url":"https://github.com/igv","followers_url":"https://api.github.com/users/igv/followers","following_url":"https://api.github.com/users/igv/following{/other_user}","gists_url":"https://api.github.com/users/igv/gists{/gist_id}","starred_url":"https://api.github.com/users/igv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igv/subscriptions","organizations_url":"https://api.github.com/users/igv/orgs","repos_url":"https://api.github.com/users/igv/repos","events_url":"https://api.github.com/users/igv/events{/privacy}","received_events_url":"https://api.github.com/users/igv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-03-02T19:31:07Z","updated_at":"2016-03-06T18:28:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mpv-player/mpv/pulls/2896","html_url":"https://github.com/mpv-player/mpv/pull/2896","diff_url":"https://github.com/mpv-player/mpv/pull/2896.diff","patch_url":"https://github.com/mpv-player/mpv/pull/2896.patch"},"body":"Calling glGetUniformLocation every frame (and also for every shader) is a bad practice and also is pretty slow.\r\n[Before and after this patch](http://screenshotcomparison.com/comparison/164109) "},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/192954796","html_url":"https://github.com/mpv-player/mpv/pull/2896#issuecomment-192954796","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/2896","id":192954796,"user":{"login":"igv","id":16772957,"avatar_url":"https://avatars.githubusercontent.com/u/16772957?v=3","gravatar_id":"","url":"https://api.github.com/users/igv","html_url":"https://github.com/igv","followers_url":"https://api.github.com/users/igv/followers","following_url":"https://api.github.com/users/igv/following{/other_user}","gists_url":"https://api.github.com/users/igv/gists{/gist_id}","starred_url":"https://api.github.com/users/igv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igv/subscriptions","organizations_url":"https://api.github.com/users/igv/orgs","repos_url":"https://api.github.com/users/igv/repos","events_url":"https://api.github.com/users/igv/events{/privacy}","received_events_url":"https://api.github.com/users/igv/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T18:28:07Z","updated_at":"2016-03-06T18:28:07Z","body":"Just noticed p->frames_uploaded is broken, it's always 0."}}