| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "GrInOrderDrawBuffer.h" | 8 #include "GrInOrderDrawBuffer.h" |
| 9 | 9 |
| 10 #include "GrBufferAllocPool.h" | 10 #include "GrBufferAllocPool.h" |
| 11 #include "GrDrawTargetCaps.h" | 11 #include "GrDrawTargetCaps.h" |
| 12 #include "GrGpu.h" | 12 #include "GrGpu.h" |
| 13 #include "GrIndexBuffer.h" | 13 #include "GrIndexBuffer.h" |
| 14 #include "GrPath.h" | 14 #include "GrPath.h" |
| 15 #include "GrPoint.h" | |
| 16 #include "GrRenderTarget.h" | 15 #include "GrRenderTarget.h" |
| 17 #include "GrTemplates.h" | 16 #include "GrTemplates.h" |
| 18 #include "GrTexture.h" | 17 #include "GrTexture.h" |
| 19 #include "GrVertexBuffer.h" | 18 #include "GrVertexBuffer.h" |
| 20 | 19 |
| 21 GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrGpu* gpu, | 20 GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrGpu* gpu, |
| 22 GrVertexBufferAllocPool* vertexPool, | 21 GrVertexBufferAllocPool* vertexPool, |
| 23 GrIndexBufferAllocPool* indexPool) | 22 GrIndexBufferAllocPool* indexPool) |
| 24 : GrDrawTarget(gpu->getContext()) | 23 : GrDrawTarget(gpu->getContext()) |
| 25 , fDstGpu(gpu) | 24 , fDstGpu(gpu) |
| (...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 this->addToCmdBuffer(kCopySurface_Cmd); | 981 this->addToCmdBuffer(kCopySurface_Cmd); |
| 983 return &fCopySurfaces.push_back(); | 982 return &fCopySurfaces.push_back(); |
| 984 } | 983 } |
| 985 | 984 |
| 986 | 985 |
| 987 void GrInOrderDrawBuffer::clipWillBeSet(const GrClipData* newClipData) { | 986 void GrInOrderDrawBuffer::clipWillBeSet(const GrClipData* newClipData) { |
| 988 INHERITED::clipWillBeSet(newClipData); | 987 INHERITED::clipWillBeSet(newClipData); |
| 989 fClipSet = true; | 988 fClipSet = true; |
| 990 fClipProxyState = kUnknown_ClipProxyState; | 989 fClipProxyState = kUnknown_ClipProxyState; |
| 991 } | 990 } |
| OLD | NEW |