• 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 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                                     sk_sp<GrTextureProxy>,
29                                     sk_sp<GrColorSpaceXform>,
30                                     GrSamplerState::Filter,
31                                     std::unique_ptr<SkLatticeIter>,
32                                     const SkRect& dst);
33 };
34 
35 #endif
36