blob: ef723ceb99e8c070ea2e322cfe36418c2be299c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GLatticeOp_DEFINED
#define GLatticeOp_DEFINED
#include <memory>
#include "GrSamplerState.h"
#include "SkRefCnt.h"
class GrContext;
class GrDrawOp;
class GrPaint;
class SkLatticeIter;
class GrTextureProxy;
class GrColorSpaceXform;
class SkMatrix;
struct SkRect;
namespace GrLatticeOp {
std::unique_ptr<GrDrawOp> MakeNonAA(GrContext*,
GrPaint&&,
const SkMatrix& viewMatrix,
sk_sp<GrTextureProxy>,
sk_sp<GrColorSpaceXform>,
GrSamplerState::Filter,
std::unique_ptr<SkLatticeIter>,
const SkRect& dst);
};
#endif
|