Chromium Code Reviews| Index: include/gpu/GrPaint.h |
| diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h |
| index 75d3a2d0da6b1c24cf38c7f1ca17a8a98b510ddc..d1c2775f1fc66e2a9820236a0fe478c7c8ea5d14 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; } |
|
bsalomon
2015/07/08 14:56:03
Is this supposed to R/W?
|
| + |
| private: |
| mutable SkAutoTUnref<const GrXPFactory> fXPFactory; |
| SkSTArray<4, GrFragmentStage> fColorStages; |
| @@ -145,6 +148,7 @@ private: |
| bool fDither; |
| GrColor fColor; |
| + GrShaderDataManager fShaderDataManager; |
| }; |
| #endif |