Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
ganesh
ops
RegionOp.h
Go to the documentation of this file.
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 RegionOp_DEFINED
9
#define RegionOp_DEFINED
10
11
#include "
include/private/gpu/ganesh/GrTypesPriv.h
"
12
#include "
src/gpu/ganesh/ops/GrOp.h
"
13
14
class
GrPaint
;
15
class
GrRecordingContext
;
16
struct
GrUserStencilSettings
;
17
class
SkMatrix
;
18
class
SkRegion
;
19
20
namespace
skgpu::ganesh::RegionOp
{
21
22
/** GrAAType must be kNone or kMSAA. */
23
GrOp::Owner
Make
(
GrRecordingContext
*,
24
GrPaint
&&,
25
const
SkMatrix
& viewMatrix,
26
const
SkRegion
&,
27
GrAAType
,
28
const
GrUserStencilSettings
* stencilSettings =
nullptr
);
29
30
}
// namespace skgpu::ganesh::RegionOp
31
32
#endif
// RegionOp_DEFINED
GrOp.h
GrTypesPriv.h
GrAAType
GrAAType
Definition:
GrTypesPriv.h:200
GrOp::Owner
std::unique_ptr< GrOp > Owner
Definition:
GrOp.h:72
GrPaint
Definition:
GrPaint.h:40
GrRecordingContext
Definition:
GrRecordingContext.h:42
SkMatrix
Definition:
SkMatrix.h:54
SkRegion
Definition:
SkRegion.h:30
skgpu::ganesh::RegionOp
Definition:
RegionOp.cpp:23
skgpu::ganesh::RegionOp::Make
GrOp::Owner Make(GrRecordingContext *context, GrPaint &&paint, const SkMatrix &viewMatrix, const SkRegion ®ion, GrAAType aaType, const GrUserStencilSettings *stencilSettings)
Definition:
RegionOp.cpp:204
GrUserStencilSettings
Definition:
GrUserStencilSettings.h:112
Generated on Sun Jun 23 2024 21:56:23 for Flutter Engine by
1.9.4