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

Unified Diff: include/core/SkCanvas.h

Issue 884163003: Disable LCD text when rasterizing SkPictureShader tiles. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | src/core/SkPictureShader.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 3eecaf760a787f5e17c7352b51da5759a06472c3..2e6cae9d86c5dc4db2884d58d7ed352d6be54aa5 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -98,8 +98,9 @@ public:
/** Construct a canvas with the specified bitmap to draw into.
@param bitmap Specifies a bitmap for the canvas to draw into. Its
structure are copied to the canvas.
+ @param props If specified, these are the new canvas surface properties.
reed1 2015/01/30 20:18:26 // If NULL is passed, we use ...(?)... for the pro
f(malita) 2015/02/01 03:46:29 Argh. After trying to come up with a good descript
*/
- explicit SkCanvas(const SkBitmap& bitmap);
+ explicit SkCanvas(const SkBitmap& bitmap, const SkSurfaceProps* props = NULL);
reed1 2015/01/30 20:18:26 Can't use explicit when we have more than one para
virtual ~SkCanvas();
SkMetaData& getMetaData();
@@ -1278,7 +1279,6 @@ private:
};
SkCanvas(const SkIRect& bounds, InitFlags);
SkCanvas(SkBaseDevice*, const SkSurfaceProps*, InitFlags);
- SkCanvas(const SkBitmap&, const SkSurfaceProps&);
// needs gettotalclip()
friend class SkCanvasStateUtils;
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | src/core/SkPictureShader.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698