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

Unified Diff: src/gpu/GrClipMaskManager.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/GrClipMaskManager.cpp
===================================================================
--- src/gpu/GrClipMaskManager.cpp (revision 8359)
+++ src/gpu/GrClipMaskManager.cpp (working copy)
@@ -824,8 +824,8 @@
stencilBits = stencilBuffer->bits();
}
- GrAssert(fGpu->getCaps().stencilWrapOpsSupport() || !settings.usesWrapOp());
- GrAssert(fGpu->getCaps().twoSidedStencilSupport() || !settings.isTwoSided());
+ GrAssert(fGpu->caps()->stencilWrapOpsSupport() || !settings.usesWrapOp());
+ GrAssert(fGpu->caps()->twoSidedStencilSupport() || !settings.isTwoSided());
this->adjustStencilParams(&settings, clipMode, stencilBits);
fGpu->setStencilSettings(settings);
}
@@ -845,7 +845,7 @@
unsigned int userBits = clipBit - 1;
GrStencilSettings::Face face = GrStencilSettings::kFront_Face;
- bool twoSided = fGpu->getCaps().twoSidedStencilSupport();
+ bool twoSided = fGpu->caps()->twoSidedStencilSupport();
bool finished = false;
while (!finished) {
« no previous file with comments | « src/gpu/GrBufferAllocPool.cpp ('k') | src/gpu/GrContext.cpp » ('j') | src/gpu/gl/GrGLContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698