From d3ccb0a37f0e62c84fdcd6a77b7b15476b04db7a Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Mon, 3 Apr 2017 10:38:00 -0400 Subject: 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 Reviewed-by: Robert Phillips --- src/gpu/ops/GrRegionOp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gpu/ops/GrRegionOp.h') 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 Make(GrColor color, const SkMatrix& viewMatrix, - const SkRegion& region); +std::unique_ptr Make(GrColor color, const SkMatrix& viewMatrix, + const SkRegion& region); } #endif -- cgit v1.2.3