• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 LatticeOp_DEFINED
9 #define LatticeOp_DEFINED
10 
11 #include <memory>
12 #include "include/core/SkRefCnt.h"
13 #include "src/gpu/ganesh/GrSamplerState.h"
14 #include "src/gpu/ganesh/ops/GrOp.h"
15 
16 class GrColorSpaceXform;
17 class GrPaint;
18 class SkLatticeIter;
19 class GrRecordingContext;
20 class GrTextureProxy;
21 class SkMatrix;
22 struct SkRect;
23 
24 namespace skgpu::v1::LatticeOp {
25 
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);
35 
36 }  // namespace skgpu::v1::LatticeOp
37 
38 #endif // LatticeOp_DEFINED
39