| 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 |
#ifndef LatticeOp_DEFINED |
| 8 |
#define LatticeOp_DEFINED |
| 9 |
|
| 10 |
#include "include/core/SkRefCnt.h" |
| 11 |
#include "src/gpu/ganesh/GrSamplerState.h" |
| 12 |
#include "src/gpu/ganesh/ops/GrOp.h" |
| 13 |
|
| 14 |
#include <memory> |
| 15 |
|
| 16 |
class GrColorSpaceXform; |
| 17 |
class GrPaint; |
| 18 |
class GrRecordingContext; |
| 19 |
class GrSurfaceProxyView; |
| 20 |
class SkLatticeIter; |
| 21 |
class SkMatrix; |
| 22 |
enum SkAlphaType : int; |
| 23 |
struct SkRect; |
| 24 |
|
| 25 |
namespace skgpu::ganesh::LatticeOp { |
| 26 |
|
| 27 |
GrOp::Owner MakeNonAA(GrRecordingContext*, |
| 28 |
GrPaint&&, |
| 29 |
const SkMatrix& viewMatrix, |
| 30 |
GrSurfaceProxyView view, |
| 31 |
SkAlphaType alphaType, |
| 32 |
sk_sp<GrColorSpaceXform>, |
| 33 |
GrSamplerState::Filter, |
| 34 |
std::unique_ptr<SkLatticeIter>, |
| 35 |
const SkRect& dst); |
| 36 |
|
| 37 |
} // namespace skgpu::ganesh::LatticeOp |
| 38 |
|
| 39 |
#endif // LatticeOp_DEFINED |