committed by
GitHub
40 changed files with 11687 additions and 9925 deletions
-
4.reuse/dep5
-
1CMakeLists.txt
-
31CMakeModules/Findstb.cmake
-
6externals/CMakeLists.txt
-
7529externals/stb/stb_image.cpp
-
7221externals/stb/stb_image.h
-
2282externals/stb/stb_image_resize.cpp
-
2214externals/stb/stb_image_resize.h
-
1724externals/stb/stb_image_write.h
-
6src/common/CMakeLists.txt
-
8src/common/stb.cpp
-
8src/common/stb.h
-
24src/common/thread.cpp
-
4src/core/file_sys/system_archive/system_version.cpp
-
7src/core/hle/service/caps/caps.cpp
-
87src/core/hle/service/caps/caps_manager.cpp
-
11src/core/hle/service/caps/caps_manager.h
-
75src/core/hle/service/caps/caps_ss.cpp
-
8src/core/hle/service/caps/caps_ss.h
-
69src/core/hle/service/caps/caps_su.cpp
-
8src/core/hle/service/caps/caps_su.h
-
2src/core/hle/service/caps/caps_types.h
-
6src/core/hle/service/hle_ipc.cpp
-
40src/core/hle/service/ptm/ts.cpp
-
6src/core/hle/service/ptm/ts.h
-
49src/core/hle/service/set/set_sys.cpp
-
23src/core/memory/cheat_engine.cpp
-
1src/shader_recompiler/backend/glsl/emit_glsl.cpp
-
12src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp
-
23src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp
-
36src/shader_recompiler/backend/spirv/spirv_emit_context.h
-
4src/shader_recompiler/profile.h
-
6src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
-
35src/video_core/vulkan_common/vulkan_device.cpp
-
18src/video_core/vulkan_common/vulkan_device.h
-
2src/video_core/vulkan_common/vulkan_wrapper.cpp
-
3src/yuzu/configuration/config.cpp
-
2src/yuzu/configuration/config.h
-
7src/yuzu/configuration/configure_hotkeys.cpp
-
10src/yuzu/configuration/configure_vibration.cpp
@ -0,0 +1,31 @@ |
|||||
|
# SPDX-FileCopyrightText: 2023 Alexandre Bouvier <contact@amb.tf> |
||||
|
# |
||||
|
# SPDX-License-Identifier: GPL-3.0-or-later |
||||
|
|
||||
|
find_path(stb_image_INCLUDE_DIR stb_image.h PATH_SUFFIXES stb) |
||||
|
find_path(stb_image_resize_INCLUDE_DIR stb_image_resize.h PATH_SUFFIXES stb) |
||||
|
find_path(stb_image_write_INCLUDE_DIR stb_image_write.h PATH_SUFFIXES stb) |
||||
|
|
||||
|
include(FindPackageHandleStandardArgs) |
||||
|
find_package_handle_standard_args(stb |
||||
|
REQUIRED_VARS |
||||
|
stb_image_INCLUDE_DIR |
||||
|
stb_image_resize_INCLUDE_DIR |
||||
|
stb_image_write_INCLUDE_DIR |
||||
|
) |
||||
|
|
||||
|
if (stb_FOUND AND NOT TARGET stb::headers) |
||||
|
add_library(stb::headers INTERFACE IMPORTED) |
||||
|
set_property(TARGET stb::headers PROPERTY |
||||
|
INTERFACE_INCLUDE_DIRECTORIES |
||||
|
"${stb_image_INCLUDE_DIR}" |
||||
|
"${stb_image_resize_INCLUDE_DIR}" |
||||
|
"${stb_image_write_INCLUDE_DIR}" |
||||
|
) |
||||
|
endif() |
||||
|
|
||||
|
mark_as_advanced( |
||||
|
stb_image_INCLUDE_DIR |
||||
|
stb_image_resize_INCLUDE_DIR |
||||
|
stb_image_write_INCLUDE_DIR |
||||
|
) |
||||
7529
externals/stb/stb_image.cpp
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
7221
externals/stb/stb_image.h
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
2282
externals/stb/stb_image_resize.cpp
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
2214
externals/stb/stb_image_resize.h
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
1724
externals/stb/stb_image_write.h
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,8 @@ |
|||||
|
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
|
||||
|
#define STB_IMAGE_IMPLEMENTATION
|
||||
|
#define STB_IMAGE_RESIZE_IMPLEMENTATION
|
||||
|
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
|
|
||||
|
#include "common/stb.h"
|
||||
@ -0,0 +1,8 @@ |
|||||
|
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project |
||||
|
// SPDX-License-Identifier: GPL-2.0-or-later |
||||
|
|
||||
|
#pragma once |
||||
|
|
||||
|
#include <stb_image.h> |
||||
|
#include <stb_image_resize.h> |
||||
|
#include <stb_image_write.h> |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue