Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 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 | |
Robert Phillips | 769b488 | 2021-09-07 16:48:46 -0400 | [diff] [blame] | 8 | #ifndef LatticeOp_DEFINED |
| 9 | #define LatticeOp_DEFINED |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 10 | |
Brian Salomon | 815486c | 2017-07-11 08:52:13 -0400 | [diff] [blame] | 11 | #include <memory> |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 12 | #include "include/core/SkRefCnt.h" |
Brian Salomon | 201cdbb | 2019-08-14 17:00:30 -0400 | [diff] [blame] | 13 | #include "src/gpu/GrSamplerState.h" |
Brian Salomon | 4895946 | 2021-08-11 13:01:06 -0400 | [diff] [blame] | 14 | #include "src/gpu/ops/GrOp.h" |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 15 | |
Robert Phillips | b97da53 | 2019-02-12 15:24:12 -0500 | [diff] [blame] | 16 | class GrColorSpaceXform; |
Brian Salomon | 815486c | 2017-07-11 08:52:13 -0400 | [diff] [blame] | 17 | class GrPaint; |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 18 | class SkLatticeIter; |
Robert Phillips | b97da53 | 2019-02-12 15:24:12 -0500 | [diff] [blame] | 19 | class GrRecordingContext; |
Brian Salomon | 2a943df | 2018-05-04 13:43:19 -0400 | [diff] [blame] | 20 | class GrTextureProxy; |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 21 | class SkMatrix; |
| 22 | struct SkRect; |
| 23 | |
Robert Phillips | 769b488 | 2021-09-07 16:48:46 -0400 | [diff] [blame] | 24 | namespace skgpu::v1::LatticeOp { |
| 25 | |
Herb Derby | c76d409 | 2020-10-07 16:46:15 -0400 | [diff] [blame] | 26 | GrOp::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 Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 35 | |
Robert Phillips | 769b488 | 2021-09-07 16:48:46 -0400 | [diff] [blame] | 36 | } // namespace skgpu::v1::LatticeOp |
| 37 | |
| 38 | #endif // LatticeOp_DEFINED |