GrCustomStage Renaming Part 3
Rename all things *CUSTOM_STAGE*, customStage*, and other miscellany
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6769048
git-svn-id: http://skia.googlecode.com/svn/trunk@6081 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/gpu/GrEffectUnitTest.h b/include/gpu/GrEffectUnitTest.h
index c18bdd0..427260c 100644
--- a/include/gpu/GrEffectUnitTest.h
+++ b/include/gpu/GrEffectUnitTest.h
@@ -52,8 +52,8 @@
/** GrEffect subclasses should insert this macro in their declaration to be included in the
* program generation unit test.
*/
-#define GR_DECLARE_CUSTOM_STAGE_TEST \
- static GrEffectTestFactory gTestFactory; \
+#define GR_DECLARE_EFFECT_TEST \
+ static GrEffectTestFactory gTestFactory; \
static GrEffect* TestCreate(SkRandom*, GrContext*, GrTexture* dummyTextures[2])
/** GrEffect subclasses should insert this macro in their implemenation file. They must then
@@ -63,16 +63,16 @@
* first texture has config kSkia8888_PM_GrPixelConfig and the second has kAlpha_8_GrPixelConfig.
* TestCreate functions are also free to create additional textures using the GrContext.
*/
-#define GR_DEFINE_CUSTOM_STAGE_TEST(CustomStage) \
- GrEffectTestFactory CustomStage :: gTestFactory(CustomStage :: TestCreate)
+#define GR_DEFINE_EFFECT_TEST(Effect) \
+ GrEffectTestFactory Effect :: gTestFactory(Effect :: TestCreate)
#else // !SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
// The unit test relies on static initializers. Just declare the TestCreate function so that
// its definitions will compile.
-#define GR_DECLARE_CUSTOM_STAGE_TEST \
+#define GR_DECLARE_EFFECT_TEST \
static GrEffect* TestCreate(SkRandom*, GrContext*, GrTexture* dummyTextures[2])
-#define GR_DEFINE_CUSTOM_STAGE_TEST(X)
+#define GR_DEFINE_EFFECT_TEST(X)
#endif // !SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
#endif