Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
13
14class GrCaps;
15struct GrContextOptions;
16
17namespace skgpu {
18enum class Mipmapped : bool;
19enum class Protected : bool;
20} // namespace skgpu
21
23public:
25
27 bool isTextureable,
28 skgpu::Mipmapped isMipmapped,
29 skgpu::Protected isProtected,
30 bool vkRTSupportsInputAttachment,
31 bool forVulkanSecondaryCommandBuffer) override;
32};
33
34#endif
Definition: GrCaps.h:57
bool isValidCharacterizationForVulkan(sk_sp< const GrCaps >, bool isTextureable, skgpu::Mipmapped isMipmapped, skgpu::Protected isProtected, bool vkRTSupportsInputAttachment, bool forVulkanSecondaryCommandBuffer) override
GrVkContextThreadSafeProxy(const GrContextOptions &)
Definition: GpuTools.h:21
Mipmapped
Definition: GpuTypes.h:53
Protected
Definition: GpuTypes.h:61