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

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

Issue 1301823002: Put drawPath in GrBatch. (Closed) Base URL: https://skia.googlesource.com/skia.git@nvprbatch
Patch Set: update Created 5 years, 4 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/GrCommandBuilder.h ('k') | src/gpu/GrDrawTarget.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 2010 Google Inc. 2 * Copyright 2010 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 GrDrawTarget_DEFINED 8 #ifndef GrDrawTarget_DEFINED
9 #define GrDrawTarget_DEFINED 9 #define GrDrawTarget_DEFINED
10 10
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 GrXferProcessor::DstTexture*, 236 GrXferProcessor::DstTexture*,
237 const SkRect* drawBounds); 237 const SkRect* drawBounds);
238 238
239 virtual void onDrawBatch(GrBatch*) = 0; 239 virtual void onDrawBatch(GrBatch*) = 0;
240 240
241 private: 241 private:
242 virtual void onReset() = 0; 242 virtual void onReset() = 0;
243 243
244 virtual void onFlush() = 0; 244 virtual void onFlush() = 0;
245 245
246 virtual void onDrawPath(const GrPathProcessor*,
247 const GrPath*,
248 const GrStencilSettings&,
249 const PipelineInfo&) = 0;
250 virtual void onDrawPaths(const GrPathProcessor*, 246 virtual void onDrawPaths(const GrPathProcessor*,
251 const GrPathRange*, 247 const GrPathRange*,
252 const void* indices, 248 const void* indices,
253 PathIndexType, 249 PathIndexType,
254 const float transformValues[], 250 const float transformValues[],
255 PathTransformType, 251 PathTransformType,
256 int count, 252 int count,
257 const GrStencilSettings&, 253 const GrStencilSettings&,
258 const PipelineInfo&) = 0; 254 const PipelineInfo&) = 0;
259 255
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 bool setupClip(const GrPipelineBuilder&, 314 bool setupClip(const GrPipelineBuilder&,
319 GrPipelineBuilder::AutoRestoreFragmentProcessorState*, 315 GrPipelineBuilder::AutoRestoreFragmentProcessorState*,
320 GrPipelineBuilder::AutoRestoreStencil*, 316 GrPipelineBuilder::AutoRestoreStencil*,
321 GrScissorState* scissorState, 317 GrScissorState* scissorState,
322 const SkRect* devBounds) override; 318 const SkRect* devBounds) override;
323 319
324 typedef GrDrawTarget INHERITED; 320 typedef GrDrawTarget INHERITED;
325 }; 321 };
326 322
327 #endif 323 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrCommandBuilder.h ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698