Flutter Engine
The Flutter Engine
third_party
skia
tools
GpuToolUtils.h
Go to the documentation of this file.
1
/*
2
* Copyright 2023 Google LLC
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 GpuToolUtils_DEFINED
9
#define GpuToolUtils_DEFINED
10
11
#include "
include/core/SkRefCnt.h
"
12
#include "
include/core/SkTypes.h
"
13
#include "
include/private/base/SkDebug.h
"
14
15
class
SkCanvas
;
16
class
SkImage
;
17
18
#if defined(SK_GRAPHITE)
19
namespace
skgpu::graphite
{
20
struct
RecorderOptions;
21
}
22
#endif
23
24
namespace
ToolUtils
{
25
26
sk_sp<SkImage>
MakeTextureImage
(
SkCanvas
* canvas,
sk_sp<SkImage>
orig);
27
28
#if defined(SK_GRAPHITE)
29
skgpu::graphite::RecorderOptions
CreateTestingRecorderOptions();
30
#endif
31
32
}
// namespace ToolUtils
33
34
#endif
SkDebug.h
SkRefCnt.h
SkTypes.h
SkCanvas
Definition:
SkCanvas.h:106
SkImage
Definition:
SkImage.h:272
sk_sp< SkImage >
ToolUtils
Definition:
DecodeUtils.cpp:20
ToolUtils::MakeTextureImage
sk_sp< SkImage > MakeTextureImage(SkCanvas *canvas, sk_sp< SkImage > orig)
Definition:
GpuToolUtils.cpp:32
skgpu::graphite
Definition:
BoundsManagerBench.cpp:27
skgpu::graphite::RecorderOptions
Definition:
Recorder.h:63
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4