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

Unified Diff: src/gpu/GrDrawTarget.h

Issue 216293006: Use int rather than size_t for pathCount in GrDrawTarget::drawPaths (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: loop counters Created 6 years, 9 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/GrDrawTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 5b26ff5d5695ed3f7e447b1470deb22dea1db865..13bd5c88ac0abb5ed98d8d444f7bfd5f132e5e37 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -354,7 +354,7 @@ public:
* hairline.
* @param stroke the stroke for drawing all the paths.
*/
- void drawPaths(size_t pathCount, const GrPath** paths,
+ void drawPaths(int pathCount, const GrPath** paths,
const SkMatrix* transforms, SkPath::FillType fill,
SkStrokeRec::Style stroke);
@@ -499,7 +499,7 @@ public:
/**
* For subclass internal use to invoke a call to onDrawPaths().
*/
- void executeDrawPaths(size_t pathCount, const GrPath** paths,
+ void executeDrawPaths(int pathCount, const GrPath** paths,
const SkMatrix* transforms, SkPath::FillType fill,
SkStrokeRec::Style stroke,
const GrDeviceCoordTexture* dstCopy) {
@@ -892,7 +892,7 @@ private:
virtual void onStencilPath(const GrPath*, SkPath::FillType) = 0;
virtual void onDrawPath(const GrPath*, SkPath::FillType,
const GrDeviceCoordTexture* dstCopy) = 0;
- virtual void onDrawPaths(size_t, const GrPath**, const SkMatrix*,
+ virtual void onDrawPaths(int, const GrPath**, const SkMatrix*,
SkPath::FillType, SkStrokeRec::Style,
const GrDeviceCoordTexture* dstCopy) = 0;
« no previous file with comments | « no previous file | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698