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

Unified Diff: Source/core/rendering/style/RenderStyleConstants.h

Issue 202683005: optimizing layout performance when only transform3d matrix changed by Base URL: http://src.chromium.org/blink/trunk/
Patch Set: Created 6 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: Source/core/rendering/style/RenderStyleConstants.h
===================================================================
--- Source/core/rendering/style/RenderStyleConstants.h (revision 169401)
+++ Source/core/rendering/style/RenderStyleConstants.h (working copy)
@@ -56,6 +56,7 @@
// (9) StyleDifferenceLayout - A full layout is required.
enum StyleDifference {
StyleDifferenceEqual,
+ StyleDifferenceMinRecompositeLayer,
StyleDifferenceRecompositeLayer,
Ian Vollick 2014/03/18 11:59:16 Rather than adding "MinRecompositeLayer", could we
StyleDifferenceRepaint,
StyleDifferenceRepaintIfTextOrColorChange,
@@ -74,7 +75,9 @@
ContextSensitivePropertyNone = 0,
ContextSensitivePropertyTransform = (1 << 0),
ContextSensitivePropertyOpacity = (1 << 1),
- ContextSensitivePropertyFilter = (1 << 2)
+ ContextSensitivePropertyFilter = (1 << 2),
+ ContextSensitivePropertyTransform3D = (1 << 3)
Ian Vollick 2014/03/18 11:59:16 I thought that transform, opacity and filter were
yaojie.yan 2014/03/20 07:43:19 Yes, I will address them in the following up patch
+
};
// Static pseudo styles. Dynamic ones are produced on the fly.

Powered by Google App Engine
This is Rietveld 408576698