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 "include/core/SkRefCnt.h"
13#include "src/gpu/GrSamplerState.h"
14
15class GrColorSpaceXform;
16class GrDrawOp;
17class GrPaint;
18class SkLatticeIter;
19class GrRecordingContext;
20class GrTextureProxy;
21class SkMatrix;
22struct SkRect;
23
24namespace GrLatticeOp {
25std::unique_ptr<GrDrawOp> MakeNonAA(GrRecordingContext*,
26 GrPaint&&,
27 const SkMatrix& viewMatrix,
28 GrSurfaceProxyView view,
29 SkAlphaType alphaType,
30 sk_sp<GrColorSpaceXform>,
31 GrSamplerState::Filter,
32 std::unique_ptr<SkLatticeIter>,
33 const SkRect& dst);
34};
35
36#endif
37