| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 #ifndef GrBatchBuffer_DEFINED | 8 #ifndef GrBatchBuffer_DEFINED |
| 9 #define GrBatchBuffer_DEFINED | 9 #define GrBatchBuffer_DEFINED |
| 10 | 10 |
| 11 #include "GrBatchAtlas.h" | 11 #include "GrBatchAtlas.h" |
| 12 #include "GrBufferAllocPool.h" | 12 #include "GrBufferAllocPool.h" |
| 13 #include "GrContext.h" |
| 13 #include "GrPendingProgramElement.h" | 14 #include "GrPendingProgramElement.h" |
| 14 #include "GrPipeline.h" | 15 #include "GrPipeline.h" |
| 15 #include "GrTRecorder.h" | 16 #include "GrTRecorder.h" |
| 16 #include "GrVertices.h" | 17 #include "GrVertices.h" |
| 17 | 18 |
| 18 /* | 19 /* |
| 19 * GrBatch instances use this object to allocate space for their geometry and to
issue the draws | 20 * GrBatch instances use this object to allocate space for their geometry and to
issue the draws |
| 20 * that render their batch. | 21 * that render their batch. |
| 21 */ | 22 */ |
| 22 class GrBatchTarget : public SkNoncopyable { | 23 class GrBatchTarget : public SkNoncopyable { |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 FlushBuffer::Iter fIter; | 160 FlushBuffer::Iter fIter; |
| 160 int fNumberOfDraws; | 161 int fNumberOfDraws; |
| 161 BatchToken fCurrentToken; | 162 BatchToken fCurrentToken; |
| 162 BatchToken fLastFlushedToken; // The next token to be flushed | 163 BatchToken fLastFlushedToken; // The next token to be flushed |
| 163 SkTArray<SkAutoTUnref<Uploader>, true> fAsapUploads; | 164 SkTArray<SkAutoTUnref<Uploader>, true> fAsapUploads; |
| 164 SkTArray<SkAutoTUnref<Uploader>, true> fInlineUploads; | 165 SkTArray<SkAutoTUnref<Uploader>, true> fInlineUploads; |
| 165 int fInlineUpdatesIndex; | 166 int fInlineUpdatesIndex; |
| 166 }; | 167 }; |
| 167 | 168 |
| 168 #endif | 169 #endif |
| OLD | NEW |