Bug 119272 - Broken build with build-webkit --no-webgl
Summary: Broken build with build-webkit --no-webgl
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 13:26 PDT by Antonio Gomes
Modified: 2013-08-12 11:40 PDT (History)
4 users (show)

See Also:


Attachments
Patch (929 bytes, patch)
2013-08-07 13:58 PDT, Ragner Magalhaes
no flags Details | Formatted Diff | Diff
Patch (1.13 KB, patch)
2013-08-12 07:32 PDT, Ragner Magalhaes
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.