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

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

Issue 1315923004: Convert child FPs from refs to pending executions when parent converts (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update comments Created 5 years, 3 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 | « include/gpu/GrXferProcessor.h ('k') | src/gpu/GrProcessor.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 2013 Google Inc. 2 * Copyright 2013 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 GrPrimitiveProcessor_DEFINED 8 #ifndef GrPrimitiveProcessor_DEFINED
9 #define GrPrimitiveProcessor_DEFINED 9 #define GrPrimitiveProcessor_DEFINED
10 10
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 GrPrimitiveProcessor(bool isPathRendering) 257 GrPrimitiveProcessor(bool isPathRendering)
258 : fNumAttribs(0) 258 : fNumAttribs(0)
259 , fVertexStride(0) 259 , fVertexStride(0)
260 , fIsPathRendering(isPathRendering) {} 260 , fIsPathRendering(isPathRendering) {}
261 261
262 Attribute fAttribs[kMaxVertexAttribs]; 262 Attribute fAttribs[kMaxVertexAttribs];
263 int fNumAttribs; 263 int fNumAttribs;
264 size_t fVertexStride; 264 size_t fVertexStride;
265 265
266 private: 266 private:
267 void notifyRefCntIsZero() const final {};
267 virtual bool hasExplicitLocalCoords() const = 0; 268 virtual bool hasExplicitLocalCoords() const = 0;
268 269
269 bool fIsPathRendering; 270 bool fIsPathRendering;
270 271
271 typedef GrProcessor INHERITED; 272 typedef GrProcessor INHERITED;
272 }; 273 };
273 274
274 #endif 275 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrXferProcessor.h ('k') | src/gpu/GrProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698