{"action":"opened","number":5769,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/5769","id":33742027,"html_url":"https://github.com/servo/servo/pull/5769","diff_url":"https://github.com/servo/servo/pull/5769.diff","patch_url":"https://github.com/servo/servo/pull/5769.patch","issue_url":"https://api.github.com/repos/servo/servo/issues/5769","number":5769,"state":"open","locked":false,"title":"Refactor WebGL implementation","user":{"login":"ecoal95","id":1323194,"avatar_url":"https://avatars.githubusercontent.com/u/1323194?v=3","gravatar_id":"","url":"https://api.github.com/users/ecoal95","html_url":"https://github.com/ecoal95","followers_url":"https://api.github.com/users/ecoal95/followers","following_url":"https://api.github.com/users/ecoal95/following{/other_user}","gists_url":"https://api.github.com/users/ecoal95/gists{/gist_id}","starred_url":"https://api.github.com/users/ecoal95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecoal95/subscriptions","organizations_url":"https://api.github.com/users/ecoal95/orgs","repos_url":"https://api.github.com/users/ecoal95/repos","events_url":"https://api.github.com/users/ecoal95/events{/privacy}","received_events_url":"https://api.github.com/users/ecoal95/received_events","type":"User","site_admin":false},"body":"This PR uses customized GL context creation code, right now only working under Linux, so I expect the clearcolor test to fail on other platforms.\r\n\r\nIt addresses some other problems:\r\n  * Propagates context creation error to the top, returning null if not found.\r\n  * Uses `GLContextAttributes`, which will allow us to write `WebGLContextAttributes` easily.\r\n  * Doesn't allow a 2d context and a WebGL context coexist.\r\n  * Panics when resizing the context to larger dimensions (to be fixed soon, but better than blindly allowing it).\r\n  * Removes some unused dependencies","created_at":"2015-04-21T09:12:11Z","updated_at":"2015-04-21T09:12:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/servo/servo/pulls/5769/commits","review_comments_url":"https://api.github.com/repos/servo/servo/pulls/5769/comments","review_comment_url":"https://api.github.com/repos/servo/servo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/servo/servo/issues/5769/comments","statuses_url":"https://api.github.com/repos/servo/servo/statuses/ca8799037c3e2ab35a25d5f0f83b1b9896813dda","head":{"label":"ecoal95:webgl","ref":"webgl","sha":"ca8799037c3e2ab35a25d5f0f83b1b9896813dda","user":{"login":"ecoal95","id":1323194,"avatar_url":"https://avatars.githubusercontent.com/u/1323194?v=3","gravatar_id":"","url":"https://api.github.com/users/ecoal95","html_url":"https://github.com/ecoal95","followers_url":"https://api.github.com/users/ecoal95/followers","following_url":"https://api.github.com/users/ecoal95/following{/other_user}","gists_url":"https://api.github.com/users/ecoal95/gists{/gist_id}","starred_url":"https://api.github.com/users/ecoal95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecoal95/subscriptions","organizations_url":"https://api.github.com/users/ecoal95/orgs","repos_url":"https://api.github.com/users/ecoal95/repos","events_url":"https://api.github.com/users/ecoal95/events{/privacy}","received_events_url":"https://api.github.com/users/ecoal95/received_events","type":"User","site_admin":false},"repo":{"id":33885468,"name":"servo","full_name":"ecoal95/servo","owner":{"login":"ecoal95","id":1323194,"avatar_url":"https://avatars.githubusercontent.com/u/1323194?v=3","gravatar_id":"","url":"https://api.github.com/users/ecoal95","html_url":"https://github.com/ecoal95","followers_url":"https://api.github.com/users/ecoal95/followers","following_url":"https://api.github.com/users/ecoal95/following{/other_user}","gists_url":"https://api.github.com/users/ecoal95/gists{/gist_id}","starred_url":"https://api.github.com/users/ecoal95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecoal95/subscriptions","organizations_url":"https://api.github.com/users/ecoal95/orgs","repos_url":"https://api.github.com/users/ecoal95/repos","events_url":"https://api.github.com/users/ecoal95/events{/privacy}","received_events_url":"https://api.github.com/users/ecoal95/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ecoal95/servo","description":"The Servo Browser Engine","fork":true,"url":"https://api.github.com/repos/ecoal95/servo","forks_url":"https://api.github.com/repos/ecoal95/servo/forks","keys_url":"https://api.github.com/repos/ecoal95/servo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecoal95/servo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecoal95/servo/teams","hooks_url":"https://api.github.com/repos/ecoal95/servo/hooks","issue_events_url":"https://api.github.com/repos/ecoal95/servo/issues/events{/number}","events_url":"https://api.github.com/repos/ecoal95/servo/events","assignees_url":"https://api.github.com/repos/ecoal95/servo/assignees{/user}","branches_url":"https://api.github.com/repos/ecoal95/servo/branches{/branch}","tags_url":"https://api.github.com/repos/ecoal95/servo/tags","blobs_url":"https://api.github.com/repos/ecoal95/servo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecoal95/servo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecoal95/servo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecoal95/servo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecoal95/servo/statuses/{sha}","languages_url":"https://api.github.com/repos/ecoal95/servo/languages","stargazers_url":"https://api.github.com/repos/ecoal95/servo/stargazers","contributors_url":"https://api.github.com/repos/ecoal95/servo/contributors","subscribers_url":"https://api.github.com/repos/ecoal95/servo/subscribers","subscription_url":"https://api.github.com/repos/ecoal95/servo/subscription","commits_url":"https://api.github.com/repos/ecoal95/servo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecoal95/servo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecoal95/servo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecoal95/servo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecoal95/servo/contents/{+path}","compare_url":"https://api.github.com/repos/ecoal95/servo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecoal95/servo/merges","archive_url":"https://api.github.com/repos/ecoal95/servo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecoal95/servo/downloads","issues_url":"https://api.github.com/repos/ecoal95/servo/issues{/number}","pulls_url":"https://api.github.com/repos/ecoal95/servo/pulls{/number}","milestones_url":"https://api.github.com/repos/ecoal95/servo/milestones{/number}","notifications_url":"https://api.github.com/repos/ecoal95/servo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecoal95/servo/labels{/name}","releases_url":"https://api.github.com/repos/ecoal95/servo/releases{/id}","created_at":"2015-04-13T18:17:11Z","updated_at":"2015-04-21T07:39:01Z","pushed_at":"2015-04-21T09:04:37Z","git_url":"git://github.com/ecoal95/servo.git","ssh_url":"git@github.com:ecoal95/servo.git","clone_url":"https://github.com/ecoal95/servo.git","svn_url":"https://github.com/ecoal95/servo","homepage":"","size":97766,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"servo:master","ref":"master","sha":"e4b620ea54c94e03095e4108bce94ec750416bba","user":{"login":"servo","id":2566135,"avatar_url":"https://avatars.githubusercontent.com/u/2566135?v=3","gravatar_id":"","url":"https://api.github.com/users/servo","html_url":"https://github.com/servo","followers_url":"https://api.github.com/users/servo/followers","following_url":"https://api.github.com/users/servo/following{/other_user}","gists_url":"https://api.github.com/users/servo/gists{/gist_id}","starred_url":"https://api.github.com/users/servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/servo/subscriptions","organizations_url":"https://api.github.com/users/servo/orgs","repos_url":"https://api.github.com/users/servo/repos","events_url":"https://api.github.com/users/servo/events{/privacy}","received_events_url":"https://api.github.com/users/servo/received_events","type":"Organization","site_admin":false},"repo":{"id":3390243,"name":"servo","full_name":"servo/servo","owner":{"login":"servo","id":2566135,"avatar_url":"https://avatars.githubusercontent.com/u/2566135?v=3","gravatar_id":"","url":"https://api.github.com/users/servo","html_url":"https://github.com/servo","followers_url":"https://api.github.com/users/servo/followers","following_url":"https://api.github.com/users/servo/following{/other_user}","gists_url":"https://api.github.com/users/servo/gists{/gist_id}","starred_url":"https://api.github.com/users/servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/servo/subscriptions","organizations_url":"https://api.github.com/users/servo/orgs","repos_url":"https://api.github.com/users/servo/repos","events_url":"https://api.github.com/users/servo/events{/privacy}","received_events_url":"https://api.github.com/users/servo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/servo/servo","description":"The Servo Browser Engine","fork":false,"url":"https://api.github.com/repos/servo/servo","forks_url":"https://api.github.com/repos/servo/servo/forks","keys_url":"https://api.github.com/repos/servo/servo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/servo/servo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/servo/servo/teams","hooks_url":"https://api.github.com/repos/servo/servo/hooks","issue_events_url":"https://api.github.com/repos/servo/servo/issues/events{/number}","events_url":"https://api.github.com/repos/servo/servo/events","assignees_url":"https://api.github.com/repos/servo/servo/assignees{/user}","branches_url":"https://api.github.com/repos/servo/servo/branches{/branch}","tags_url":"https://api.github.com/repos/servo/servo/tags","blobs_url":"https://api.github.com/repos/servo/servo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/servo/servo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/servo/servo/git/refs{/sha}","trees_url":"https://api.github.com/repos/servo/servo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/servo/servo/statuses/{sha}","languages_url":"https://api.github.com/repos/servo/servo/languages","stargazers_url":"https://api.github.com/repos/servo/servo/stargazers","contributors_url":"https://api.github.com/repos/servo/servo/contributors","subscribers_url":"https://api.github.com/repos/servo/servo/subscribers","subscription_url":"https://api.github.com/repos/servo/servo/subscription","commits_url":"https://api.github.com/repos/servo/servo/commits{/sha}","git_commits_url":"https://api.github.com/repos/servo/servo/git/commits{/sha}","comments_url":"https://api.github.com/repos/servo/servo/comments{/number}","issue_comment_url":"https://api.github.com/repos/servo/servo/issues/comments{/number}","contents_url":"https://api.github.com/repos/servo/servo/contents/{+path}","compare_url":"https://api.github.com/repos/servo/servo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/servo/servo/merges","archive_url":"https://api.github.com/repos/servo/servo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/servo/servo/downloads","issues_url":"https://api.github.com/repos/servo/servo/issues{/number}","pulls_url":"https://api.github.com/repos/servo/servo/pulls{/number}","milestones_url":"https://api.github.com/repos/servo/servo/milestones{/number}","notifications_url":"https://api.github.com/repos/servo/servo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/servo/servo/labels{/name}","releases_url":"https://api.github.com/repos/servo/servo/releases{/id}","created_at":"2012-02-08T19:07:25Z","updated_at":"2015-04-21T06:35:14Z","pushed_at":"2015-04-21T08:34:59Z","git_url":"git://github.com/servo/servo.git","ssh_url":"git@github.com:servo/servo.git","clone_url":"https://github.com/servo/servo.git","svn_url":"https://github.com/servo/servo","homepage":"","size":1863466,"stargazers_count":3687,"watchers_count":3687,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":601,"mirror_url":null,"open_issues_count":837,"forks":601,"open_issues":837,"watchers":3687,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/servo/servo/pulls/5769"},"html":{"href":"https://github.com/servo/servo/pull/5769"},"issue":{"href":"https://api.github.com/repos/servo/servo/issues/5769"},"comments":{"href":"https://api.github.com/repos/servo/servo/issues/5769/comments"},"review_comments":{"href":"https://api.github.com/repos/servo/servo/pulls/5769/comments"},"review_comment":{"href":"https://api.github.com/repos/servo/servo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/servo/servo/pulls/5769/commits"},"statuses":{"href":"https://api.github.com/repos/servo/servo/statuses/ca8799037c3e2ab35a25d5f0f83b1b9896813dda"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":24,"additions":124,"deletions":168,"changed_files":10}}