From 649a3411f99a8aea3c46e4ef1f495f61b9801164 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Thu, 9 Mar 2017 13:50:43 -0500 Subject: Add a separate draw function to GrRenderTargetContext for GrMeshDrawOp derived classes. The first phase of deferring GrPipeline creation until flush will apply only to GrDrawOp subclasses that do not derive from GrMeshDrawOp. This change prepares for that by creating separate draw functions on GrRenderTargetContext for GrMeshDrawOp-derived ops. This is temporary and will incrementally be undone as pipeline-creation deferral rolls out to the GrMeshDrawOps in a later phase of this work. Change-Id: I0f5b71fe913f3273cfe9e965f7d8bbe7f01ad0ef Reviewed-on: https://skia-review.googlesource.com/9481 Commit-Queue: Brian Salomon Reviewed-by: Robert Phillips --- src/gpu/ops/GrAAStrokeRectOp.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/gpu/ops/GrAAStrokeRectOp.h') diff --git a/src/gpu/ops/GrAAStrokeRectOp.h b/src/gpu/ops/GrAAStrokeRectOp.h index d9f830ecb1..4dfbe642d0 100644 --- a/src/gpu/ops/GrAAStrokeRectOp.h +++ b/src/gpu/ops/GrAAStrokeRectOp.h @@ -11,22 +11,22 @@ #include "GrColor.h" #include "SkRefCnt.h" -class GrDrawOp; +class GrMeshDrawOp; class SkMatrix; struct SkRect; class SkStrokeRec; namespace GrAAStrokeRectOp { -std::unique_ptr MakeFillBetweenRects(GrColor color, - const SkMatrix& viewMatrix, - const SkRect& devOutside, - const SkRect& devInside); +std::unique_ptr MakeFillBetweenRects(GrColor color, + const SkMatrix& viewMatrix, + const SkRect& devOutside, + const SkRect& devInside); -std::unique_ptr Make(GrColor color, - const SkMatrix& viewMatrix, - const SkRect& rect, - const SkStrokeRec& stroke); +std::unique_ptr Make(GrColor color, + const SkMatrix& viewMatrix, + const SkRect& rect, + const SkStrokeRec& stroke); } #endif -- cgit v1.2.3