diff options
author | 2017-04-03 10:38:00 -0400 | |
---|---|---|
committer | 2017-04-03 15:13:48 +0000 | |
commit | d3ccb0a37f0e62c84fdcd6a77b7b15476b04db7a (patch) | |
tree | a050c5624e60eee8193f4aa015269ad3bf14e329 /src/gpu/ops/GrRegionOp.h | |
parent | dffe9827b18444d1426859d9035f9f0087201f44 (diff) |
Move pipeline handling out of GrMeshDrawOp.
The monolithic GrPipeline is moved to a subclass GrLegacyDrawMeshOp.
The pipeline used to record a GrMesh draw in a GrMeshDrawOp must now be passed rather than implicitly using the op's pipeline.
Change-Id: I50d77e4dcc8d91a523fa7566ce43a9a291174706
Reviewed-on: https://skia-review.googlesource.com/11002
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/ops/GrRegionOp.h')
-rw-r--r-- | src/gpu/ops/GrRegionOp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/ops/GrRegionOp.h b/src/gpu/ops/GrRegionOp.h index 5ee6f35651..2170667582 100644 --- a/src/gpu/ops/GrRegionOp.h +++ b/src/gpu/ops/GrRegionOp.h @@ -11,13 +11,13 @@ #include "GrColor.h" #include "SkRefCnt.h" -class GrMeshDrawOp; +class GrLegacyMeshDrawOp; class SkMatrix; class SkRegion; namespace GrRegionOp { -std::unique_ptr<GrMeshDrawOp> Make(GrColor color, const SkMatrix& viewMatrix, - const SkRegion& region); +std::unique_ptr<GrLegacyMeshDrawOp> Make(GrColor color, const SkMatrix& viewMatrix, + const SkRegion& region); } #endif |