aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-09-08 10:26:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-08 10:26:51 -0700
commit90e8ab79beffbe82fcd439eb84473f402224db7b (patch)
treeab24588b6c0b4c7f7362724edd62481151600383
parent54a6b1a1228489161294e4fa1fc8f93797cff259 (diff)
Re-enable nvpr text rendering in DM.
-rw-r--r--dm/DM.cpp4
-rw-r--r--src/gpu/GrStencilAndCoverTextContext.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index becea6ca6c..55651d9cda 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -439,8 +439,8 @@ static Sink* create_sink(const char* tag) {
SINK("gpudft", GPUSink, Gr::kNative_GLContextType, api, 0, true, FLAGS_gpu_threading);
SINK("msaa4", GPUSink, Gr::kNative_GLContextType, api, 4, false, FLAGS_gpu_threading);
SINK("msaa16", GPUSink, Gr::kNative_GLContextType, api, 16, false, FLAGS_gpu_threading);
- SINK("nvprmsaa4", GPUSink, Gr::kNVPR_GLContextType, api, 4, false, FLAGS_gpu_threading);
- SINK("nvprmsaa16", GPUSink, Gr::kNVPR_GLContextType, api, 16, false, FLAGS_gpu_threading);
+ SINK("nvprmsaa4", GPUSink, Gr::kNVPR_GLContextType, api, 4, true, FLAGS_gpu_threading);
+ SINK("nvprmsaa16", GPUSink, Gr::kNVPR_GLContextType, api, 16, true, FLAGS_gpu_threading);
#if SK_ANGLE
SINK("angle", GPUSink, Gr::kANGLE_GLContextType, api, 0, false, FLAGS_gpu_threading);
#endif
diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp
index 047cd07978..479213b21c 100644
--- a/src/gpu/GrStencilAndCoverTextContext.cpp
+++ b/src/gpu/GrStencilAndCoverTextContext.cpp
@@ -443,7 +443,6 @@ void GrStencilAndCoverTextContext::flush(GrDrawContext* dc) {
*pipelineBuilder.stencil() = kStencilPass;
- SkASSERT(0 == fQueuedGlyphCount);
SkASSERT(kGlyphBufferSize == fFallbackGlyphsIdx);
dc->drawPaths(&pipelineBuilder, pp, fGlyphs,