Flutter Engine
The Flutter Engine
vulkan
vulkan_utilities.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef FLUTTER_VULKAN_VULKAN_UTILITIES_H_
6
#define FLUTTER_VULKAN_VULKAN_UTILITIES_H_
7
8
#include <string>
9
#include <vector>
10
11
#include "flutter/fml/macros.h"
12
#include "flutter/vulkan/procs/vulkan_handle.h"
13
#include "flutter/vulkan/procs/vulkan_proc_table.h"
14
15
namespace
vulkan
{
16
17
bool
ValidationLayerInfoMessagesEnabled
();
18
bool
ValidationErrorsFatal
();
19
20
std::vector<std::string>
InstanceLayersToEnable
(
const
VulkanProcTable&
vk
,
21
bool
enable_validation_layers);
22
23
std::vector<std::string>
DeviceLayersToEnable
(
24
const
VulkanProcTable&
vk
,
25
const
VulkanHandle<VkPhysicalDevice>&
physical_device
,
26
bool
enable_validation_layers);
27
28
}
// namespace vulkan
29
30
#endif
// FLUTTER_VULKAN_VULKAN_UTILITIES_H_
physical_device
VkPhysicalDevice physical_device
Definition:
main.cc:51
malisc.vk
vk
Definition:
malisc.py:42
vulkan
Definition:
vulkan_handle.cc:7
vulkan::ValidationErrorsFatal
bool ValidationErrorsFatal()
Definition:
vulkan_utilities.cc:20
vulkan::DeviceLayersToEnable
std::vector< std::string > DeviceLayersToEnable(const VulkanProcTable &vk, const VulkanHandle< VkPhysicalDevice > &physical_device, bool enable_validation_layers)
Definition:
vulkan_utilities.cc:103
vulkan::InstanceLayersToEnable
std::vector< std::string > InstanceLayersToEnable(const VulkanProcTable &vk, bool enable_validation_layers)
Definition:
vulkan_utilities.cc:97
vulkan::ValidationLayerInfoMessagesEnabled
bool ValidationLayerInfoMessagesEnabled()
Definition:
vulkan_utilities.cc:16
Generated on Sun Jun 23 2024 21:56:54 for Flutter Engine by
1.9.4