Bug 47024

Summary: Update Angle interface from 100 to 101 for chromium --in-process-webgl
Product: WebKit Reporter: Zhenyao Mo <zmo>
Component: WebGLAssignee: Alok Priyadarshi <alokp>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, enne, kbr, senorblanco, webkit.review.bot, zmo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
proposed patch
none
proposed patch
kbr: review-
proposed patch none

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. ***