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

Unified Diff: include/gpu/GrAARectRenderer.h

Issue 14890021: Remove isIRect "optimization" & defer computation of device Rect in AA rect rendering (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 9079)
+++ include/gpu/GrAARectRenderer.h (working copy)
@@ -42,7 +42,6 @@
GrDrawTarget* target,
const GrRect& rect,
const SkMatrix& combinedMatrix,
- const GrRect& devRect,
bool useVertexCoverage) {
#ifdef SHADER_AA_FILL_RECT
if (combinedMatrix.rectStaysRect()) {
@@ -55,13 +54,14 @@
#else
this->geometryFillAARect(gpu, target,
rect, combinedMatrix,
- devRect, useVertexCoverage);
+ useVertexCoverage);
#endif
}
void strokeAARect(GrGpu* gpu,
GrDrawTarget* target,
- const GrRect& devRect,
+ const GrRect& rect,
+ const SkMatrix& combinedMatrix,
const GrVec& devStrokeSize,
bool useVertexCoverage);
@@ -80,7 +80,6 @@
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698