diff options
author | 2017-07-14 15:14:59 -0400 | |
---|---|---|
committer | 2017-07-14 20:24:15 +0000 | |
commit | 434a58ab5fefcc1b86588c7fce898b1e5bd248ba (patch) | |
tree | 333d79988ad13f6ffebc49ab93d63c3900af1ae9 /src/gpu/GrDrawOpTest.h | |
parent | 420f1565e9783b25d6ceb7ada21ca7c7c57d9e4c (diff) |
Make GrAtlasTextOp a non-legacy GrMeshDrawOp
Change-Id: Ib9eaf149100b0ccecf1c18a755263f2579b8e6f6
Reviewed-on: https://skia-review.googlesource.com/23482
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrDrawOpTest.h')
-rw-r--r-- | src/gpu/GrDrawOpTest.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/GrDrawOpTest.h b/src/gpu/GrDrawOpTest.h index a30ca2801f..b77fe48bf7 100644 --- a/src/gpu/GrDrawOpTest.h +++ b/src/gpu/GrDrawOpTest.h @@ -27,12 +27,13 @@ void GrDrawRandomOp(SkRandom*, GrRenderTargetContext*, GrPaint&&); #define GR_DRAW_OP_TEST_DEFINE(Op) \ std::unique_ptr<GrDrawOp> Op##__Test(GrPaint&& paint, SkRandom* random, GrContext* context, \ GrFSAAType fsaaType) +#define GR_DRAW_OP_TEST_FRIEND(Op) \ + friend std::unique_ptr<GrDrawOp> Op##__Test(GrPaint&& paint, SkRandom* random, \ + GrContext* context, GrFSAAType fsaaType) /** Variations for GrLegacyMeshDrawOps. To be deleted. */ #define GR_LEGACY_MESH_DRAW_OP_TEST_DEFINE(Op) \ std::unique_ptr<GrLegacyMeshDrawOp> Op##__Test(SkRandom* random, GrContext* context) -#define GR_LEGACY_MESH_DRAW_OP_TEST_FRIEND(Op) \ - friend std::unique_ptr<GrLegacyMeshDrawOp> Op##__Test(SkRandom* random, GrContext* context); /** Helper for op test factories to pick a random stencil state. */ const GrUserStencilSettings* GrGetRandomStencil(SkRandom* random, GrContext*); |