blob: d7dc17c3137e4da51a740726fca29b2879d63b56 [file] [log] [blame]
* Copyright 2016 Google Inc.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
#ifndef GrRegionOp_DEFINED
#define GrRegionOp_DEFINED
#include "include/private/GrTypesPriv.h"
class GrDrawOp;
class GrRecordingContext;
class SkMatrix;
class SkRegion;
class GrPaint;
struct GrUserStencilSettings;
namespace GrRegionOp {
/** GrAAType must be kNone or kMSAA. */
std::unique_ptr<GrDrawOp> Make(GrRecordingContext*,
const SkMatrix& viewMatrix,
const SkRegion&,
const GrUserStencilSettings* stencilSettings = nullptr);