Misc: Add copyright/license statement to applicable files

Should've did this in the beginning.
This commit is contained in:
Connor McLaughlin 2022-12-04 21:03:45 +10:00
parent 1ba877409f
commit 8c7a192128
458 changed files with 1360 additions and 36 deletions

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "common/bitutils.h" #include "common/bitutils.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include <type_traits> #include <type_traits>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "common/file_system.h" #include "common/file_system.h"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "common/path.h" #include "common/path.h"
#include "common/types.h" #include "common/types.h"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "common/rectangle.h" #include "common/rectangle.h"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
namespace Common { namespace Common {

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "assert.h" #include "assert.h"
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
void Y_OnAssertFailed(const char* szMessage, const char* szFunction, const char* szFile, unsigned uLine); void Y_OnAssertFailed(const char* szMessage, const char* szFunction, const char* szFile, unsigned uLine);

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "types.h" #include "types.h"
#include <type_traits> #include <type_traits>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "types.h" #include "types.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "byte_stream.h" #include "byte_stream.h"
#include "assert.h" #include "assert.h"
#include "file_system.h" #include "file_system.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "types.h" #include "types.h"
#include <memory> #include <memory>

View file

@ -59,7 +59,6 @@
<ClInclude Include="memory_settings_interface.h" /> <ClInclude Include="memory_settings_interface.h" />
<ClInclude Include="md5_digest.h" /> <ClInclude Include="md5_digest.h" />
<ClInclude Include="path.h" /> <ClInclude Include="path.h" />
<ClInclude Include="pbp_types.h" />
<ClInclude Include="platform.h" /> <ClInclude Include="platform.h" />
<ClInclude Include="progress_callback.h" /> <ClInclude Include="progress_callback.h" />
<ClInclude Include="rectangle.h" /> <ClInclude Include="rectangle.h" />

View file

@ -84,7 +84,6 @@
<ClInclude Include="crash_handler.h" /> <ClInclude Include="crash_handler.h" />
<ClInclude Include="lru_cache.h" /> <ClInclude Include="lru_cache.h" />
<ClInclude Include="easing.h" /> <ClInclude Include="easing.h" />
<ClInclude Include="pbp_types.h" />
<ClInclude Include="error.h" /> <ClInclude Include="error.h" />
<ClInclude Include="platform.h" /> <ClInclude Include="platform.h" />
<ClInclude Include="d3d12\staging_texture.h"> <ClInclude Include="d3d12\staging_texture.h">

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "crash_handler.h" #include "crash_handler.h"
#include "file_system.h" #include "file_system.h"
#include "string_util.h" #include "string_util.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "types.h" #include "types.h"
#include <string_view> #include <string_view>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "shader_cache.h" #include "shader_cache.h"
#include "../file_system.h" #include "../file_system.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../hash_combine.h" #include "../hash_combine.h"
#include "../types.h" #include "../types.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "shader_compiler.h" #include "shader_compiler.h"
#include "../log.h" #include "../log.h"
#include "../string_util.h" #include "../string_util.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../windows_headers.h" #include "../windows_headers.h"
#include <d3d11.h> #include <d3d11.h>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "stream_buffer.h" #include "stream_buffer.h"
#include "../align.h" #include "../align.h"
#include "../assert.h" #include "../assert.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../types.h" #include "../types.h"
#include "../windows_headers.h" #include "../windows_headers.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "texture.h" #include "texture.h"
#include "../log.h" #include "../log.h"
#include <array> #include <array>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../gpu_texture.h" #include "../gpu_texture.h"
#include "../windows_headers.h" #include "../windows_headers.h"

View file

@ -1,6 +1,6 @@
// Copyright 2019 Dolphin Emulator Project // SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// Licensed under GPLv2+ // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
// Refer to the license.txt file included. // Parts originally from Dolphin Emulator, also written by myself.
#include "context.h" #include "context.h"
#include "../assert.h" #include "../assert.h"

View file

@ -1,6 +1,6 @@
// Copyright 2019 Dolphin Emulator Project // SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// Licensed under GPLv2+ // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
// Refer to the license.txt file included. // Parts originally from Dolphin Emulator, also written by myself.
#pragma once #pragma once

View file

@ -1,6 +1,6 @@
// Copyright 2019 Dolphin Emulator Project // SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// Licensed under GPLv2+ // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
// Refer to the license.txt file included. // Parts originally from Dolphin Emulator, also written by myself.
#include "descriptor_heap_manager.h" #include "descriptor_heap_manager.h"
#include "../assert.h" #include "../assert.h"

View file

@ -1,6 +1,6 @@
// Copyright 2019 Dolphin Emulator Project // SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// Licensed under GPLv2+ // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
// Refer to the license.txt file included. // Parts originally from Dolphin Emulator, also written by myself.
#pragma once #pragma once

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "shader_cache.h" #include "shader_cache.h"
#include "../d3d11/shader_compiler.h" #include "../d3d11/shader_compiler.h"
#include "../file_system.h" #include "../file_system.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../hash_combine.h" #include "../hash_combine.h"
#include "../types.h" #include "../types.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "staging_texture.h" #include "staging_texture.h"
#include "../align.h" #include "../align.h"
#include "../assert.h" #include "../assert.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../types.h" #include "../types.h"
#include "../windows_headers.h" #include "../windows_headers.h"

View file

@ -1,6 +1,6 @@
// Copyright 2019 Dolphin Emulator Project // SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// Licensed under GPLv2+ // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
// Refer to the license.txt file included. // Parts originally from Dolphin Emulator, also written by myself.
#include "stream_buffer.h" #include "stream_buffer.h"
#include "../align.h" #include "../align.h"

View file

@ -1,6 +1,6 @@
// Copyright 2019 Dolphin Emulator Project // SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// Licensed under GPLv2+ // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
// Refer to the license.txt file included. // Parts originally from Dolphin Emulator, also written by myself.
#pragma once #pragma once

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "texture.h" #include "texture.h"
#include "../align.h" #include "../align.h"
#include "../assert.h" #include "../assert.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../gpu_texture.h" #include "../gpu_texture.h"
#include "../windows_headers.h" #include "../windows_headers.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "util.h" #include "util.h"
#include "../assert.h" #include "../assert.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../types.h" #include "../types.h"
#include "../windows_headers.h" #include "../windows_headers.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "types.h" #include "types.h"
#include <cmath> #include <cmath>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "error.h" #include "error.h"
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "string.h" #include "string.h"
#include "types.h" #include "types.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "assert.h" #include "assert.h"
#include "types.h" #include "types.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "file_system.h" #include "file_system.h"
#include "assert.h" #include "assert.h"
#include "log.h" #include "log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "types.h" #include "types.h"
#include <cstdio> #include <cstdio>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context.h" #include "context.h"
#include "../log.h" #include "../log.h"
#include "loader.h" #include "loader.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../types.h" #include "../types.h"
#include "../window_info.h" #include "../window_info.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "context.h" #include "context.h"
#include "loader.h" #include "loader.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context_agl.h" #include "context_agl.h"
#include "../assert.h" #include "../assert.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context_egl.h" #include "context_egl.h"
#include "../assert.h" #include "../assert.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "context.h" #include "context.h"
#include "glad_egl.h" #include "glad_egl.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context_egl_android.h" #include "context_egl_android.h"
#include "../log.h" #include "../log.h"
#include <android/native_window.h> #include <android/native_window.h>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "context_egl.h" #include "context_egl.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context_egl_fbdev.h" #include "context_egl_fbdev.h"
namespace GL { namespace GL {

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "context_egl.h" #include "context_egl.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context_egl_gbm.h" #include "context_egl_gbm.h"
#include "../assert.h" #include "../assert.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../drm_display.h" #include "../drm_display.h"
#include "context_egl.h" #include "context_egl.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context_egl_wayland.h" #include "context_egl_wayland.h"
#include "../log.h" #include "../log.h"
#include <dlfcn.h> #include <dlfcn.h>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "context_egl.h" #include "context_egl.h"
#include <wayland-egl.h> #include <wayland-egl.h>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context_egl_x11.h" #include "context_egl_x11.h"
#include "../log.h" #include "../log.h"
Log_SetChannel(GL::ContextEGLX11); Log_SetChannel(GL::ContextEGLX11);

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "context_egl.h" #include "context_egl.h"
#include "x11_window.h" #include "x11_window.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context_glx.h" #include "context_glx.h"
#include "../assert.h" #include "../assert.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "context.h" #include "context.h"
#include "glad_glx.h" #include "glad_glx.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "context_wgl.h" #include "context_wgl.h"
#include "../assert.h" #include "../assert.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../windows_headers.h" #include "../windows_headers.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
// Fix glad.h including windows.h // Fix glad.h including windows.h

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "program.h" #include "program.h"
#include "../assert.h" #include "../assert.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../types.h" #include "../types.h"
#include "loader.h" #include "loader.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "shader_cache.h" #include "shader_cache.h"
#include "../file_system.h" #include "../file_system.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../hash_combine.h" #include "../hash_combine.h"
#include "../types.h" #include "../types.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "stream_buffer.h" #include "stream_buffer.h"
#include "../align.h" #include "../align.h"
#include "../assert.h" #include "../assert.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../types.h" #include "../types.h"
#include "loader.h" #include "loader.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "texture.h" #include "texture.h"
#include "../assert.h" #include "../assert.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../gpu_texture.h" #include "../gpu_texture.h"
#include "loader.h" #include "loader.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "x11_window.h" #include "x11_window.h"
#include "../assert.h" #include "../assert.h"
#include "../log.h" #include "../log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "../types.h" #include "../types.h"
#include <X11/Xlib.h> #include <X11/Xlib.h>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "gpu_texture.h" #include "gpu_texture.h"
#include "log.h" #include "log.h"
#include "string_util.h" #include "string_util.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "types.h" #include "types.h"
#include <algorithm> #include <algorithm>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
/** /**
* Provides a map template which doesn't require heap allocations for lookups. * Provides a map template which doesn't require heap allocations for lookups.
*/ */

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "http_downloader.h" #include "http_downloader.h"
#include "assert.h" #include "assert.h"
#include "log.h" #include "log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "common/types.h" #include "common/types.h"
#include <atomic> #include <atomic>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "http_downloader_winhttp.h" #include "http_downloader_winhttp.h"
#include "assert.h" #include "assert.h"
#include "log.h" #include "log.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "http_downloader.h" #include "http_downloader.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "image.h" #include "image.h"
#include "byte_stream.h" #include "byte_stream.h"
#include "file_system.h" #include "file_system.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "assert.h" #include "assert.h"
#include "types.h" #include "types.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "layered_settings_interface.h" #include "layered_settings_interface.h"
#include "common/assert.h" #include "common/assert.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "settings_interface.h" #include "settings_interface.h"
#include <array> #include <array>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "log.h" #include "log.h"
#include "assert.h" #include "assert.h"
#include "file_system.h" #include "file_system.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "types.h" #include "types.h"
#include <cinttypes> #include <cinttypes>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "heterogeneous_containers.h" #include "heterogeneous_containers.h"
#include <cstdint> #include <cstdint>

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include <array> #include <array>
#include <type_traits> #include <type_traits>

View file

@ -1,5 +1,8 @@
#include "md5_digest.h" #include "md5_digest.h"
// based heavily on this implementation:
// http://www.fourmilab.ch/md5/
#ifndef HIGHFIRST #ifndef HIGHFIRST
#define byteReverse(buf, len) /* Nothing */ #define byteReverse(buf, len) /* Nothing */
#else #else

View file

@ -1,9 +1,9 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "types.h" #include "types.h"
// based heavily on this implementation:
// http://www.fourmilab.ch/md5/
class MD5Digest class MD5Digest
{ {
public: public:

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "memory_settings_interface.h" #include "memory_settings_interface.h"
#include "common/assert.h" #include "common/assert.h"
#include "common/string_util.h" #include "common/string_util.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "heterogeneous_containers.h" #include "heterogeneous_containers.h"
#include "settings_interface.h" #include "settings_interface.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "minizip_helpers.h" #include "minizip_helpers.h"
#include "file_system.h" #include "file_system.h"
#include "ioapi.h" #include "ioapi.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "unzip.h" #include "unzip.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "types.h" #include "types.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#if defined(_MSC_VER) #if defined(_MSC_VER)

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "progress_callback.h" #include "progress_callback.h"
#include "assert.h" #include "assert.h"
#include "byte_stream.h" #include "byte_stream.h"

View file

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once #pragma once
#include "string.h" #include "string.h"
#include "types.h" #include "types.h"

Some files were not shown because too many files have changed in this diff Show more