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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp

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/compositing/PaintArtifactCompositor.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
index 6592c1a1350ec5712ef63ede8d17cd2e32654fcf..061be130660c1f36d90163de32d2ad7f5bcd4042 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
@@ -274,6 +274,7 @@ void PaintArtifactCompositor::update(const PaintArtifact& paintArtifact)
layer->SetBounds(combinedBounds.size());
layer->SetTransform(transform);
layer->SetIsDrawable(true);
+ layer->SetDoubleSided(!paintChunk.properties.backfaceHidden);
if (paintChunk.knownToBeOpaque)
layer->SetContentsOpaque(true);
layer->SetNeedsDisplay();

Powered by Google App Engine
This is Rietveld 408576698