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

Unified Diff: include/gpu/GrPaint.h

Issue 1225673007: Initial CL to create dummy GrShaderDataManager and thread it through (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 5 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
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

Powered by Google App Engine
This is Rietveld 408576698