{"action":"closed","issue":{"url":"https://api.github.com/repos/domokit/mojo/issues/342","labels_url":"https://api.github.com/repos/domokit/mojo/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/domokit/mojo/issues/342/comments","events_url":"https://api.github.com/repos/domokit/mojo/issues/342/events","html_url":"https://github.com/domokit/mojo/issues/342","id":97799553,"number":342,"title":"GaneshContext::Scope relies on gles2::GetContext(), which doesn't have a binary-stable equivalent","user":{"login":"viettrungluu-cr","id":7061740,"avatar_url":"https://avatars.githubusercontent.com/u/7061740?v=3","gravatar_id":"","url":"https://api.github.com/users/viettrungluu-cr","html_url":"https://github.com/viettrungluu-cr","followers_url":"https://api.github.com/users/viettrungluu-cr/followers","following_url":"https://api.github.com/users/viettrungluu-cr/following{/other_user}","gists_url":"https://api.github.com/users/viettrungluu-cr/gists{/gist_id}","starred_url":"https://api.github.com/users/viettrungluu-cr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viettrungluu-cr/subscriptions","organizations_url":"https://api.github.com/users/viettrungluu-cr/orgs","repos_url":"https://api.github.com/users/viettrungluu-cr/repos","events_url":"https://api.github.com/users/viettrungluu-cr/events{/privacy}","received_events_url":"https://api.github.com/users/viettrungluu-cr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-28T20:51:25Z","updated_at":"2015-12-17T17:45:39Z","closed_at":"2015-12-17T17:45:39Z","body":"I.e., there's no `MojoGLES2GetCurrent()` in //mojo/public/c/gles2/gles2.h.\r\n\r\nPossible fixes:\r\n* Add such a function (and make `GaneshContext::Scope` use that).\r\n* Make `GaneshContext::Scope` not restore the GL scope (which may mean just deleting the class entirely.\r\n* Make `GaneshContext::Scope` only play well with other `GaneshContext::Scope`s. (I.e., each thread would have a notion of a current `GaneshContext`, and `Scope` would set/restore that, but not the general GL context.)\r\n\r\n/cc @jamesr"}}