Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1396)

Unified Diff: src/gpu/GrPathRendererChain.cpp

Issue 6499044: Hide GrDrawTarget::Caps's member vars (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrPathRendererChain.cpp
===================================================================
--- src/gpu/GrPathRendererChain.cpp (revision 5315)
+++ src/gpu/GrPathRendererChain.cpp (working copy)
@@ -51,8 +51,8 @@
void GrPathRendererChain::init() {
GrAssert(!fInit);
GrGpu* gpu = fOwner->getGpu();
- bool twoSided = gpu->getCaps().fTwoSidedStencilSupport;
- bool wrapOp = gpu->getCaps().fStencilWrapOpsSupport;
+ bool twoSided = gpu->getCaps().twoSidedStencilSupport();
+ bool wrapOp = gpu->getCaps().stencilWrapOpsSupport();
GrPathRenderer::AddPathRenderers(fOwner, fFlags, this);
this->addPathRenderer(SkNEW_ARGS(GrDefaultPathRenderer,
(twoSided, wrapOp)))->unref();

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b