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

Unified Diff: include/gpu/GrContext.h

Issue 1191943002: Add useDFT field to SkDeviceProperties (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT Created 5 years, 6 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 | include/gpu/GrDrawContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 31cb4d0eb102e9a5abfac1129c78e8b1407d1d94..a98cf0bf91abee1a5c04066fb106c4fdf28dd54a 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -177,12 +177,11 @@ public:
* NULL will be returned if the context has been abandoned.
*
* @param devProps the device properties (mainly defines text drawing)
- * @param uesDFT should Distance Field Text be used?
*
* @return a draw context
*/
- GrDrawContext* drawContext(const SkDeviceProperties* devProps = NULL, bool useDFT = false) {
- return fDrawingMgr.drawContext(devProps, useDFT);
+ GrDrawContext* drawContext(const SkDeviceProperties* devProps = NULL) {
+ return fDrawingMgr.drawContext(devProps);
}
///////////////////////////////////////////////////////////////////////////
@@ -420,7 +419,7 @@ private:
// Callers should take a ref if they rely on the GrDrawContext sticking around.
// NULL will be returned if the context has been abandoned.
- GrDrawContext* drawContext(const SkDeviceProperties* devProps, bool useDFT);
+ GrDrawContext* drawContext(const SkDeviceProperties* devProps);
private:
void cleanup();
« no previous file with comments | « no previous file | include/gpu/GrDrawContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698