blob: f035e90855385cb9e4aabea0751fa53148fa0089 [file] [log] [blame]
Brian Osman4d92b892019-03-24 00:53:23 +00001/*
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
Mike Kleinc0bd9f92019-04-23 12:05:21 -050011#include "include/core/SkRefCnt.h"
12#include "include/private/GrTypesPriv.h"
Herb Derbyc76d4092020-10-07 16:46:15 -040013#include "src/gpu/ops/GrOp.h"
Brian Osman4d92b892019-03-24 00:53:23 +000014
15class GrDrawOp;
16class GrPaint;
17class GrRecordingContext;
18class SkMatrix;
19
20namespace GrDrawAtlasOp {
Herb Derbyc76d4092020-10-07 16:46:15 -040021GrOp::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);
John Stilesa6841be2020-08-06 14:11:56 -040029} // namespace GrDrawAtlasOp
Brian Osman4d92b892019-03-24 00:53:23 +000030
31#endif