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

Side by Side Diff: src/gpu/effects/GrBitmapTextGeoProc.h

Issue 794843002: Revert of Remove GP from drawstate, revision of invariant output for GP (Closed) Base URL: https://skia.googlesource.com/skia.git@color-to-gp
Patch Set: Created 6 years 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 | « src/gpu/effects/GrBicubicEffect.cpp ('k') | src/gpu/effects/GrBitmapTextGeoProc.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 GrBitmapTextGeoProc_DEFINED 8 #ifndef GrBitmapTextGeoProc_DEFINED
9 #define GrBitmapTextGeoProc_DEFINED 9 #define GrBitmapTextGeoProc_DEFINED
10 10
(...skipping 27 matching lines...) Expand all
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 onGetInvariantOutputCoverage(GrInitInvariantOutput*) const SK_O VERRIDE; 48 virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVE RRIDE;
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
OLDNEW
« no previous file with comments | « src/gpu/effects/GrBicubicEffect.cpp ('k') | src/gpu/effects/GrBitmapTextGeoProc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698