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

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

Issue 1293973003: Path stenciling in GrBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@rmcode
Patch Set: header order tweak 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 | « gyp/gpu.gypi ('k') | src/gpu/GrBufferedDrawTarget.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 GrBufferedDrawTarget_DEFINED 8 #ifndef GrBufferedDrawTarget_DEFINED
9 #define GrBufferedDrawTarget_DEFINED 9 #define GrBufferedDrawTarget_DEFINED
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 67
68 void unallocState(StateForPathDraw* state) { 68 void unallocState(StateForPathDraw* state) {
69 state->unref(); 69 state->unref();
70 fPipelineBuffer.unalloc(state); 70 fPipelineBuffer.unalloc(state);
71 } 71 }
72 72
73 void onReset() override; 73 void onReset() override;
74 void onFlush() override; 74 void onFlush() override;
75 75
76 void onStencilPath(const GrPipelineBuilder&,
77 const GrPathProcessor*,
78 const GrPath*,
79 const GrScissorState&,
80 const GrStencilSettings&) override;
81 void onDrawPath(const GrPathProcessor*, 76 void onDrawPath(const GrPathProcessor*,
82 const GrPath*, 77 const GrPath*,
83 const GrStencilSettings&, 78 const GrStencilSettings&,
84 const PipelineInfo&) override; 79 const PipelineInfo&) override;
85 void onDrawPaths(const GrPathProcessor*, 80 void onDrawPaths(const GrPathProcessor*,
86 const GrPathRange*, 81 const GrPathRange*,
87 const void* indices, 82 const void* indices,
88 PathIndexType, 83 PathIndexType,
89 const float transformValues[], 84 const float transformValues[],
90 PathTransformType, 85 PathTransformType,
(...skipping 23 matching lines...) Expand all
114 SkChunkAlloc fPathIndexBuffer; 109 SkChunkAlloc fPathIndexBuffer;
115 SkChunkAlloc fPathTransformBuffer; 110 SkChunkAlloc fPathTransformBuffer;
116 SkChunkAlloc fPipelineBuffer; 111 SkChunkAlloc fPipelineBuffer;
117 uint32_t fDrawID; 112 uint32_t fDrawID;
118 SkAutoTUnref<StateForPathDraw> fPrevState; 113 SkAutoTUnref<StateForPathDraw> fPrevState;
119 114
120 typedef GrClipTarget INHERITED; 115 typedef GrClipTarget INHERITED;
121 }; 116 };
122 117
123 #endif 118 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrBufferedDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698