Bug 119272

Summary: Broken build with build-webkit --no-webgl
Product: WebKit Reporter: Antonio Gomes <tonikitoo>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: achicu, benjamin, cmarcelo, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Antonio Gomes 2013-07-30 13:26:37 PDT
It seems code guarded by CSS_SHADER uses Angle, which is not built with --no-webgl.
Comment 1 Ragner Magalhaes 2013-08-07 13:58:22 PDT
Created attachment 208298 [details]
Patch

CSS Shaders requires WebGL.
Add error message to dependency failure.
Comment 2 Antonio Gomes 2013-08-08 05:19:21 PDT
@achicu: CSS Shaders require ANGLE to build, and this is not available if WEBGL if disabled from say build-webkit.

Does it make sense to have a hard dependency on each other, as the patch does?
Comment 3 Antonio Gomes 2013-08-08 05:21:15 PDT
Comment on attachment 208298 [details]
Patch

please read http://www.webkit.org/coding/contributing.html
Comment 4 Ragner Magalhaes 2013-08-12 07:32:01 PDT
Created attachment 208539 [details]
Patch
Comment 5 Antonio Gomes 2013-08-12 10:52:21 PDT
Comment on attachment 208539 [details]
Patch

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

> Source/WTF/ChangeLog:8
> +        CSS_SHADERS requires WEBGL enabled.

Is not it more accurate to say that it requeres ANGLE, which is only available when WebGL is on?
Comment 6 Alexandru Chiculita 2013-08-12 11:09:39 PDT
Comment on attachment 208539 [details]
Patch

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

>> Source/WTF/ChangeLog:8
>> +        CSS_SHADERS requires WEBGL enabled.
> 
> Is not it more accurate to say that it requeres ANGLE, which is only available when WebGL is on?

Custom Filters are implemented on top of WebGL. We are only using ANGLE to validate the shaders, so we need both.
Comment 7 Antonio Gomes 2013-08-12 11:17:21 PDT
Comment on attachment 208539 [details]
Patch

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

>>> Source/WTF/ChangeLog:8
>>> +        CSS_SHADERS requires WEBGL enabled.
>> 
>> Is not it more accurate to say that it requeres ANGLE, which is only available when WebGL is on?
> 
> Custom Filters are implemented on top of WebGL. We are only using ANGLE to validate the shaders, so we need both.

ok thanks
Comment 8 WebKit Commit Bot 2013-08-12 11:40:12 PDT
Comment on attachment 208539 [details]
Patch

Clearing flags on attachment: 208539

Committed r153951: <http://trac.webkit.org/changeset/153951>
Comment 9 WebKit Commit Bot 2013-08-12 11:40:14 PDT
All reviewed patches have been landed.  Closing bug.