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

Unified Diff: include/gpu/GrAARectRenderer.h

Issue 13521006: First pass at Rect Effect (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: fixed overlength lines 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
Index: include/gpu/GrAARectRenderer.h
===================================================================
--- include/gpu/GrAARectRenderer.h (revision 8539)
+++ 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,

Powered by Google App Engine
This is Rietveld 408576698