blob: 425dba41b334e753919b4dced4c494dbd9357e82 [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 "include/core/SkRefCnt.h"
#include "include/private/GrTypesPriv.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);