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

Unified Diff: Source/core/platform/graphics/GraphicsContextState.h

Issue 23643003: ImageBuffer-less SVG masking and clipping. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed Linux rebaselines. Created 7 years, 4 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/platform/graphics/GraphicsContextState.h
diff --git a/Source/core/platform/graphics/GraphicsContextState.h b/Source/core/platform/graphics/GraphicsContextState.h
index 5c39e0f9ecbe40fd41cdb661f4d12ae176a47164..2e0fa27a2fde89d1273569ce882f91557dfe6ddf 100644
--- a/Source/core/platform/graphics/GraphicsContextState.h
+++ b/Source/core/platform/graphics/GraphicsContextState.h
@@ -56,7 +56,6 @@ private:
, m_xferMode(SkXfermode::kSrcOver_Mode)
, m_compositeOperator(CompositeSourceOver)
, m_blendMode(BlendModeNormal)
- , m_clip(SkRect::MakeEmpty())
#if USE(LOW_QUALITY_IMAGE_INTERPOLATION)
, m_interpolationQuality(InterpolationLow)
#else
@@ -79,7 +78,6 @@ private:
, m_xferMode(other.m_xferMode)
, m_compositeOperator(other.m_compositeOperator)
, m_blendMode(other.m_blendMode)
- , m_clip(other.m_clip)
, m_interpolationQuality(other.m_interpolationQuality)
, m_shouldAntialias(other.m_shouldAntialias)
, m_shouldSmoothFonts(other.m_shouldSmoothFonts)
@@ -129,12 +127,6 @@ private:
CompositeOperator m_compositeOperator;
BlendMode m_blendMode;
- // If non-empty, the current State is clipped to this image.
- SkBitmap m_imageBufferClip;
-
- // If m_imageBufferClip is non-empty, this is the region the image is clipped to.
- SkRect m_clip;
-
// Image interpolation control.
InterpolationQuality m_interpolationQuality;

Powered by Google App Engine
This is Rietveld 408576698