aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-10 13:16:13 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-10 13:16:13 +0000
commit114eb9e69942c11635380284deb9cc91eaab3632 (patch)
tree88adfd20e5d567ddce982d17c67353a68b7775fe /include
parent18136d1cf284bea42ae574e491fa8032aef4e7dd (diff)
Update shader rect drawing path for r9087 (removal of isIRect "opt")
https://codereview.chromium.org/14972013/ (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@9089 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrAARectRenderer.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/gpu/GrAARectRenderer.h b/include/gpu/GrAARectRenderer.h
index b76722d217..0dd538e3ca 100644
--- a/include/gpu/GrAARectRenderer.h
+++ b/include/gpu/GrAARectRenderer.h
@@ -11,11 +11,11 @@
#include "GrRect.h"
#include "GrRefCnt.h"
+#include "SkMatrix.h"
class GrGpu;
class GrDrawTarget;
class GrIndexBuffer;
-class SkMatrix;
/*
* This class wraps helper functions that draw AA rects (filled & stroked)
@@ -46,10 +46,10 @@ public:
#ifdef SHADER_AA_FILL_RECT
if (combinedMatrix.rectStaysRect()) {
this->shaderFillAlignedAARect(gpu, target,
- combinedMatrix, devRect);
+ rect, combinedMatrix);
} else {
this->shaderFillAARect(gpu, target,
- rect, combinedMatrix, devRect);
+ rect, combinedMatrix);
}
#else
this->geometryFillAARect(gpu, target,
@@ -85,14 +85,12 @@ private:
void shaderFillAARect(GrGpu* gpu,
GrDrawTarget* target,
const GrRect& rect,
- const SkMatrix& combinedMatrix,
- const GrRect& devRect);
+ const SkMatrix& combinedMatrix);
void shaderFillAlignedAARect(GrGpu* gpu,
GrDrawTarget* target,
const GrRect& rect,
- const SkMatrix& combinedMatrix,
- const GrRect& devRect);
+ const SkMatrix& combinedMatrix);
typedef GrRefCnt INHERITED;
};