Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Issue 13839016: Remove CSS_SHADERS compile-time flag. (Closed)

Created:
7 years, 8 months ago by Max Vujovic (mvujovic)
Modified:
7 years, 8 months ago
Reviewers:
jamesr, eseidel1, eseidel
CC:
blink-reviews, Alexis Menard, abarth-chromium, apavlov+blink_chromium.org, gavinp+loader_chromium.org, jchaffraix+rendering, haraken, Stephen Chennney, Nate Chapin, achicu, Dirk Pranke, Max Heinritz
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove CSS_SHADERS compile-time flag. The compile-time was on by default in Chromium builds. The feature remains guarded by a runtime flag. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=147953

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -340 lines) Patch
M Source/WTF/wtf/FeatureDefines.h View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/WebCore/bindings/v8/custom/V8CSSRuleCustom.cpp View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/WebCore/bindings/v8/custom/V8CSSValueCustom.cpp View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/WebCore/css/CSSComputedStyleDeclaration.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/css/CSSComputedStyleDeclaration.cpp View 6 chunks +0 lines, -9 lines 0 comments Download
M Source/WebCore/css/CSSGrammar.y.in View 6 chunks +0 lines, -10 lines 0 comments Download
M Source/WebCore/css/CSSParser.h View 5 chunks +0 lines, -8 lines 0 comments Download
M Source/WebCore/css/CSSParser.cpp View 8 chunks +0 lines, -14 lines 0 comments Download
M Source/WebCore/css/CSSPropertySourceData.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/css/CSSRule.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/css/CSSRule.idl View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/css/CSSValue.h View 3 chunks +0 lines, -6 lines 2 comments Download
M Source/WebCore/css/CSSValue.cpp View 9 chunks +0 lines, -10 lines 1 comment Download
M Source/WebCore/css/CSSValueKeywords.in View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/css/StyleResolver.h View 7 chunks +0 lines, -12 lines 0 comments Download
M Source/WebCore/css/StyleResolver.cpp View 9 chunks +0 lines, -12 lines 0 comments Download
M Source/WebCore/css/StyleRule.h View 4 chunks +0 lines, -6 lines 0 comments Download
M Source/WebCore/css/StyleRule.cpp View 6 chunks +0 lines, -10 lines 0 comments Download
M Source/WebCore/css/StyleSheetContents.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/css/WebKitCSSArrayFunctionValue.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/css/WebKitCSSArrayFunctionValue.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/css/WebKitCSSFilterRule.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/css/WebKitCSSFilterRule.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/css/WebKitCSSFilterRule.idl View 1 chunk +1 line, -3 lines 0 comments Download
M Source/WebCore/css/WebKitCSSFilterValue.h View 1 chunk +2 lines, -4 lines 0 comments Download
M Source/WebCore/css/WebKitCSSFilterValue.cpp View 2 chunks +0 lines, -7 lines 0 comments Download
M Source/WebCore/css/WebKitCSSFilterValue.idl View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/WebCore/css/WebKitCSSMixFunctionValue.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/css/WebKitCSSMixFunctionValue.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/css/WebKitCSSMixFunctionValue.idl View 1 chunk +0 lines, -1 line 0 comments Download
M Source/WebCore/css/WebKitCSSShaderValue.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/css/WebKitCSSShaderValue.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/loader/cache/CachedResource.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/loader/cache/CachedResource.cpp View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/WebCore/loader/cache/CachedResourceLoader.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/loader/cache/CachedResourceLoader.cpp View 6 chunks +0 lines, -12 lines 0 comments Download
M Source/WebCore/loader/cache/CachedShader.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/loader/cache/CachedShader.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/page/DOMWindow.idl View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterArrayParameter.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterCompiledProgram.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterCompiledProgram.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterGlobalContext.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterGlobalContext.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterMesh.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterMesh.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterMeshGenerator.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterMeshGenerator.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterNumberParameter.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterOperation.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterOperation.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterParameter.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterParameterList.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterParameterList.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterProgram.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterProgram.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterProgramClient.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterProgramInfo.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterProgramInfo.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterRenderer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterRenderer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterTransformParameter.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/FECustomFilter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/FECustomFilter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/FilterOperation.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/FilterOperations.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/FilterOperations.cpp View 3 chunks +0 lines, -4 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/ValidatedCustomFilterOperation.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/ValidatedCustomFilterOperation.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/platform/graphics/filters/skia/SkiaImageFilterBuilder.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/rendering/FilterEffectRenderer.h View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/WebCore/rendering/FilterEffectRenderer.cpp View 6 chunks +3 lines, -9 lines 0 comments Download
M Source/WebCore/rendering/RenderLayer.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/rendering/RenderLayer.cpp View 6 chunks +2 lines, -12 lines 0 comments Download
M Source/WebCore/rendering/RenderLayerBacking.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/WebCore/rendering/RenderLayerFilterInfo.h View 4 chunks +2 lines, -12 lines 0 comments Download
M Source/WebCore/rendering/RenderLayerFilterInfo.cpp View 4 chunks +0 lines, -6 lines 0 comments Download
M Source/WebCore/rendering/RenderView.h View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/WebCore/rendering/RenderView.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/WebCore/rendering/style/StyleCachedShader.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/rendering/style/StyleCachedShader.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/rendering/style/StyleCustomFilterProgram.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/rendering/style/StyleCustomFilterProgram.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/rendering/style/StyleCustomFilterProgramCache.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/WebCore/rendering/style/StyleCustomFilterProgramCache.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/rendering/style/StylePendingShader.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebCore/rendering/style/StyleShader.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/WebKit/chromium/features.gypi View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Max Vujovic (mvujovic)
Thanks for the perl script, Eric! It removed most of the occurrences. Do you think ...
7 years, 8 months ago (2013-04-09 18:02:17 UTC) #1
eseidel
looks great. I believe we're supposed to have you sign something? I'm very new to ...
7 years, 8 months ago (2013-04-09 18:30:08 UTC) #2
jamesr
On 2013/04/09 18:30:08, Eric Seidel (Google) wrote: > looks great. I believe we're supposed to ...
7 years, 8 months ago (2013-04-09 18:31:36 UTC) #3
Max Vujovic (mvujovic)
Thanks for the review, Eric! As James said, my name is under Adobe's CLA with ...
7 years, 8 months ago (2013-04-09 18:53:14 UTC) #4
eseidel
thanks. lgtm. I'll figure out how to commit this for you. :)
7 years, 8 months ago (2013-04-09 18:54:49 UTC) #5
eseidel
Committed patchset #1 manually as r147953 (presubmit successful).
7 years, 8 months ago (2013-04-09 19:10:21 UTC) #6
eseidel
The fact that our tools currently make no attempt at attribution of the commit seems ...
7 years, 8 months ago (2013-04-09 19:12:20 UTC) #7
eseidel
I filed https://code.google.com/p/chromium/issues/detail?id=229526
7 years, 8 months ago (2013-04-09 19:23:53 UTC) #8
jamesr
Has an API review been scheduled for CSS_SHADERS?
7 years, 8 months ago (2013-04-09 19:27:53 UTC) #9
eseidel
It appears it's already tracked on the dashboard: http://www.chromestatus.com/features We're the first to implement it ...
7 years, 8 months ago (2013-04-09 19:32:55 UTC) #10
Max Vujovic (mvujovic)
On 2013/04/09 19:10:21, Eric Seidel (Google) wrote: > Committed patchset #1 manually as r147953 (presubmit ...
7 years, 8 months ago (2013-04-09 20:22:40 UTC) #11
Max Vujovic (mvujovic)
On 2013/04/09 19:27:53, jamesr wrote: > Has an API review been scheduled for CSS_SHADERS? Not ...
7 years, 8 months ago (2013-04-09 20:23:42 UTC) #12
Max Vujovic (mvujovic)
7 years, 8 months ago (2013-04-09 20:41:30 UTC) #13
Message was sent while issue was closed.
On 2013/04/09 19:32:55, Eric Seidel (Google) wrote:
> It appears it's already tracked on the dashboard:
> http://www.chromestatus.com/features
> 
> We're the first to implement it (prefixed), but it has support.
> 
> Presumably to follow our new feature policy we should be moving away from
> prefixing and making sure it's disabled by a runtime flag in Stable builds.

Yeah, it's disabled by a runtime flag. It's prefixed in two ways, through the
CSS filter property, and the new filter at-rule, which is currently only being
parsed.

The currently functional syntax looks like:

-webkit-filter: custom(url(page-curl.vs) mix(url(page-curl.fs) normal
source-atop), 10 10 attached, direction 90, amount 0.5);

For various good reasons, the spec has recently changed to use a new syntax
(shown unprefixed):

filter: custom(page-curl, direction 90, amount 0.5);

@filter page-curl {
    src: url(page-curl.vs), url(page-curl.fs);
    parameters: direction 180, amount 0;
    mesh: grid(10 10 attached);
    mix: multiply source-atop;
}

This and other topics sounds perfect for the API review :)

Powered by Google App Engine
This is Rietveld 408576698