• 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 DrawAtlasOp_DEFINED
9 #define DrawAtlasOp_DEFINED
10 
11 #include "include/core/SkRefCnt.h"
12 #include "include/private/GrTypesPriv.h"
13 #include "src/gpu/ops/GrOp.h"
14 
15 class GrPaint;
16 class GrRecordingContext;
17 class SkMatrix;
18 
19 namespace skgpu::v1::DrawAtlasOp {
20 
21 GrOp::Owner Make(GrRecordingContext*,
22                  GrPaint&&,
23                  const SkMatrix& viewMatrix,
24                  GrAAType,
25                  int spriteCount,
26                  const SkRSXform* xforms,
27                  const SkRect* rects,
28                  const SkColor* colors);
29 
30 }  // namespace skgpu::v1::DrawAtlasOp
31 
32 #endif // DrawAtlasOp_DEFINED
33