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

Unified Diff: Source/platform/graphics/ImageBufferSurface.h

Issue 562583002: Implement image-rendering:pixelated for accelerated 2D canvases. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove printfs, update test comments. Created 6 years, 1 month 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/platform/graphics/ImageBufferSurface.h
diff --git a/Source/platform/graphics/ImageBufferSurface.h b/Source/platform/graphics/ImageBufferSurface.h
index ebc9150e1412c1dc87cde9569e9ac52e559792f8..900086cb58b3b9a861778fcdbabc1fbbb2bacd00 100644
--- a/Source/platform/graphics/ImageBufferSurface.h
+++ b/Source/platform/graphics/ImageBufferSurface.h
@@ -34,6 +34,7 @@
#include "platform/PlatformExport.h"
#include "platform/geometry/IntSize.h"
#include "platform/graphics/GraphicsTypes3D.h"
+#include "third_party/skia/include/core/SkPaint.h"
#include "wtf/FastAllocBase.h"
#include "wtf/Noncopyable.h"
#include "wtf/PassRefPtr.h"
@@ -72,6 +73,7 @@ public:
virtual const SkBitmap& cachedBitmap() const;
virtual void invalidateCachedBitmap() { }
virtual void updateCachedBitmapIfNeeded() { }
+ virtual void setFilterLevel(SkPaint::FilterLevel) { }
virtual void setIsHidden(bool) { }
virtual void setImageBuffer(ImageBuffer*) { }
virtual PassRefPtr<SkPicture> getPicture();

Powered by Google App Engine
This is Rietveld 408576698