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

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

Issue 799103002: Fix display list canvas not rendering correctly on high dpi displays (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: corrections Created 6 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
« no previous file with comments | « Source/platform/graphics/ImageBuffer.cpp ('k') | Source/platform/graphics/ImageBufferSurface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ImageBufferSurface.h
diff --git a/Source/platform/graphics/ImageBufferSurface.h b/Source/platform/graphics/ImageBufferSurface.h
index d67fb33cee519cd751d8c1048f76ed0484a90362..ad55079a06f7d68590c02ee0b5dfc888a42e2412 100644
--- a/Source/platform/graphics/ImageBufferSurface.h
+++ b/Source/platform/graphics/ImageBufferSurface.h
@@ -33,6 +33,7 @@
#include "platform/PlatformExport.h"
#include "platform/geometry/IntSize.h"
+#include "platform/graphics/GraphicsTypes.h"
#include "platform/graphics/GraphicsTypes3D.h"
#include "wtf/FastAllocBase.h"
#include "wtf/Noncopyable.h"
@@ -48,6 +49,7 @@ namespace blink {
class ImageBuffer;
class WebLayer;
class FloatRect;
+class GraphicsContext;
enum OpacityMode {
NonOpaque,
@@ -80,6 +82,7 @@ public:
virtual void finalizeFrame(const FloatRect &dirtyRect) { }
virtual void willDrawVideo() { }
virtual PassRefPtr<SkImage> newImageSnapshot() const;
+ virtual void draw(GraphicsContext*, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator, WebBlendMode, bool needsCopy);
OpacityMode opacityMode() const { return m_opacityMode; }
const IntSize& size() const { return m_size; }
« no previous file with comments | « Source/platform/graphics/ImageBuffer.cpp ('k') | Source/platform/graphics/ImageBufferSurface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698