OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #include "GrInOrderDrawBuffer.h" | 10 #include "GrInOrderDrawBuffer.h" |
11 #include "GrBufferAllocPool.h" | 11 #include "GrBufferAllocPool.h" |
| 12 #include "GrDrawTargetCaps.h" |
12 #include "GrGpu.h" | 13 #include "GrGpu.h" |
13 #include "GrIndexBuffer.h" | 14 #include "GrIndexBuffer.h" |
14 #include "GrPath.h" | 15 #include "GrPath.h" |
15 #include "GrRenderTarget.h" | 16 #include "GrRenderTarget.h" |
16 #include "GrTemplates.h" | 17 #include "GrTemplates.h" |
17 #include "GrTexture.h" | 18 #include "GrTexture.h" |
18 #include "GrVertexBuffer.h" | 19 #include "GrVertexBuffer.h" |
19 | 20 |
20 GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrGpu* gpu, | 21 GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrGpu* gpu, |
21 GrVertexBufferAllocPool* vertexPool, | 22 GrVertexBufferAllocPool* vertexPool, |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 GrInOrderDrawBuffer::Clear* GrInOrderDrawBuffer::recordClear() { | 759 GrInOrderDrawBuffer::Clear* GrInOrderDrawBuffer::recordClear() { |
759 fCmds.push_back(kClear_Cmd); | 760 fCmds.push_back(kClear_Cmd); |
760 return &fClears.push_back(); | 761 return &fClears.push_back(); |
761 } | 762 } |
762 | 763 |
763 void GrInOrderDrawBuffer::clipWillBeSet(const GrClipData* newClipData) { | 764 void GrInOrderDrawBuffer::clipWillBeSet(const GrClipData* newClipData) { |
764 INHERITED::clipWillBeSet(newClipData); | 765 INHERITED::clipWillBeSet(newClipData); |
765 fClipSet = true; | 766 fClipSet = true; |
766 fClipProxyState = kUnknown_ClipProxyState; | 767 fClipProxyState = kUnknown_ClipProxyState; |
767 } | 768 } |
OLD | NEW |