blob: 9665f806ba2894072ca62954088170fa8bdb17f9 [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
Robert Phillipsd2f53f92021-08-31 17:51:18 -04008#ifndef DrawAtlasOp_DEFINED
9#define DrawAtlasOp_DEFINED
Brian Osman4d92b892019-03-24 00:53:23 +000010
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
Brian Osman4d92b892019-03-24 00:53:23 +000015class GrPaint;
16class GrRecordingContext;
17class SkMatrix;
18
Robert Phillipsd2f53f92021-08-31 17:51:18 -040019namespace skgpu::v1::DrawAtlasOp {
20
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);
Brian Osman4d92b892019-03-24 00:53:23 +000029
Robert Phillipsd2f53f92021-08-31 17:51:18 -040030} // namespace skgpu::v1::DrawAtlasOp
31
32#endif // DrawAtlasOp_DEFINED