• 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 GrDrawAtlasOp_DEFINED
9 #define GrDrawAtlasOp_DEFINED
10 
11 #include "GrTypesPriv.h"
12 #include "SkRefCnt.h"
13 
14 class GrDrawOp;
15 class GrPaint;
16 class GrRecordingContext;
17 class SkMatrix;
18 
19 namespace GrDrawAtlasOp {
20     std::unique_ptr<GrDrawOp> Make(GrRecordingContext*,
21                                    GrPaint&&,
22                                    const SkMatrix& viewMatrix,
23                                    GrAAType,
24                                    int spriteCount,
25                                    const SkRSXform* xforms,
26                                    const SkRect* rects,
27                                    const SkColor* colors);
28 };
29 
30 #endif
31