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

Unified Diff: include/gpu/GrAARectRenderer.h

Issue 14820035: Re-add isIRect test for AA rect drawing (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') | src/gpu/GrAARectRenderer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrAARectRenderer.h
===================================================================
--- include/gpu/GrAARectRenderer.h (revision 9127)
+++ include/gpu/GrAARectRenderer.h (working copy)
@@ -42,6 +42,7 @@
GrDrawTarget* target,
const GrRect& rect,
const SkMatrix& combinedMatrix,
+ const GrRect& devRect,
bool useVertexCoverage) {
#ifdef SHADER_AA_FILL_RECT
if (combinedMatrix.rectStaysRect()) {
@@ -54,7 +55,7 @@
#else
this->geometryFillAARect(gpu, target,
rect, combinedMatrix,
- useVertexCoverage);
+ devRect, useVertexCoverage);
#endif
}
@@ -62,6 +63,7 @@
GrDrawTarget* target,
const GrRect& rect,
const SkMatrix& combinedMatrix,
+ const GrRect& devRect,
const GrVec& devStrokeSize,
bool useVertexCoverage);
@@ -80,6 +82,7 @@
GrDrawTarget* target,
const GrRect& rect,
const SkMatrix& combinedMatrix,
+ const GrRect& devRect,
bool useVertexCoverage);
void shaderFillAARect(GrGpu* gpu,
« no previous file with comments | « no previous file | src/gpu/GrAARectRenderer.cpp » ('j') | src/gpu/GrAARectRenderer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698