xref: /third_party/skia/src/gpu/ops/DrawAtlasOp.h (revision cb93a386)
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
15class GrPaint;
16class GrRecordingContext;
17class SkMatrix;
18
19namespace skgpu::v1::DrawAtlasOp {
20
21GrOp::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