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 GrGeometryProcessor_DEFINED | 8 #ifndef GrGeometryProcessor_DEFINED |
9 #define GrGeometryProcessor_DEFINED | 9 #define GrGeometryProcessor_DEFINED |
10 | 10 |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 | 368 |
369 GrColor color() const { return fColor; } | 369 GrColor color() const { return fColor; } |
370 | 370 |
371 void getInvariantOutputColor(GrInitInvariantOutput* out) const SK_OVERRIDE; | 371 void getInvariantOutputColor(GrInitInvariantOutput* out) const SK_OVERRIDE; |
372 void getInvariantOutputCoverage(GrInitInvariantOutput* out) const SK_OVERRID
E; | 372 void getInvariantOutputCoverage(GrInitInvariantOutput* out) const SK_OVERRID
E; |
373 | 373 |
374 virtual void getGLProcessorKey(const GrBatchTracker& bt, | 374 virtual void getGLProcessorKey(const GrBatchTracker& bt, |
375 const GrGLCaps& caps, | 375 const GrGLCaps& caps, |
376 GrProcessorKeyBuilder* b) const SK_OVERRIDE; | 376 GrProcessorKeyBuilder* b) const SK_OVERRIDE; |
377 | 377 |
378 virtual GrGLGeometryProcessor* createGLInstance(const GrBatchTracker& bt) co
nst SK_OVERRIDE; | 378 GrGLGeometryProcessor* createGLInstance(const GrBatchTracker& bt) const SK_O
VERRIDE; |
379 | 379 |
380 private: | 380 private: |
381 GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& l
ocalMatrix); | 381 GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& l
ocalMatrix); |
382 GrColor fColor; | 382 GrColor fColor; |
383 | 383 |
384 typedef GrPrimitiveProcessor INHERITED; | 384 typedef GrPrimitiveProcessor INHERITED; |
385 }; | 385 }; |
386 #endif | 386 #endif |
OLD | NEW |