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

Unified Diff: tools/PictureRenderer.h

Issue 707723005: Revert of Get gpudft support working in dm, gm, nanobench and bench_pictures (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « src/image/SkSurface_Gpu.cpp ('k') | tools/PictureRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/PictureRenderer.h
diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h
index c8462d9f037c213d1b9bc718c6ac524100be5f69..e82eb7fb8ab2df1f842f7b6e8966ec7148047428 100644
--- a/tools/PictureRenderer.h
+++ b/tools/PictureRenderer.h
@@ -220,10 +220,6 @@
void setSampleCount(int sampleCount) {
fSampleCount = sampleCount;
}
-
- void setUseDFText(bool useDFText) {
- fUseDFText = useDFText;
- }
#endif
void setDrawFilters(DrawFilterFlags const * const filters, const SkString& configName) {
@@ -278,8 +274,6 @@
case kGPU_DeviceType:
if (fSampleCount) {
config.appendf("_msaa%d", fSampleCount);
- } else if (fUseDFText) {
- config.append("_gpudft");
} else {
config.append("_gpu");
}
@@ -331,8 +325,6 @@
tmp = "msaa";
tmp.appendS32(fSampleCount);
result["config"] = tmp.c_str();
- } else if (fUseDFText) {
- result["config"] = "gpudft";
} else {
result["config"] = "gpu";
}
@@ -436,7 +428,6 @@
, fGrContextFactory(opts)
, fGrContext(NULL)
, fSampleCount(0)
- , fUseDFText(false)
#endif
{
fGridInfo.fMargin.setEmpty();
@@ -504,7 +495,6 @@
GrContextFactory fGrContextFactory;
GrContext* fGrContext;
int fSampleCount;
- bool fUseDFText;
#endif
virtual SkString getConfigNameInternal() = 0;
« no previous file with comments | « src/image/SkSurface_Gpu.cpp ('k') | tools/PictureRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698