blob: 99d9e6614a98001d7adc9336ecea9a42b57b1346 [file] [log] [blame]
Brian Salomonfc527d22016-12-14 21:07:01 -05001/*
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
Robert Phillips769b4882021-09-07 16:48:46 -04008#ifndef LatticeOp_DEFINED
9#define LatticeOp_DEFINED
Brian Salomonfc527d22016-12-14 21:07:01 -050010
Brian Salomon815486c2017-07-11 08:52:13 -040011#include <memory>
Mike Kleinc0bd9f92019-04-23 12:05:21 -050012#include "include/core/SkRefCnt.h"
Brian Salomon201cdbb2019-08-14 17:00:30 -040013#include "src/gpu/GrSamplerState.h"
Brian Salomon48959462021-08-11 13:01:06 -040014#include "src/gpu/ops/GrOp.h"
Brian Salomonfc527d22016-12-14 21:07:01 -050015
Robert Phillipsb97da532019-02-12 15:24:12 -050016class GrColorSpaceXform;
Brian Salomon815486c2017-07-11 08:52:13 -040017class GrPaint;
Brian Salomonfc527d22016-12-14 21:07:01 -050018class SkLatticeIter;
Robert Phillipsb97da532019-02-12 15:24:12 -050019class GrRecordingContext;
Brian Salomon2a943df2018-05-04 13:43:19 -040020class GrTextureProxy;
Brian Salomonfc527d22016-12-14 21:07:01 -050021class SkMatrix;
22struct SkRect;
23
Robert Phillips769b4882021-09-07 16:48:46 -040024namespace skgpu::v1::LatticeOp {
25
Herb Derbyc76d4092020-10-07 16:46:15 -040026GrOp::Owner MakeNonAA(GrRecordingContext*,
27 GrPaint&&,
28 const SkMatrix& viewMatrix,
29 GrSurfaceProxyView view,
30 SkAlphaType alphaType,
31 sk_sp<GrColorSpaceXform>,
32 GrSamplerState::Filter,
33 std::unique_ptr<SkLatticeIter>,
34 const SkRect& dst);
Brian Salomonfc527d22016-12-14 21:07:01 -050035
Robert Phillips769b4882021-09-07 16:48:46 -040036} // namespace skgpu::v1::LatticeOp
37
38#endif // LatticeOp_DEFINED