diff options
author | 2015-04-28 13:31:18 -0700 | |
---|---|---|
committer | 2015-04-28 13:31:18 -0700 | |
commit | 4eaf9cef5a76098f78efac30beb966ac833d32c2 (patch) | |
tree | 6e00047af770562183852a2cce07e18c0c978cf4 /src/gpu/effects/GrDashingEffect.cpp | |
parent | 5190a481f9e74f024352743a8499b0ad858a1310 (diff) |
create GrTestUtils.h, move some common functions into it
BUG=skia:
Review URL: https://codereview.chromium.org/1117443002
Diffstat (limited to 'src/gpu/effects/GrDashingEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrDashingEffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp index 08a3f670d9..b729d0a698 100644 --- a/src/gpu/effects/GrDashingEffect.cpp +++ b/src/gpu/effects/GrDashingEffect.cpp @@ -1002,7 +1002,7 @@ GrGeometryProcessor* DashingCircleEffect::TestCreate(SkRandom* random, GrTexture*[]) { DashAAMode aaMode = static_cast<DashAAMode>(random->nextULessThan(kDashAAModeCount)); return DashingCircleEffect::Create(GrRandomColor(random), - aaMode, GrProcessorUnitTest::TestMatrix(random)); + aaMode, GrTest::TestMatrix(random)); } ////////////////////////////////////////////////////////////////////////////// @@ -1261,7 +1261,7 @@ GrGeometryProcessor* DashingLineEffect::TestCreate(SkRandom* random, GrTexture*[]) { DashAAMode aaMode = static_cast<DashAAMode>(random->nextULessThan(kDashAAModeCount)); return DashingLineEffect::Create(GrRandomColor(random), - aaMode, GrProcessorUnitTest::TestMatrix(random)); + aaMode, GrTest::TestMatrix(random)); } ////////////////////////////////////////////////////////////////////////////// |