diff options
author | 2013-01-23 19:53:46 +0000 | |
---|---|---|
committer | 2013-01-23 19:53:46 +0000 | |
commit | ca43208e4aaac817fbc8265542f995f24a3fb7bf (patch) | |
tree | 9fd08c7548afb896dc361e438f77f23c98b6c0b6 /src/gpu/GrInOrderDrawBuffer.h | |
parent | 58f9ae1c7aa6e0a04c48ae907ad78f849ae14836 (diff) |
Reland r7342 with fixes.
git-svn-id: http://skia.googlecode.com/svn/trunk@7346 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.h')
-rw-r--r-- | src/gpu/GrInOrderDrawBuffer.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h index 1b893accd9..35cccbd48c 100644 --- a/src/gpu/GrInOrderDrawBuffer.h +++ b/src/gpu/GrInOrderDrawBuffer.h @@ -184,9 +184,7 @@ private: // these functions record a command void recordState(); - void recordDefaultState(); void recordClip(); - void recordDefaultClip(); Draw* recordDraw(); StencilPath* recordStencilPath(); Clear* recordClear(); @@ -205,11 +203,11 @@ private: kGeoPoolStatePreAllocCnt = 4, }; - SkSTArray<kCmdPreallocCnt, uint8_t, true> fCmds; - GrSTAllocator<kDrawPreallocCnt, Draw> fDraws; - GrSTAllocator<kStatePreallocCnt, StencilPath> fStencilPaths; - GrSTAllocator<kStatePreallocCnt, GrDrawState> fStates; - GrSTAllocator<kClearPreallocCnt, Clear> fClears; + SkSTArray<kCmdPreallocCnt, uint8_t, true> fCmds; + GrSTAllocator<kDrawPreallocCnt, Draw> fDraws; + GrSTAllocator<kStatePreallocCnt, StencilPath> fStencilPaths; + GrSTAllocator<kStatePreallocCnt, GrDrawState::DeferredState> fStates; + GrSTAllocator<kClearPreallocCnt, Clear> fClears; GrSTAllocator<kClipPreallocCnt, SkClipStack> fClips; GrSTAllocator<kClipPreallocCnt, SkIPoint> fClipOrigins; |