Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
src
gpu
ganesh
vk
GrVkContextThreadSafeProxy.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 GrVkContextThreadSafeProxy_DEFINED
9
#define GrVkContextThreadSafeProxy_DEFINED
10
11
#include "
include/core/SkRefCnt.h
"
12
#include "
include/gpu/GrContextThreadSafeProxy.h
"
13
14
class
GrCaps
;
15
struct
GrContextOptions
;
16
17
namespace
skgpu
{
18
enum class
Mipmapped
: bool;
19
enum class
Protected
: bool;
20
}
// namespace skgpu
21
22
class
GrVkContextThreadSafeProxy
:
public
GrContextThreadSafeProxy
{
23
public
:
24
GrVkContextThreadSafeProxy
(
const
GrContextOptions
&);
25
26
bool
isValidCharacterizationForVulkan
(
sk_sp<const GrCaps>
,
27
bool
isTextureable,
28
skgpu::Mipmapped
isMipmapped,
29
skgpu::Protected
isProtected,
30
bool
vkRTSupportsInputAttachment,
31
bool
forVulkanSecondaryCommandBuffer)
override
;
32
};
33
34
#endif
GrContextThreadSafeProxy.h
SkRefCnt.h
GrCaps
Definition
GrCaps.h:57
GrContextThreadSafeProxy
Definition
GrContextThreadSafeProxy.h:34
GrVkContextThreadSafeProxy
Definition
GrVkContextThreadSafeProxy.h:22
GrVkContextThreadSafeProxy::isValidCharacterizationForVulkan
bool isValidCharacterizationForVulkan(sk_sp< const GrCaps >, bool isTextureable, skgpu::Mipmapped isMipmapped, skgpu::Protected isProtected, bool vkRTSupportsInputAttachment, bool forVulkanSecondaryCommandBuffer) override
Definition
GrVkContextThreadSafeProxy.cpp:20
sk_sp
Definition
SkRefCnt.h:220
skgpu
Definition
GpuTools.h:21
skgpu::Mipmapped
Mipmapped
Definition
GpuTypes.h:53
skgpu::Protected
Protected
Definition
GpuTypes.h:61
GrContextOptions
Definition
GrContextOptions.h:23
Generated on Fri Apr 26 2024 06:17:14 for Flutter Engine by
1.9.8