2 * Copyright 2021 Google LLC
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #ifndef DrawMeshOp_DEFINED
9 #define DrawMeshOp_DEFINED
11 #include "include/core/SkCanvas.h"
12 #include "include/core/SkRefCnt.h"
13 #include "include/private/gpu/ganesh/GrTypesPriv.h"
14 #include "src/gpu/ganesh/ops/GrOp.h"
16 class GrColorSpaceXform;
18 class GrRecordingContext;
20 class SkMatrixProvider;
22 namespace skgpu::v1::DrawMeshOp {
23 GrOp::Owner Make(GrRecordingContext*,
26 const SkMatrixProvider&,
28 sk_sp<GrColorSpaceXform>);
30 GrOp::Owner Make(GrRecordingContext*,
33 const GrPrimitiveType* overridePrimitiveType,
34 const SkMatrixProvider&,
36 sk_sp<GrColorSpaceXform>);
37 } // namespace skgpu::v1::DrawMeshOp
39 #endif // DrawMeshOp_DEFINED