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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h

Issue 2335253002: Push CompositorFilterOperations creation out of GraphicsLayer (Closed)
Patch Set: The right FilterOperations Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h b/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
index ba4b88ce806c3895c77b19749bcbdde42680e59f..8f4f94e8d376602a0bb2342b3fc5ae25c2ead900 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
@@ -35,18 +35,15 @@ class SkPicture;
namespace blink {
-class AffineTransform;
class BoxReflection;
class CompositorFilterOperations;
class FilterEffect;
class FilterOperations;
-class Image;
namespace SkiaImageFilterBuilder {
PLATFORM_EXPORT sk_sp<SkImageFilter> build(FilterEffect*, ColorSpace, bool requiresPMColorValidation = true);
-PLATFORM_EXPORT void buildFilterOperations(const FilterOperations&, CompositorFilterOperations*);
-PLATFORM_EXPORT sk_sp<SkImageFilter> buildTransform(const AffineTransform&, sk_sp<SkImageFilter> input);
+PLATFORM_EXPORT CompositorFilterOperations buildFilterOperations(const FilterOperations&);
Stephen White 2016/09/16 14:05:59 Does this mean we'll be incurring the copy constru
fs 2016/09/16 14:54:38 I could be wrong, but I think this would RVO. Empi
PLATFORM_EXPORT sk_sp<SkImageFilter> transformColorSpace(
sk_sp<SkImageFilter> input, ColorSpace srcColorSpace, ColorSpace dstColorSpace);

Powered by Google App Engine
This is Rietveld 408576698