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

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

Issue 1117433002: Remove GrFlushToGpuDrawTarget and move functionality up to GrDrawTarget. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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/GrInOrderDrawBuffer.cpp ('k') | src/gpu/GrTargetCommands.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 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 GrTargetCommands_DEFINED 8 #ifndef GrTargetCommands_DEFINED
9 #define GrTargetCommands_DEFINED 9 #define GrTargetCommands_DEFINED
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 const float transformValues[], 118 const float transformValues[],
119 GrDrawTarget::PathTransformType , 119 GrDrawTarget::PathTransformType ,
120 int, 120 int,
121 const GrStencilSettings&, 121 const GrStencilSettings&,
122 const GrDrawTarget::PipelineInfo&); 122 const GrDrawTarget::PipelineInfo&);
123 Cmd* recordClear(GrInOrderDrawBuffer*, 123 Cmd* recordClear(GrInOrderDrawBuffer*,
124 const SkIRect* rect, 124 const SkIRect* rect,
125 GrColor, 125 GrColor,
126 bool canIgnoreRect, 126 bool canIgnoreRect,
127 GrRenderTarget*); 127 GrRenderTarget*);
128 Cmd* recordCopySurface(GrInOrderDrawBuffer*, 128 Cmd* recordCopySurface(GrSurface* dst,
129 GrSurface* dst,
130 GrSurface* src, 129 GrSurface* src,
131 const SkIRect& srcRect, 130 const SkIRect& srcRect,
132 const SkIPoint& dstPoint); 131 const SkIPoint& dstPoint);
133 132
134 protected: 133 protected:
135 void willReserveVertexAndIndexSpace(int vertexCount, 134 void willReserveVertexAndIndexSpace(int vertexCount,
136 size_t vertexStride, 135 size_t vertexStride,
137 int indexCount); 136 int indexCount);
138 137
139 private: 138 private:
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 // TODO hack until batch is everywhere 314 // TODO hack until batch is everywhere
316 GrTargetCommands::DrawBatch* fDrawBatch; 315 GrTargetCommands::DrawBatch* fDrawBatch;
317 316
318 // This will go away when everything uses batch. However, in the short ter m anything which 317 // This will go away when everything uses batch. However, in the short ter m anything which
319 // might be put into the GrInOrderDrawBuffer needs to make sure it closes t he last batch 318 // might be put into the GrInOrderDrawBuffer needs to make sure it closes t he last batch
320 void closeBatch(); 319 void closeBatch();
321 }; 320 };
322 321
323 #endif 322 #endif
324 323
OLDNEW
« no previous file with comments | « src/gpu/GrInOrderDrawBuffer.cpp ('k') | src/gpu/GrTargetCommands.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698