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

Unified Diff: src/gpu/effects/GrDistanceFieldTextureEffect.h

Issue 820783005: More changes to bring together path / geo procs (Closed) Base URL: https://skia.googlesource.com/skia.git@lc1
Patch Set: dm fix Created 5 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/effects/GrDashingEffect.cpp ('k') | src/gpu/effects/GrDistanceFieldTextureEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrDistanceFieldTextureEffect.h
diff --git a/src/gpu/effects/GrDistanceFieldTextureEffect.h b/src/gpu/effects/GrDistanceFieldTextureEffect.h
index 2fb448b4634af53628dec1f5a3ef110115e2b0eb..5a99d24fb131dd8a115e1a4823a6d30b41a8acc7 100644
--- a/src/gpu/effects/GrDistanceFieldTextureEffect.h
+++ b/src/gpu/effects/GrDistanceFieldTextureEffect.h
@@ -68,9 +68,9 @@ public:
const char* name() const SK_OVERRIDE { return "DistanceFieldTexture"; }
- const GrAttribute* inPosition() const { return fInPosition; }
- const GrAttribute* inColor() const { return fInColor; }
- const GrAttribute* inTextureCoords() const { return fInTextureCoords; }
+ const Attribute* inPosition() const { return fInPosition; }
+ const Attribute* inColor() const { return fInColor; }
+ const Attribute* inTextureCoords() const { return fInTextureCoords; }
#ifdef SK_GAMMA_APPLY_TO_A8
float getLuminance() const { return fLuminance; }
#endif
@@ -107,9 +107,9 @@ private:
float fLuminance;
#endif
uint32_t fFlags;
- const GrAttribute* fInPosition;
- const GrAttribute* fInColor;
- const GrAttribute* fInTextureCoords;
+ const Attribute* fInPosition;
+ const Attribute* fInColor;
+ const Attribute* fInTextureCoords;
GR_DECLARE_GEOMETRY_PROCESSOR_TEST;
@@ -136,9 +136,9 @@ public:
const char* name() const SK_OVERRIDE { return "DistanceFieldTexture"; }
- const GrAttribute* inPosition() const { return fInPosition; }
- const GrAttribute* inColor() const { return fInColor; }
- const GrAttribute* inTextureCoords() const { return fInTextureCoords; }
+ const Attribute* inPosition() const { return fInPosition; }
+ const Attribute* inColor() const { return fInColor; }
+ const Attribute* inTextureCoords() const { return fInTextureCoords; }
uint32_t getFlags() const { return fFlags; }
virtual void getGLProcessorKey(const GrBatchTracker& bt,
@@ -165,9 +165,9 @@ private:
GrTextureAccess fTextureAccess;
uint32_t fFlags;
- const GrAttribute* fInPosition;
- const GrAttribute* fInColor;
- const GrAttribute* fInTextureCoords;
+ const Attribute* fInPosition;
+ const Attribute* fInColor;
+ const Attribute* fInTextureCoords;
GR_DECLARE_GEOMETRY_PROCESSOR_TEST;
@@ -194,8 +194,8 @@ public:
const char* name() const SK_OVERRIDE { return "DistanceFieldLCDTexture"; }
- const GrAttribute* inPosition() const { return fInPosition; }
- const GrAttribute* inTextureCoords() const { return fInTextureCoords; }
+ const Attribute* inPosition() const { return fInPosition; }
+ const Attribute* inTextureCoords() const { return fInTextureCoords; }
GrColor getTextColor() const { return fTextColor; }
uint32_t getFlags() const { return fFlags; }
@@ -226,8 +226,8 @@ private:
GrTextureAccess fGammaTextureAccess;
GrColor fTextColor;
uint32_t fFlags;
- const GrAttribute* fInPosition;
- const GrAttribute* fInTextureCoords;
+ const Attribute* fInPosition;
+ const Attribute* fInTextureCoords;
GR_DECLARE_GEOMETRY_PROCESSOR_TEST;
« no previous file with comments | « src/gpu/effects/GrDashingEffect.cpp ('k') | src/gpu/effects/GrDistanceFieldTextureEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698