WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
113079
Enable canvas.getContext("webgl") on Desktop Chrome
https://bugs.webkit.org/show_bug.cgi?id=113079
Summary
Enable canvas.getContext("webgl") on Desktop Chrome
Brandon Jones
Reported
2013-03-22 10:12:40 PDT
Chrome now passes the WebGL 1.0.1 conformance tests on desktops (not Android yet). As such it's eligible to start using the "webgl" context ID. Support for the "experimental-webgl" context ID should not be removed at this time to preserve compatibility with existing WebGL applications.
Attachments
Patch
(2.96 KB, patch)
2013-03-22 10:36 PDT
,
Brandon Jones
no flags
Details
Formatted Diff
Diff
Patch
(5.17 KB, patch)
2013-03-22 15:25 PDT
,
Brandon Jones
no flags
Details
Formatted Diff
Diff
Patch
(5.16 KB, patch)
2013-03-22 16:03 PDT
,
Brandon Jones
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from gce-cq-03
(813.46 KB, application/zip)
2013-03-22 20:04 PDT
,
WebKit Review Bot
no flags
Details
Patch
(5.14 KB, patch)
2013-03-25 11:37 PDT
,
Brandon Jones
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Brandon Jones
Comment 1
2013-03-22 10:36:50 PDT
Created
attachment 194588
[details]
Patch
Dean Jackson
Comment 2
2013-03-22 12:57:26 PDT
It will probably be many many years before we can remove experimental-webgl. Also, since the other ports don't yet pass the testsuite, they should probably still only accept the experimental form.
Dean Jackson
Comment 3
2013-03-22 12:58:48 PDT
Comment on
attachment 194588
[details]
Patch This patch looks perfect! But, it should have a test case :) Shame it needs to be skipped everywhere other than chromium :(
Dean Jackson
Comment 4
2013-03-22 13:00:29 PDT
Comment on
attachment 194588
[details]
Patch Even better, check in FAIL for the default results, and a PASS result for platform/chromium
Brandon Jones
Comment 5
2013-03-22 15:25:17 PDT
Created
attachment 194642
[details]
Patch
Kenneth Russell
Comment 6
2013-03-22 15:36:34 PDT
Looks good to me. Dean can do the r+ honors.
Dean Jackson
Comment 7
2013-03-22 15:51:56 PDT
Comment on
attachment 194642
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=194642&action=review
Ha! I'm pretty sure what's good enough for Ken is good enough for me.
> LayoutTests/fast/canvas/webgl/wegl-unprefixed-context-id.html:17 > +if (!gl) { > + testFailed("context does not exist"); > +} else { > + testPassed("context exists"); > +}
Single line conditional {} style warning.
Brandon Jones
Comment 8
2013-03-22 16:03:15 PDT
Created
attachment 194650
[details]
Patch
WebKit Review Bot
Comment 9
2013-03-22 20:04:52 PDT
Comment on
attachment 194650
[details]
Patch Rejecting
attachment 194650
[details]
from commit-queue. New failing tests: platform/chromium/virtual/gpu/fast/canvas/webgl/wegl-unprefixed-context-id.html fast/canvas/webgl/wegl-unprefixed-context-id.html Full output:
http://webkit-commit-queue.appspot.com/results/17132774
WebKit Review Bot
Comment 10
2013-03-22 20:04:58 PDT
Created
attachment 194682
[details]
Archive of layout-test-results from gce-cq-03 The attached test failures were seen while running run-webkit-tests on the commit-queue. Bot: gce-cq-03 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-3.3.8-gcg-201212281604-x86_64-with-GCEL-10.04-gcel_10.04
Brandon Jones
Comment 11
2013-03-25 11:37:14 PDT
Created
attachment 194894
[details]
Patch
Kenneth Russell
Comment 12
2013-03-25 11:56:46 PDT
Comment on
attachment 194894
[details]
Patch To be clear: the difference compared to the previous patch is the fixing of a typo in the name of the test.
WebKit Review Bot
Comment 13
2013-03-25 12:08:27 PDT
Comment on
attachment 194894
[details]
Patch Clearing flags on attachment: 194894 Committed
r146795
: <
http://trac.webkit.org/changeset/146795
>
WebKit Review Bot
Comment 14
2013-03-25 12:08:32 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug