aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrClipMaskManager.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-08-04 09:21:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-04 09:21:30 -0700
commit01c8da1eef36570374f7e8764a38b25bf16ab7a6 (patch)
treee6cd4649959f5e1a57c1dfc59ce6ea651e751fb2 /src/gpu/GrClipMaskManager.cpp
parent5d8b1b44ea7636fc8e98247cb311568f277ce3a5 (diff)
Remove unused matrix param from GrContext/GrDrawTarget rect drawing functions.
R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/441623005
Diffstat (limited to 'src/gpu/GrClipMaskManager.cpp')
-rw-r--r--src/gpu/GrClipMaskManager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp
index 704750efca..edd44540c5 100644
--- a/src/gpu/GrClipMaskManager.cpp
+++ b/src/gpu/GrClipMaskManager.cpp
@@ -407,7 +407,7 @@ bool GrClipMaskManager::drawElement(GrTexture* target,
element->getRect(),
false);
} else {
- fGpu->drawSimpleRect(element->getRect(), NULL);
+ fGpu->drawSimpleRect(element->getRect());
}
return true;
default: {
@@ -481,7 +481,7 @@ void GrClipMaskManager::mergeMask(GrTexture* dstMask,
GrTextureDomain::MakeTexelDomain(srcMask, srcBound),
GrTextureDomain::kDecal_Mode,
GrTextureParams::kNone_FilterMode))->unref();
- fGpu->drawSimpleRect(SkRect::Make(dstBound), NULL);
+ fGpu->drawSimpleRect(SkRect::Make(dstBound));
}
// get a texture to act as a temporary buffer for AA clip boolean operations
@@ -812,7 +812,7 @@ bool GrClipMaskManager::createStencilClipMask(int32_t elementsGenID,
SET_RANDOM_COLOR
if (Element::kRect_Type == element->getType()) {
*drawState->stencil() = gDrawToStencil;
- fGpu->drawSimpleRect(element->getRect(), NULL);
+ fGpu->drawSimpleRect(element->getRect());
} else {
if (!clipPath.isEmpty()) {
if (canRenderDirectToStencil) {
@@ -833,7 +833,7 @@ bool GrClipMaskManager::createStencilClipMask(int32_t elementsGenID,
if (canDrawDirectToClip) {
if (Element::kRect_Type == element->getType()) {
SET_RANDOM_COLOR
- fGpu->drawSimpleRect(element->getRect(), NULL);
+ fGpu->drawSimpleRect(element->getRect());
} else {
SET_RANDOM_COLOR
pr->drawPath(clipPath, stroke, fGpu, false);
@@ -842,7 +842,7 @@ bool GrClipMaskManager::createStencilClipMask(int32_t elementsGenID,
SET_RANDOM_COLOR
// The view matrix is setup to do clip space -> stencil space translation, so
// draw rect in clip space.
- fGpu->drawSimpleRect(SkRect::Make(clipSpaceIBounds), NULL);
+ fGpu->drawSimpleRect(SkRect::Make(clipSpaceIBounds));
}
}
}