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 <memory> 12 #include "GrTypes.h" 13 14 class GrDrawOp; 15 class GrPaint; 16 class SkLatticeIter; 17 class SkMatrix; 18 struct SkRect; 19 20 namespace GrLatticeOp { 21 std::unique_ptr<GrDrawOp> MakeNonAA(GrPaint&& paint, const SkMatrix& viewMatrix, int imageWidth, 22 int imageHeight, std::unique_ptr<SkLatticeIter> iter, 23 const SkRect& dst); 24 }; 25 26 #endif 27