mirror of
https://github.com/InstanceBrick/nightcap.git
synced 2026-10-26 09:01:06 +01:00
1 parent
3890efbaaa
commit
a6fdb5b0cd
4 files changed
+182
-17
No files matched your search
@@ -1,13 +1,23 @@
|
||||
#ifndef MOCKTAIL_RUNTIME_GRAPHICS_LAUNCH_POLICY_H_
|
||||
#define MOCKTAIL_RUNTIME_GRAPHICS_LAUNCH_POLICY_H_
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
#include "runtime/runtime_config.h"
|
||||
|
||||
namespace mocktail {
|
||||
namespace runtime {
|
||||
|
||||
// Readable ICD manifest for `vendor` that this build can actually load, or an
|
||||
// empty path. Directories are searched in order; a manifest built for another
|
||||
// architecture is never selected.
|
||||
std::string SelectVulkanIcdManifest(
|
||||
const std::vector<std::filesystem::path>& directories,
|
||||
std::string_view vendor);
|
||||
|
||||
// Publishes the resolved graphics backend before the managed payload updater
|
||||
// starts. OpenGL is a strict system EGL/GLES path; it never silently retries
|
||||
// through ANGLE/Vulkan or accepts a window without a real graphics context.
|
||||
|
||||
Reference in new issue
Block a user