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

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

Issue 1127713002: Move RectBatch to GrRectBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@command-builder
Patch Set: more Created 5 years, 7 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/GrDrawTarget.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('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 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 #ifndef GrInOrderDrawBuffer_DEFINED 8 #ifndef GrInOrderDrawBuffer_DEFINED
9 #define GrInOrderDrawBuffer_DEFINED 9 #define GrInOrderDrawBuffer_DEFINED
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void unallocState(State* state) { 83 void unallocState(State* state) {
84 state->unref(); 84 state->unref();
85 fPipelineBuffer.unalloc(state); 85 fPipelineBuffer.unalloc(state);
86 } 86 }
87 87
88 void onReset() override; 88 void onReset() override;
89 void onFlush() override; 89 void onFlush() override;
90 90
91 // overrides from GrDrawTarget 91 // overrides from GrDrawTarget
92 void onDrawBatch(GrBatch*, const PipelineInfo&) override; 92 void onDrawBatch(GrBatch*, const PipelineInfo&) override;
93 void onDrawRect(GrPipelineBuilder*,
94 GrColor,
95 const SkMatrix& viewMatrix,
96 const SkRect& rect,
97 const SkRect* localRect,
98 const SkMatrix* localMatrix) override;
99 void onStencilPath(const GrPipelineBuilder&, 93 void onStencilPath(const GrPipelineBuilder&,
100 const GrPathProcessor*, 94 const GrPathProcessor*,
101 const GrPath*, 95 const GrPath*,
102 const GrScissorState&, 96 const GrScissorState&,
103 const GrStencilSettings&) override; 97 const GrStencilSettings&) override;
104 void onDrawPath(const GrPathProcessor*, 98 void onDrawPath(const GrPathProcessor*,
105 const GrPath*, 99 const GrPath*,
106 const GrStencilSettings&, 100 const GrStencilSettings&,
107 const PipelineInfo&) override; 101 const PipelineInfo&) override;
108 void onDrawPaths(const GrPathProcessor*, 102 void onDrawPaths(const GrPathProcessor*,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 SkChunkAlloc fPathIndexBuffer; 148 SkChunkAlloc fPathIndexBuffer;
155 SkChunkAlloc fPathTransformBuffer; 149 SkChunkAlloc fPathTransformBuffer;
156 SkChunkAlloc fPipelineBuffer; 150 SkChunkAlloc fPipelineBuffer;
157 uint32_t fDrawID; 151 uint32_t fDrawID;
158 SkAutoTUnref<State> fPrevState; 152 SkAutoTUnref<State> fPrevState;
159 153
160 typedef GrClipTarget INHERITED; 154 typedef GrClipTarget INHERITED;
161 }; 155 };
162 156
163 #endif 157 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698