diff options
author | 2011-02-22 20:34:01 +0000 | |
---|---|---|
committer | 2011-02-22 20:34:01 +0000 | |
commit | ffca400ef6f96a280c3e2c09210f950af64a1f24 (patch) | |
tree | 2292badadfe451a456616652c8df3291d8a80158 /gpu/include/GrInOrderDrawBuffer.h | |
parent | bdee9fc778d4387d805d717f2cd7fc7074991fdb (diff) |
Make a separate path renderer object. Move enum types to GrTypes.h
Review URL http://codereview.appspot.com/4167067/
git-svn-id: http://skia.googlecode.com/svn/trunk@829 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include/GrInOrderDrawBuffer.h')
-rw-r--r-- | gpu/include/GrInOrderDrawBuffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/include/GrInOrderDrawBuffer.h b/gpu/include/GrInOrderDrawBuffer.h index 0dba8e3e00..d59eb96b08 100644 --- a/gpu/include/GrInOrderDrawBuffer.h +++ b/gpu/include/GrInOrderDrawBuffer.h @@ -81,12 +81,12 @@ public: void playback(GrDrawTarget* target); // overrides from GrDrawTarget - virtual void drawIndexed(PrimitiveType primitiveType, + virtual void drawIndexed(GrPrimitiveType primitiveType, int startVertex, int startIndex, int vertexCount, int indexCount); - virtual void drawNonIndexed(PrimitiveType primitiveType, + virtual void drawNonIndexed(GrPrimitiveType primitiveType, int startVertex, int vertexCount); @@ -103,7 +103,7 @@ public: private: struct Draw { - PrimitiveType fPrimitiveType; + GrPrimitiveType fPrimitiveType; int fStartVertex; int fStartIndex; int fVertexCount; |