blob: ab3b8ea7331b4751746af9fbd9b5653b95dc98ae [file] [log] [blame]
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GLatticeOp_DEFINED
#define GLatticeOp_DEFINED
#include <memory>
#include "GrSamplerState.h"
#include "SkRefCnt.h"
class GrDrawOp;
class GrPaint;
class SkLatticeIter;
class GrTextureProxy;
class GrColorSpaceXform;
class SkMatrix;
struct SkRect;
namespace GrLatticeOp {
std::unique_ptr<GrDrawOp> MakeNonAA(GrPaint&&, const SkMatrix& viewMatrix, sk_sp<GrTextureProxy>,
sk_sp<GrColorSpaceXform>, GrSamplerState::Filter,
std::unique_ptr<SkLatticeIter>, const SkRect& dst);
};
#endif