Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
GrFPArgs.h
Go to the documentation of this file.
1/*
2 * Copyright 2018 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 GrFPArgs_DEFINED
9#define GrFPArgs_DEFINED
10
13
14class GrColorInfo;
16class SkSurfaceProps;
17
18struct GrFPArgs {
19 enum class Scope {
22 };
23
25 const GrColorInfo* dstColorInfo,
26 const SkSurfaceProps& surfaceProps,
27 Scope scope)
28 : fContext(context)
29 , fDstColorInfo(dstColorInfo)
30 , fSurfaceProps(surfaceProps)
31 , fScope(scope) {
33 }
34
36
38
40
42};
43
44#endif
#define SkASSERT(cond)
Definition SkAssert.h:116
Scope fScope
Definition GrFPArgs.h:41
const SkSurfaceProps & fSurfaceProps
Definition GrFPArgs.h:39
GrFPArgs(GrRecordingContext *context, const GrColorInfo *dstColorInfo, const SkSurfaceProps &surfaceProps, Scope scope)
Definition GrFPArgs.h:24
const GrColorInfo * fDstColorInfo
Definition GrFPArgs.h:37
GrRecordingContext * fContext
Definition GrFPArgs.h:35