Flutter Engine
The Flutter Engine
swiftshader_path.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_SWIFTSHADER_PATH_H_
6#define FLUTTER_VULKAN_SWIFTSHADER_PATH_H_
7
8#ifndef VULKAN_SO_PATH
9#if FML_OS_MACOSX
10#define VULKAN_SO_PATH "libvk_swiftshader.dylib"
11#elif FML_OS_WIN
12#define VULKAN_SO_PATH "vk_swiftshader.dll"
13#else
14#define VULKAN_SO_PATH "libvk_swiftshader.so"
15#endif // !FML_OS_MACOSX && !FML_OS_WIN
16#endif // VULKAN_SO_PATH
17
18#endif // FLUTTER_VULKAN_SWIFTSHADER_PATH_H_