aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 19:43:46 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 19:43:46 +0000
commit419400bf6e475dfbaa424ef0155598a3422cfa67 (patch)
treef57be819399e76bb4ea33a9f77ec3aea37d6854b
parent38c3a30a97f807c8516aa41be29884b7a601aa4a (diff)
remove extra parameter ctm in skPaint2GrPaintShader()
Comitted on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/5990048/ git-svn-id: http://skia.googlecode.com/svn/trunk@3625 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/gpu/SkGpuDevice.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 437efbdc9b..c7bae34539 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -501,7 +501,6 @@ inline bool skPaint2GrPaintNoShader(const SkPaint& skPaint,
// same meaning as in skPaint2GrPaintNoShader.
inline bool skPaint2GrPaintShader(SkGpuDevice* dev,
const SkPaint& skPaint,
- const SkMatrix& ctm,
bool constantColor,
SkGpuDevice::SkAutoCachedTexture* act,
GrPaint* grPaint) {
@@ -604,7 +603,6 @@ void SkGpuDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) {
SkAutoCachedTexture act;
if (!skPaint2GrPaintShader(this,
paint,
- *draw.fMatrix,
true,
&act,
&grPaint)) {
@@ -640,7 +638,6 @@ void SkGpuDevice::drawPoints(const SkDraw& draw, SkCanvas::PointMode mode,
SkAutoCachedTexture act;
if (!skPaint2GrPaintShader(this,
paint,
- *draw.fMatrix,
true,
&act,
&grPaint)) {
@@ -702,7 +699,6 @@ void SkGpuDevice::drawRect(const SkDraw& draw, const SkRect& rect,
SkAutoCachedTexture act;
if (!skPaint2GrPaintShader(this,
paint,
- *draw.fMatrix,
true,
&act,
&grPaint)) {
@@ -982,7 +978,6 @@ void SkGpuDevice::drawPath(const SkDraw& draw, const SkPath& origSrcPath,
SkAutoCachedTexture act;
if (!skPaint2GrPaintShader(this,
paint,
- *draw.fMatrix,
true,
&act,
&grPaint)) {
@@ -1635,7 +1630,6 @@ void SkGpuDevice::drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode,
} else {
if (!skPaint2GrPaintShader(this,
paint,
- *draw.fMatrix,
NULL == colors,
&act,
&grPaint)) {
@@ -1740,7 +1734,6 @@ void SkGpuDevice::drawText(const SkDraw& draw, const void* text,
if (!skPaint2GrPaintShader(this,
paint,
- *draw.fMatrix,
true,
&act,
&grPaint)) {
@@ -1770,7 +1763,6 @@ void SkGpuDevice::drawPosText(const SkDraw& draw, const void* text,
SkAutoCachedTexture act;
if (!skPaint2GrPaintShader(this,
paint,
- *draw.fMatrix,
true,
&act,
&grPaint)) {