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

Unified Diff: src/gpu/GrPathRendererChain.cpp

Issue 692583002: WIP: GPU-accelerated trapezoidal path renderer. Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rename GrTrapezoidalPathRenderer -> GrAAConcavePathRenderer; swap MSAA support for a coverage ramp. Created 5 years, 4 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 | « src/gpu/GrAAConcavePathRenderer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPathRendererChain.cpp
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp
index e408762d0aea0b147efc92506a1d21e100aec017..033bf614106f1d69616b40f9d1d976b3bc9bfa94 100644
--- a/src/gpu/GrPathRendererChain.cpp
+++ b/src/gpu/GrPathRendererChain.cpp
@@ -12,6 +12,7 @@
#include "GrCaps.h"
#include "GrContext.h"
#include "GrDefaultPathRenderer.h"
+#include "GrAAConcavePathRenderer.h"
#include "GrGpu.h"
GrPathRendererChain::GrPathRendererChain(GrContext* context)
@@ -88,6 +89,7 @@ void GrPathRendererChain::init() {
const GrCaps* caps = fOwner->caps();
bool twoSided = caps->twoSidedStencilSupport();
bool wrapOp = caps->stencilWrapOpsSupport();
+ this->addPathRenderer(new GrAAConcavePathRenderer())->unref();
GrPathRenderer::AddPathRenderers(fOwner, this);
this->addPathRenderer(new GrDefaultPathRenderer(twoSided, wrapOp))->unref();
fInit = true;
« no previous file with comments | « src/gpu/GrAAConcavePathRenderer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698