Home | History | Annotate | Download | only in ops
      1 /*
      2  * Copyright 2016 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 GrRegionOp_DEFINED
      9 #define GrRegionOp_DEFINED
     10 
     11 #include "GrTypesPriv.h"
     12 
     13 class GrDrawOp;
     14 class SkMatrix;
     15 class SkRegion;
     16 class GrPaint;
     17 struct GrUserStencilSettings;
     18 
     19 namespace GrRegionOp {
     20 /** GrAAType must be kNone or kMSAA. */
     21 std::unique_ptr<GrDrawOp> Make(GrPaint&&, const SkMatrix& viewMatrix, const SkRegion&, GrAAType,
     22                                const GrUserStencilSettings* stencilSettings = nullptr);
     23 }
     24 
     25 #endif
     26