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 GrBitmapTextGeoProc_DEFINED | 8 #ifndef GrBitmapTextGeoProc_DEFINED |
9 #define GrBitmapTextGeoProc_DEFINED | 9 #define GrBitmapTextGeoProc_DEFINED |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 const GrGLCaps& caps, | 38 const GrGLCaps& caps, |
39 GrProcessorKeyBuilder* b) const SK_OVERRIDE; | 39 GrProcessorKeyBuilder* b) const SK_OVERRIDE; |
40 | 40 |
41 virtual GrGLGeometryProcessor* createGLInstance(const GrBatchTracker& bt) co
nst SK_OVERRIDE; | 41 virtual GrGLGeometryProcessor* createGLInstance(const GrBatchTracker& bt) co
nst SK_OVERRIDE; |
42 | 42 |
43 private: | 43 private: |
44 GrBitmapTextGeoProc(GrColor, GrTexture* texture, const GrTextureParams& para
ms, bool useColorAttrib); | 44 GrBitmapTextGeoProc(GrColor, GrTexture* texture, const GrTextureParams& para
ms, bool useColorAttrib); |
45 | 45 |
46 virtual bool onIsEqual(const GrGeometryProcessor& other) const SK_OVERRIDE; | 46 virtual bool onIsEqual(const GrGeometryProcessor& other) const SK_OVERRIDE; |
47 | 47 |
48 virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVE
RRIDE; | 48 virtual void onComputeOutputCoverage(GrInitInvariantOutput*) const SK_OVERRI
DE; |
49 | 49 |
50 GrTextureAccess fTextureAccess; | 50 GrTextureAccess fTextureAccess; |
51 const GrAttribute* fInPosition; | 51 const GrAttribute* fInPosition; |
52 const GrAttribute* fInColor; | 52 const GrAttribute* fInColor; |
53 const GrAttribute* fInTextureCoords; | 53 const GrAttribute* fInTextureCoords; |
54 | 54 |
55 GR_DECLARE_GEOMETRY_PROCESSOR_TEST; | 55 GR_DECLARE_GEOMETRY_PROCESSOR_TEST; |
56 | 56 |
57 typedef GrGeometryProcessor INHERITED; | 57 typedef GrGeometryProcessor INHERITED; |
58 }; | 58 }; |
59 | 59 |
60 #endif | 60 #endif |
OLD | NEW |