commit | 873ea0c93f202600ec2591bc1e2e5d7a1e05f59d | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Mar 30 15:55:32 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Mar 30 15:55:32 2012 +0000 |
tree | a2099bcda7be79a4024fd2708279d7014330bf10 | |
parent | bd8d7adb0ac9533a04e7b7a481371d4c66bbbc9b [diff] [blame] |
Make fewer copies when using GrDrawTarget::AutoStateRestore Review URL: http://codereview.appspot.com/5938043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3557 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h index e334520..3b27d70 100644 --- a/src/gpu/GrInOrderDrawBuffer.h +++ b/src/gpu/GrInOrderDrawBuffer.h
@@ -182,7 +182,7 @@ }; GrSTAllocator<kDrawPreallocCnt, Draw> fDraws; - GrSTAllocator<kStatePreallocCnt, SavedDrawState> fStates; + GrSTAllocator<kStatePreallocCnt, GrDrawState> fStates; GrSTAllocator<kClearPreallocCnt, Clear> fClears; GrSTAllocator<kClipPreallocCnt, GrClip> fClips;