Bug 47024 - Update Angle interface from 100 to 101 for chromium --in-process-webgl
Summary: Update Angle interface from 100 to 101 for chromium --in-process-webgl
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alok Priyadarshi
URL:
Keywords:
: 47116 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-01 15:48 PDT by Zhenyao Mo
Modified: 2010-10-06 08:48 PDT (History)
6 users (show)

See Also:


Attachments
proposed patch (3.99 KB, patch)
2010-10-04 15:32 PDT, Alok Priyadarshi
no flags Details | Formatted Diff | Diff
proposed patch (3.98 KB, patch)
2010-10-04 15:58 PDT, Alok Priyadarshi
kbr: review-
Details | Formatted Diff | Diff
proposed patch (4.01 KB, patch)
2010-10-05 10:23 PDT, Alok Priyadarshi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zhenyao Mo 2010-10-01 15:48:35 PDT
Need to have support for Angle 100 and 101 at the same time until Chromium DEPS roll angle to 101.

The code that's been affected is in ${WebKitRoot}/WebKit/chromium/src/WebGraphicsContext3DDefaultImpl.cpp

functions

angleCreateCompilers
angleValidateShaderSource()
Comment 1 Alok Priyadarshi 2010-10-04 15:32:36 PDT
Created attachment 69701 [details]
proposed patch
Comment 2 WebKit Review Bot 2010-10-04 15:33:42 PDT
Attachment 69701 [details] did not pass style-queue:

Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1
WebKit/chromium/src/WebGraphicsContext3DDefaultImpl.cpp:1423:  One space before end of line comments  [whitespace/comments] [5]
WebKit/chromium/src/WebGraphicsContext3DDefaultImpl.cpp:1446:  One space before end of line comments  [whitespace/comments] [5]
WebKit/chromium/src/WebGraphicsContext3DDefaultImpl.cpp:1490:  One space before end of line comments  [whitespace/comments] [5]
Total errors found: 3 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Alok Priyadarshi 2010-10-04 15:58:31 PDT
Created attachment 69708 [details]
proposed patch

Fixed style issues.
Comment 4 Kenneth Russell 2010-10-04 16:15:33 PDT
Comment on attachment 69708 [details]
proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=69708&action=review

This generally looks good. One minor formatting comment; please fix and submit a new patch. Also, please file a bug about updating the version of ANGLE checked in to WebKit. It would be really helpful if you could update that version as well so that Safari and Chromium stay in sync.

> WebKit/chromium/src/WebGraphicsContext3DDefaultImpl.cpp:1426
> +                &resources.MaxVertexUniformVectors);

There's no 80-column limit in the WebKit coding style. I think these looked cleaner as one-line expressions. Please re-format them.
Comment 5 Alok Priyadarshi 2010-10-05 10:23:17 PDT
Created attachment 69805 [details]
proposed patch

Fixed formatting as suggested.
Comment 6 Kenneth Russell 2010-10-05 11:25:23 PDT
Comment on attachment 69805 [details]
proposed patch

Looks good to me.
Comment 7 WebKit Commit Bot 2010-10-05 13:17:36 PDT
Comment on attachment 69805 [details]
proposed patch

Clearing flags on attachment: 69805

Committed r69139: <http://trac.webkit.org/changeset/69139>
Comment 8 WebKit Commit Bot 2010-10-05 13:17:42 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Stephen White 2010-10-06 08:48:47 PDT
*** Bug 47116 has been marked as a duplicate of this bug. ***