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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.h

Issue 2581243002: Simplify and speed up painting of clipping masks (Closed)
Patch Set: Fix cases with no clip recorder Created 4 years 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/core/paint/PaintLayerPainter.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
index 3f805183c5f9654f76f304905c088914880f0d5b..2da034576061c2744a261c96e82680cea08426b8 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
@@ -16,6 +16,7 @@ namespace blink {
class ClipRect;
class PaintLayer;
class GraphicsContext;
+class LayerClipRecorder;
class LayoutPoint;
// This class is responsible for painting self-painting PaintLayer.
@@ -120,6 +121,8 @@ class CORE_EXPORT PaintLayerPainter {
const PaintLayerPaintingInfo&,
PaintLayerFlags);
+ void fillMaskingFragment(GraphicsContext&, const LayerClipRecorder&);
+
static bool needsToClip(const PaintLayerPaintingInfo& localPaintingInfo,
const ClipRect&);
« no previous file with comments | « third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698