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

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

Issue 1714523005: WIP: backface visibility plumbing (not for review) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: still broken Created 4 years, 10 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/PaintChunkProperties.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h
index 14f5e1e2851bf92b6918f198128f146f60d73d9d..ead418016b002b266048f8efba98e7f2994cfc58 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h
@@ -25,10 +25,12 @@ namespace blink {
// for each type (e.g., either transform or perspective, but not both).
struct PaintChunkProperties {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
- // TODO(pdr): Add clip and scroll properties.
+
+ // TODO(pdr): Add scroll properties.
RefPtr<TransformPaintPropertyNode> transform;
RefPtr<ClipPaintPropertyNode> clip;
RefPtr<EffectPaintPropertyNode> effect;
+ bool backfaceHidden;
};
// Equality is based only on the pointers and is not 'deep' which would require
@@ -37,7 +39,8 @@ inline bool operator==(const PaintChunkProperties& a, const PaintChunkProperties
{
return a.transform.get() == b.transform.get()
&& a.clip.get() == b.clip.get()
- && a.effect.get() == b.effect.get();
+ && a.effect.get() == b.effect.get()
+ && a.backfaceHidden == b.backfaceHidden;
}
inline bool operator!=(const PaintChunkProperties& a, const PaintChunkProperties& b)

Powered by Google App Engine
This is Rietveld 408576698