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 GrPathProcessor_DEFINED | 8 #ifndef GrPathProcessor_DEFINED |
9 #define GrPathProcessor_DEFINED | 9 #define GrPathProcessor_DEFINED |
10 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 bool willUseGeoShader() const override { return false; } | 48 bool willUseGeoShader() const override { return false; } |
49 | 49 |
50 virtual void getGLProcessorKey(const GrBatchTracker& bt, | 50 virtual void getGLProcessorKey(const GrBatchTracker& bt, |
51 const GrGLSLCaps& caps, | 51 const GrGLSLCaps& caps, |
52 GrProcessorKeyBuilder* b) const override; | 52 GrProcessorKeyBuilder* b) const override; |
53 | 53 |
54 virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt, | 54 virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt, |
55 const GrGLSLCaps& caps) con
st override; | 55 const GrGLSLCaps& caps) con
st override; |
56 | 56 |
| 57 bool hasTransformedLocalCoords() const override { return false; } |
| 58 |
57 private: | 59 private: |
58 GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& l
ocalMatrix); | 60 GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& l
ocalMatrix); |
59 | 61 |
60 bool hasExplicitLocalCoords() const override { return false; } | 62 bool hasExplicitLocalCoords() const override { return false; } |
61 | 63 |
62 GrColor fColor; | 64 GrColor fColor; |
63 const SkMatrix fViewMatrix; | 65 const SkMatrix fViewMatrix; |
64 const SkMatrix fLocalMatrix; | 66 const SkMatrix fLocalMatrix; |
65 | 67 |
66 typedef GrPrimitiveProcessor INHERITED; | 68 typedef GrPrimitiveProcessor INHERITED; |
67 }; | 69 }; |
68 | 70 |
69 #endif | 71 #endif |
OLD | NEW |