diff options
author | 2012-05-31 12:52:43 +0000 | |
---|---|---|
committer | 2012-05-31 12:52:43 +0000 | |
commit | 13f1b6f1569bb5c639ca762f6b153133173c6295 (patch) | |
tree | 8bfa31fca505c479223b1a6360c44f9ae4e899c9 /src/gpu/GrInOrderDrawBuffer.h | |
parent | e5720e3202d83790f37c9e5104d71a190107b9a3 (diff) |
Add a bunch of SK_OVERRIDES and remove and unused function
Review URL: http://codereview.appspot.com/6245072/
git-svn-id: http://skia.googlecode.com/svn/trunk@4088 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.h')
-rw-r--r-- | src/gpu/GrInOrderDrawBuffer.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h index fa3e0a2613..a467f6c173 100644 --- a/src/gpu/GrInOrderDrawBuffer.h +++ b/src/gpu/GrInOrderDrawBuffer.h @@ -143,25 +143,27 @@ private: int startVertex, int startIndex, int vertexCount, - int indexCount); + int indexCount) SK_OVERRIDE; virtual void onDrawNonIndexed(GrPrimitiveType primitiveType, int startVertex, - int vertexCount); + int vertexCount) SK_OVERRIDE; virtual bool onReserveVertexSpace(GrVertexLayout layout, int vertexCount, - void** vertices); - virtual bool onReserveIndexSpace(int indexCount, void** indices); - virtual void releaseReservedVertexSpace(); - virtual void releaseReservedIndexSpace(); + void** vertices) SK_OVERRIDE; + virtual bool onReserveIndexSpace(int indexCount, + void** indices) SK_OVERRIDE; + virtual void releaseReservedVertexSpace() SK_OVERRIDE; + virtual void releaseReservedIndexSpace() SK_OVERRIDE; virtual void onSetVertexSourceToArray(const void* vertexArray, - int vertexCount); + int vertexCount) SK_OVERRIDE; virtual void onSetIndexSourceToArray(const void* indexArray, - int indexCount); - virtual void releaseVertexArray(); - virtual void releaseIndexArray(); - virtual void geometrySourceWillPush(); - virtual void geometrySourceWillPop(const GeometrySrcState& restoredState); - virtual void clipWillBeSet(const GrClip& newClip); + int indexCount) SK_OVERRIDE; + virtual void releaseVertexArray() SK_OVERRIDE; + virtual void releaseIndexArray() SK_OVERRIDE; + virtual void geometrySourceWillPush() SK_OVERRIDE; + virtual void geometrySourceWillPop( + const GeometrySrcState& restoredState) SK_OVERRIDE; + virtual void clipWillBeSet(const GrClip& newClip) SK_OVERRIDE; bool needsNewState() const; bool needsNewClip() const; |