Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: src/gpu/GrBatchTarget.h

Issue 1157683006: Refactor GrGpu path rendering functions to GrPathRendering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase, remove include ordering Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrBatchFontCache.cpp ('k') | src/gpu/GrGpu.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/gpu/GrBatchFontCache.cpp ('k') | src/gpu/GrGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698