| Index: include/gpu/GrEffectUnitTest.h
|
| diff --git a/include/gpu/GrEffectUnitTest.h b/include/gpu/GrEffectUnitTest.h
|
| index 557602fd5df9c9ca8b3831213c231fd85febb3b7..78506da1979a7355395923e567eb8ed427e17eae 100644
|
| --- a/include/gpu/GrEffectUnitTest.h
|
| +++ b/include/gpu/GrEffectUnitTest.h
|
| @@ -25,7 +25,7 @@ enum {
|
| /**
|
| * A helper for use in GrEffect::TestCreate functions.
|
| */
|
| -const SkMatrix& TestMatrix(SkMWCRandom*);
|
| +const SkMatrix& TestMatrix(SkRandom*);
|
|
|
| }
|
|
|
| @@ -38,7 +38,7 @@ class GrTexture;
|
| class GrEffectTestFactory : GrNoncopyable {
|
| public:
|
|
|
| - typedef GrEffectRef* (*CreateProc)(SkMWCRandom*,
|
| + typedef GrEffectRef* (*CreateProc)(SkRandom*,
|
| GrContext*,
|
| const GrDrawTargetCaps& caps,
|
| GrTexture* dummyTextures[]);
|
| @@ -48,7 +48,7 @@ public:
|
| GetFactories()->push_back(this);
|
| }
|
|
|
| - static GrEffectRef* CreateStage(SkMWCRandom* random,
|
| + static GrEffectRef* CreateStage(SkRandom* random,
|
| GrContext* context,
|
| const GrDrawTargetCaps& caps,
|
| GrTexture* dummyTextures[]) {
|
| @@ -67,14 +67,14 @@ private:
|
| */
|
| #define GR_DECLARE_EFFECT_TEST \
|
| static GrEffectTestFactory gTestFactory; \
|
| - static GrEffectRef* TestCreate(SkMWCRandom*, \
|
| + static GrEffectRef* TestCreate(SkRandom*, \
|
| GrContext*, \
|
| const GrDrawTargetCaps&, \
|
| GrTexture* dummyTextures[2])
|
|
|
| /** GrEffect subclasses should insert this macro in their implementation file. They must then
|
| * also implement this static function:
|
| - * GrEffect* TestCreate(SkMWCRandom*,
|
| + * GrEffect* TestCreate(SkRandom*,
|
| * GrContext*,
|
| * const GrDrawTargetCaps&,
|
| * GrTexture* dummyTextures[2]);
|
| @@ -91,7 +91,7 @@ private:
|
| // The unit test relies on static initializers. Just declare the TestCreate function so that
|
| // its definitions will compile.
|
| #define GR_DECLARE_EFFECT_TEST \
|
| - static GrEffectRef* TestCreate(SkMWCRandom*, \
|
| + static GrEffectRef* TestCreate(SkRandom*, \
|
| GrContext*, \
|
| const GrDrawTargetCaps&, \
|
| GrTexture* dummyTextures[2])
|
|
|