| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |