blob: 9c14f41b631ae8004f06fa96e4b391fbb0e8cf8a [file] [log] [blame]
/*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef DrawMeshOp_DEFINED
#define DrawMeshOp_DEFINED
#include "include/core/SkCanvas.h"
#include "include/core/SkRefCnt.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/gpu/ganesh/ops/GrOp.h"
class GrColorSpaceXform;
class GrPaint;
class GrRecordingContext;
class SkMesh;
class SkMatrixProvider;
namespace skgpu::ganesh::DrawMeshOp {
GrOp::Owner Make(GrRecordingContext*,
GrPaint&&,
const SkMesh&,
const SkMatrixProvider&,
GrAAType,
sk_sp<GrColorSpaceXform>);
GrOp::Owner Make(GrRecordingContext*,
GrPaint&&,
sk_sp<SkVertices>,
const GrPrimitiveType* overridePrimitiveType,
const SkMatrixProvider&,
GrAAType,
sk_sp<GrColorSpaceXform>);
} // namespace skgpu::ganesh::DrawMeshOp
#endif // DrawMeshOp_DEFINED