diff options
Diffstat (limited to 'include/gpu/GrPaint.h')
-rw-r--r-- | include/gpu/GrPaint.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h index 75d3a2d0da..d1c2775f1f 100644 --- a/include/gpu/GrPaint.h +++ b/include/gpu/GrPaint.h @@ -12,6 +12,7 @@ #include "GrColor.h" #include "GrFragmentStage.h" +#include "GrShaderDataManager.h" #include "GrXferProcessor.h" #include "effects/GrPorterDuffXferProcessor.h" @@ -136,6 +137,8 @@ public: */ bool isConstantBlendedColor(GrColor* constantColor) const; + GrShaderDataManager* getShaderDataManager() { return &fShaderDataManager; } + private: mutable SkAutoTUnref<const GrXPFactory> fXPFactory; SkSTArray<4, GrFragmentStage> fColorStages; @@ -145,6 +148,7 @@ private: bool fDither; GrColor fColor; + GrShaderDataManager fShaderDataManager; }; #endif |