diff options
author | 2012-08-28 21:11:35 +0000 | |
---|---|---|
committer | 2012-08-28 21:11:35 +0000 | |
commit | f66018798099750e639a8fa131fece492a050997 (patch) | |
tree | 4238c882198f2050a2e2ab270ae0c89dc1d49ed0 /src/gpu/GrClipMaskManager.cpp | |
parent | a7e483d130a65833e4c0d4abb4c2f13a9ce7703b (diff) |
Hide GrDrawTarget::Caps's member vars
Review URL: https://codereview.appspot.com/6499044
git-svn-id: http://skia.googlecode.com/svn/trunk@5328 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrClipMaskManager.cpp')
-rw-r--r-- | src/gpu/GrClipMaskManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp index de8f323ce6..4968c0bdfb 100644 --- a/src/gpu/GrClipMaskManager.cpp +++ b/src/gpu/GrClipMaskManager.cpp @@ -1016,9 +1016,9 @@ void GrClipMaskManager::setGpuStencil() { stencilBits = stencilBuffer->bits(); } - GrAssert(fGpu->getCaps().fStencilWrapOpsSupport || + GrAssert(fGpu->getCaps().stencilWrapOpsSupport() || !settings.usesWrapOp()); - GrAssert(fGpu->getCaps().fTwoSidedStencilSupport || !settings.isTwoSided()); + GrAssert(fGpu->getCaps().twoSidedStencilSupport() || !settings.isTwoSided()); this->adjustStencilParams(&settings, clipMode, stencilBits); fGpu->setStencilSettings(settings); } @@ -1038,7 +1038,7 @@ void GrClipMaskManager::adjustStencilParams(GrStencilSettings* settings, unsigned int userBits = clipBit - 1; GrStencilSettings::Face face = GrStencilSettings::kFront_Face; - bool twoSided = fGpu->getCaps().fTwoSidedStencilSupport; + bool twoSided = fGpu->getCaps().twoSidedStencilSupport(); bool finished = false; while (!finished) { |