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 | |
| 8 | #ifndef GLatticeOp_DEFINED |
| 9 | #define GLatticeOp_DEFINED |
| 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 | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 14 | |
Robert Phillips | b97da53 | 2019-02-12 15:24:12 -0500 | [diff] [blame] | 15 | class GrColorSpaceXform; |
Brian Salomon | 815486c | 2017-07-11 08:52:13 -0400 | [diff] [blame] | 16 | class GrDrawOp; |
| 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 | |
| 24 | namespace GrLatticeOp { |
Robert Phillips | b97da53 | 2019-02-12 15:24:12 -0500 | [diff] [blame] | 25 | std::unique_ptr<GrDrawOp> MakeNonAA(GrRecordingContext*, |
Robert Phillips | 7c525e6 | 2018-06-12 10:11:12 -0400 | [diff] [blame] | 26 | GrPaint&&, |
| 27 | const SkMatrix& viewMatrix, |
| 28 | sk_sp<GrTextureProxy>, |
| 29 | sk_sp<GrColorSpaceXform>, |
| 30 | GrSamplerState::Filter, |
| 31 | std::unique_ptr<SkLatticeIter>, |
| 32 | const SkRect& dst); |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | #endif |