diff options
author | 2013-02-06 18:53:12 +0000 | |
---|---|---|
committer | 2013-02-06 18:53:12 +0000 | |
commit | 1c7c01a1b3963d4d280a0d9c52b1af288d6e04a2 (patch) | |
tree | 6a0b668fac6a0274ebe0cddaad6b58a79a216fad /src/gpu/GrGpu.h | |
parent | e460a4718c0e9878aad2048cc1eddf12e430b71e (diff) |
Remove GR_STATIC_RECT_VB
Review URL: https://codereview.appspot.com/7304055
git-svn-id: http://skia.googlecode.com/svn/trunk@7625 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r-- | src/gpu/GrGpu.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h index d0ca377093..93427e01ac 100644 --- a/src/gpu/GrGpu.h +++ b/src/gpu/GrGpu.h @@ -146,13 +146,6 @@ public: const GrIndexBuffer* getQuadIndexBuffer() const; /** - * Returns a vertex buffer with four position-only vertices [(0,0), (1,0), - * (1,1), (0,1)]. - * @ return unit square vertex buffer - */ - const GrVertexBuffer* getUnitSquareVertexBuffer() const; - - /** * Resolves MSAA. */ void resolveRenderTarget(GrRenderTarget* target); @@ -534,8 +527,7 @@ private: // counts number of uses of vertex/index pool in the geometry stack int fVertexPoolUseCnt; int fIndexPoolUseCnt; - // these are mutable so they can be created on-demand - mutable GrVertexBuffer* fUnitSquareVertexBuffer; + // this is mutable so it can be created on-demand mutable GrIndexBuffer* fQuadIndexBuffer; bool fContextIsDirty; ResourceList fResourceList; |