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

Unified Diff: include/gpu/GrAARectRenderer.h

Issue 13521006: First pass at Rect Effect (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: renamed isOrthogonal to preservesRightAngles Created 7 years, 8 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 | « include/core/SkMatrix.h ('k') | src/core/SkMatrix.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 8570)
+++ include/gpu/GrAARectRenderer.h (working copy)
@@ -15,6 +15,7 @@
class GrGpu;
class GrDrawTarget;
class GrIndexBuffer;
+class SkMatrix;
/*
* This class wraps helper functions that draw AA rects (filled & stroked)
@@ -35,7 +36,7 @@
}
// TODO: potentialy fuse the fill & stroke methods and differentiate
- // btween them by passing in strokeWidth (<0 means fill).
+ // between them by passing in strokeWidth (<0 means fill).
// TODO: Remove the useVertexCoverage boolean. Just use it all the time
// since we now have a coverage vertex attribute
@@ -44,6 +45,13 @@
const GrRect& devRect,
bool useVertexCoverage);
+ void shaderFillAARect(GrGpu* gpu,
+ GrDrawTarget* target,
+ const GrRect& rect,
+ const SkMatrix& combinedMatrix,
+ const GrRect& devRect,
+ bool useVertexCoverage);
+
void strokeAARect(GrGpu* gpu,
GrDrawTarget* target,
const GrRect& devRect,
« no previous file with comments | « include/core/SkMatrix.h ('k') | src/core/SkMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698