| 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 | |
| 15 | class GrColorSpaceXform; |
| 16 | class GrDrawOp; |
| 17 | class GrPaint; |
| 18 | class SkLatticeIter; |
| 19 | class GrRecordingContext; |
| 20 | class GrTextureProxy; |
| 21 | class SkMatrix; |
| 22 | struct SkRect; |
| 23 | |
| 24 | namespace GrLatticeOp { |
| 25 | std::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 |