blob: 278ae42e25886f1ba70dfcd1b07f5d45cb59c041 [file] [log] [blame]
* Copyright 2015 Google Inc.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
#ifndef GrDrawAtlasOp_DEFINED
#define GrDrawAtlasOp_DEFINED
#include "GrTypesPriv.h"
#include "SkRefCnt.h"
class GrDrawOp;
class GrPaint;
class GrRecordingContext;
class SkMatrix;
namespace GrDrawAtlasOp {
std::unique_ptr<GrDrawOp> Make(GrRecordingContext*,
const SkMatrix& viewMatrix,
int spriteCount,
const SkRSXform* xforms,
const SkRect* rects,
const SkColor* colors);