1 /* 2 * Copyright 2015 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef GLatticeOp_DEFINED 9 #define GLatticeOp_DEFINED 10 11 #include "GrColor.h" 12 #include "SkRefCnt.h" 13 14 class GrMeshDrawOp; 15 class SkLatticeIter; 16 class SkMatrix; 17 struct SkRect; 18 19 namespace GrLatticeOp { 20 std::unique_ptr<GrMeshDrawOp> MakeNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, 21 int imageHeight, std::unique_ptr<SkLatticeIter> iter, 22 const SkRect& dst); 23 }; 24 25 #endif 26