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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h

Issue 2625133003: Handle geometry effects of filters in GeometryMapper (Closed)
Patch Set: Rebaseline tests Created 3 years, 11 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/CompositorFilterOperations.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
index f364a24dfab44702c222ad9b5de0b246d264120a..2928a45355080dd759e8211d4dd1a1709f28b7e6 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
@@ -7,6 +7,7 @@
#include "cc/output/filter_operations.h"
#include "platform/PlatformExport.h"
+#include "platform/geometry/FloatRect.h"
#include "platform/geometry/IntPoint.h"
#include "platform/graphics/Color.h"
#include "third_party/skia/include/core/SkScalar.h"
@@ -41,6 +42,9 @@ class PLATFORM_EXPORT CompositorFilterOperations {
void clear();
bool isEmpty() const;
+ FloatRect mapRect(const FloatRect&) const;
chrishtr 2017/02/01 02:59:12 Document what this maps from and to.
Xianzhu 2017/02/03 01:38:16 Done.
+ bool hasFilterThatMovesPixels() const;
+
// For reference filters, this equality operator compares pointers of the
// image_filter fields instead of their values.
bool operator==(const CompositorFilterOperations&) const;

Powered by Google App Engine
This is Rietveld 408576698