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

Unified Diff: src/gpu/GrStencilAndCoverPathRenderer.cpp

Issue 12843026: Make GrDrawTarget::Caps ref counted and GrGLCaps derive from it. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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
Index: src/gpu/GrStencilAndCoverPathRenderer.cpp
===================================================================
--- src/gpu/GrStencilAndCoverPathRenderer.cpp (revision 8359)
+++ src/gpu/GrStencilAndCoverPathRenderer.cpp (working copy)
@@ -16,7 +16,7 @@
GrPathRenderer* GrStencilAndCoverPathRenderer::Create(GrContext* context) {
GrAssert(NULL != context);
GrAssert(NULL != context->getGpu());
- if (context->getGpu()->getCaps().pathStencilingSupport()) {
+ if (context->getGpu()->caps()->pathStencilingSupport()) {
return SkNEW_ARGS(GrStencilAndCoverPathRenderer, (context->getGpu()));
} else {
return NULL;
@@ -24,7 +24,7 @@
}
GrStencilAndCoverPathRenderer::GrStencilAndCoverPathRenderer(GrGpu* gpu) {
- GrAssert(gpu->getCaps().pathStencilingSupport());
+ GrAssert(gpu->caps()->pathStencilingSupport());
fGpu = gpu;
gpu->ref();
}

Powered by Google App Engine
This is Rietveld 408576698