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

Unified Diff: src/gpu/GrContext.cpp

Issue 213123014: Revert of Implement text rendering with NVPR (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 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 | « include/gpu/GrContext.h ('k') | src/gpu/GrStencilAndCoverTextContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrContext.cpp
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index 0876b4dd3fbc98992fe3743b160b1d97ba279db8..3a2bbe864ca184015bdd53f9833c0d52dbb41ae7 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -14,26 +14,24 @@
#include "GrAARectRenderer.h"
#include "GrBufferAllocPool.h"
-#include "GrDistanceFieldTextContext.h"
+#include "GrGpu.h"
#include "GrDrawTargetCaps.h"
-#include "GrGpu.h"
+#include "GrIndexBuffer.h"
#include "GrInOrderDrawBuffer.h"
-#include "GrIndexBuffer.h"
#include "GrOvalRenderer.h"
#include "GrPathRenderer.h"
#include "GrPathUtils.h"
#include "GrResourceCache.h"
#include "GrSoftwarePathRenderer.h"
-#include "GrStencilAndCoverTextContext.h"
#include "GrStencilBuffer.h"
#include "GrTextStrike.h"
#include "GrTracing.h"
#include "SkGr.h"
+#include "SkRTConf.h"
#include "SkRRect.h"
-#include "SkRTConf.h"
#include "SkStrokeRec.h"
+#include "SkTLazy.h"
#include "SkTLS.h"
-#include "SkTLazy.h"
#include "SkTraceEvent.h"
// It can be useful to set this to false to test whether a bug is caused by using the
@@ -227,17 +225,6 @@
int GrContext::getGpuTextureCacheResourceCount() const {
return fTextureCache->getCachedResourceCount();
-}
-
-GrTextContext* GrContext::createTextContext(GrRenderTarget* renderTarget,
- const SkDeviceProperties&
- leakyProperties) {
- if (fGpu->caps()->pathRenderingSupport()) {
- if (renderTarget->getStencilBuffer() && renderTarget->isMultisampled()) {
- return SkNEW_ARGS(GrStencilAndCoverTextContext, (this, leakyProperties));
- }
- }
- return SkNEW_ARGS(GrDistanceFieldTextContext, (this, leakyProperties));
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrStencilAndCoverTextContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698