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

Unified Diff: include/gpu/GrAARectRenderer.h

Issue 14972013: Update shader rect drawing path for r9087 (removal of isIRect "opt") (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrAARectRenderer.h
===================================================================
--- include/gpu/GrAARectRenderer.h (revision 9087)
+++ include/gpu/GrAARectRenderer.h (working copy)
@@ -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 @@
#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 @@
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;
};
« no previous file with comments | « no previous file | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698