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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTransformCache.h

Issue 2744743003: Add support for flattening in GeometryMapper. (Closed)
Patch Set: none Created 3 years, 9 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/paint/GeometryMapperTransformCache.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTransformCache.h b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTransformCache.h
index 9d08f724bed344abfeb86ceb6547039eb03e26c3..16946ff2a436ee0b7efc7748c256d18d080d4095 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTransformCache.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTransformCache.h
@@ -24,6 +24,9 @@ class PLATFORM_EXPORT GeometryMapperTransformCache {
// Returns the transformed rect (see GeometryMapper.h) of |this| in the
// space of |ancestorTransform|, if there is one cached. Otherwise returns
// null.
+ //
+ // These transforms are not flattened to 2d, even if the ancestor transform
+ // space flattens.
const TransformationMatrix* getCachedTransform(
const TransformPaintPropertyNode* ancestorTransform);

Powered by Google App Engine
This is Rietveld 408576698