blob: 425dba41b334e753919b4dced4c494dbd9357e82 [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"
Brian Osman4d92b892019-03-24 00:53:23 +000013
14class GrDrawOp;
15class GrPaint;
16class GrRecordingContext;
17class SkMatrix;
18
19namespace 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