{"action":"created","issue":{"url":"https://api.github.com/repos/servo/gleam/issues/106","repository_url":"https://api.github.com/repos/servo/gleam","labels_url":"https://api.github.com/repos/servo/gleam/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/servo/gleam/issues/106/comments","events_url":"https://api.github.com/repos/servo/gleam/issues/106/events","html_url":"https://github.com/servo/gleam/pull/106","id":203759440,"number":106,"title":"Run-time selection between GL and GLES","user":{"login":"sotaroikeda","id":1804978,"avatar_url":"https://avatars.githubusercontent.com/u/1804978?v=3","gravatar_id":"","url":"https://api.github.com/users/sotaroikeda","html_url":"https://github.com/sotaroikeda","followers_url":"https://api.github.com/users/sotaroikeda/followers","following_url":"https://api.github.com/users/sotaroikeda/following{/other_user}","gists_url":"https://api.github.com/users/sotaroikeda/gists{/gist_id}","starred_url":"https://api.github.com/users/sotaroikeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sotaroikeda/subscriptions","organizations_url":"https://api.github.com/users/sotaroikeda/orgs","repos_url":"https://api.github.com/users/sotaroikeda/repos","events_url":"https://api.github.com/users/sotaroikeda/events{/privacy}","received_events_url":"https://api.github.com/users/sotaroikeda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-27T22:46:28Z","updated_at":"2017-02-01T03:08:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/gleam/pulls/106","html_url":"https://github.com/servo/gleam/pull/106","diff_url":"https://github.com/servo/gleam/pull/106.diff","patch_url":"https://github.com/servo/gleam/pull/106.patch"},"body":"This pull request is created to start discussion of \"Run-time selection between GL and GLES\" It is an advice of @kvark.\r\n\r\nThe change is very rough implementation just to show the run-time selection. It keeps current static gl:: functions. Ideally, we should not use the static functions when run-time selection is used. As a final state, the static functions should be repaced by gl struct object. But the static functions are used in a lot of places, and the function cannot be replaced at once. We need to think about how to replace them.\r\n\r\nI assumed the following replacing order. But other guys could have different ideas.\r\n[1]  Add \"run-time gl type selection\" as feature of gleam.\r\n        It keeps current static apis.\r\n[2]  Enable \"run-time gl type selection\" on webrender.\r\n[3]  Change offscreen_gl_context as to use gl struct object instread of gl static functions.\r\n[4]  Change webrender as to use gl struct object instread of gl static functions. \r\n\r\nAnother ordering could be possible. Can I have comments about it?\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/servo/gleam/106)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/gleam/issues/comments/276561363","html_url":"https://github.com/servo/gleam/pull/106#issuecomment-276561363","issue_url":"https://api.github.com/repos/servo/gleam/issues/106","id":276561363,"user":{"login":"sotaroikeda","id":1804978,"avatar_url":"https://avatars.githubusercontent.com/u/1804978?v=3","gravatar_id":"","url":"https://api.github.com/users/sotaroikeda","html_url":"https://github.com/sotaroikeda","followers_url":"https://api.github.com/users/sotaroikeda/followers","following_url":"https://api.github.com/users/sotaroikeda/following{/other_user}","gists_url":"https://api.github.com/users/sotaroikeda/gists{/gist_id}","starred_url":"https://api.github.com/users/sotaroikeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sotaroikeda/subscriptions","organizations_url":"https://api.github.com/users/sotaroikeda/orgs","repos_url":"https://api.github.com/users/sotaroikeda/repos","events_url":"https://api.github.com/users/sotaroikeda/events{/privacy}","received_events_url":"https://api.github.com/users/sotaroikeda/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T03:08:27Z","updated_at":"2017-02-01T03:08:27Z","body":"> I prefer 3rd. But transition from 2nd->3rd seems easier to transition. It adds temporal overhead though.\r\n\r\nSorry, I changed my mind. just 3rd seems simpler."}}
{"actor":{"display_login":"sotaroikeda"}}