Index: include/gpu/GrFragmentProcessor.h |
diff --git a/include/gpu/GrFragmentProcessor.h b/include/gpu/GrFragmentProcessor.h |
index 28778fd10acb714a8617c66e2ac1f72db3ea3074..f872d908350b5ce0a0acc12dee6a6b379fbefcf5 100644 |
--- a/include/gpu/GrFragmentProcessor.h |
+++ b/include/gpu/GrFragmentProcessor.h |
@@ -70,9 +70,9 @@ protected: |
void addCoordTransform(const GrCoordTransform*); |
/** |
- * If the prceossor subclass will read the destination pixel value then it must call this function |
- * from its constructor. Otherwise, when its generated backend-specific prceossor class attempts |
- * to generate code that reads the destination pixel it will fail. |
+ * If the prceossor subclass will read the destination pixel value then it must call this |
+ * function from its constructor. Otherwise, when its generated backend-specific prceossor class |
+ * attempts to generate code that reads the destination pixel it will fail. |
*/ |
void setWillReadDstColor() { fWillReadDstColor = true; } |
@@ -96,13 +96,4 @@ private: |
typedef GrProcessor INHERITED; |
}; |
-/** |
- * This creates an effect outside of the effect memory pool. The effect's destructor will be called |
- * at global destruction time. NAME will be the name of the created GrProcessor. |
- */ |
-#define GR_CREATE_STATIC_FRAGMENT_PROCESSOR(NAME, FP_CLASS, ARGS) \ |
-static SkAlignedSStorage<sizeof(FP_CLASS)> g_##NAME##_Storage; \ |
-static GrFragmentProcessor* NAME SkNEW_PLACEMENT_ARGS(g_##NAME##_Storage.get(), FP_CLASS, ARGS); \ |
-static SkAutoTDestroy<GrFragmentProcessor> NAME##_ad(NAME); |
- |
#endif |