From e25442892d1fd9c22fda91ee1ef27ae7756aa917 Mon Sep 17 00:00:00 2001 From: Christophe Date: Mon, 6 Jan 2025 17:05:12 +0100 Subject: [PATCH] vkconfig3: Updated copyrights, clean up, bugfixing and added units tests - Updated copyrights - Fixed duplicated settings and presets when reloading layers - Fixed duplicated layer versions - Added mode layer manager tests - Added LayerManager::FindLastModified tests --- vkconfig_cmd/main.cpp | 4 +- vkconfig_cmd/main_doc.h | 4 +- vkconfig_cmd/main_layers.cpp | 4 +- vkconfig_cmd/main_layers.h | 4 +- vkconfig_cmd/main_reset.cpp | 4 +- vkconfig_cmd/main_reset.h | 4 +- vkconfig_core/alert.cpp | 4 +- vkconfig_core/alert.h | 4 +- vkconfig_core/application_singleton.h | 4 +- vkconfig_core/bitfield.cpp | 4 +- vkconfig_core/bitfield.h | 4 +- vkconfig_core/command_line.cpp | 4 +- vkconfig_core/configuration.cpp | 4 +- vkconfig_core/configuration.h | 4 +- vkconfig_core/configuration_manager.cpp | 4 +- vkconfig_core/configuration_manager.h | 4 +- vkconfig_core/configurator.cpp | 4 +- vkconfig_core/configurator.h | 4 +- vkconfig_core/configurator_signal.cpp | 4 +- vkconfig_core/configurator_signal.h | 4 +- vkconfig_core/date.cpp | 4 +- vkconfig_core/date.h | 4 +- vkconfig_core/doc.cpp | 4 +- vkconfig_core/doc.h | 4 +- vkconfig_core/executable.cpp | 4 +- vkconfig_core/executable.h | 4 +- vkconfig_core/executable_manager.cpp | 4 +- vkconfig_core/executable_manager.h | 4 +- vkconfig_core/header.h | 4 +- vkconfig_core/is_dll_32.cpp | 4 +- vkconfig_core/is_dll_32.h | 4 +- vkconfig_core/json.h | 4 +- vkconfig_core/json_validator.h | 4 +- vkconfig_core/layer.cpp | 6 +- vkconfig_core/layer.h | 6 +- vkconfig_core/layer_manager.cpp | 6 +- vkconfig_core/layer_manager.h | 4 +- vkconfig_core/layer_preset.cpp | 4 +- vkconfig_core/layer_preset.h | 4 +- vkconfig_core/parameter.cpp | 4 +- vkconfig_core/parameter.h | 4 +- vkconfig_core/path.cpp | 4 +- vkconfig_core/path.h | 4 +- vkconfig_core/registry.cpp | 4 +- vkconfig_core/serialization.h | 4 +- vkconfig_core/setting_bool.cpp | 4 +- vkconfig_core/setting_filesystem.cpp | 4 +- vkconfig_core/setting_filesystem.h | 4 +- vkconfig_core/setting_flags.cpp | 4 +- vkconfig_core/setting_flags.h | 4 +- vkconfig_core/setting_float.cpp | 4 +- vkconfig_core/setting_string.cpp | 4 +- .../test/test_application_singleton.cpp | 4 +- vkconfig_core/test/test_configuration.cpp | 4 +- .../test/test_configuration_built_in.cpp | 4 +- .../test/test_configuration_manager.cpp | 4 +- vkconfig_core/test/test_configurator.cpp | 4 +- vkconfig_core/test/test_executable.cpp | 4 +- .../test/test_executable_manager.cpp | 4 +- vkconfig_core/test/test_layer.cpp | 13 +- vkconfig_core/test/test_layer_manager.cpp | 124 +++++++++++++++++- vkconfig_core/test/test_layer_preset.cpp | 4 +- vkconfig_core/test/test_override.cpp | 4 +- vkconfig_core/test/test_parameter.cpp | 4 +- vkconfig_core/test/test_path.cpp | 4 +- vkconfig_core/test/test_type_hide_message.cpp | 4 +- .../test/test_type_layer_control.cpp | 4 +- vkconfig_core/test/test_type_layer_type.cpp | 4 +- vkconfig_core/test/test_type_log.cpp | 4 +- vkconfig_core/test/test_type_platform.cpp | 4 +- vkconfig_core/test/test_type_status.cpp | 4 +- vkconfig_core/test/test_type_tab.cpp | 4 +- vkconfig_core/test/test_ui.cpp | 4 +- vkconfig_core/test/test_util.cpp | 4 +- vkconfig_core/test/test_vulkan.cpp | 4 +- vkconfig_core/type_configuration_area.cpp | 4 +- vkconfig_core/type_configuration_area.h | 4 +- vkconfig_core/type_executable_mode.cpp | 4 +- vkconfig_core/type_executable_mode.h | 4 +- vkconfig_core/type_hide_message.cpp | 4 +- vkconfig_core/type_hide_message.h | 4 +- vkconfig_core/type_layer_builtin.cpp | 4 +- vkconfig_core/type_layer_builtin.h | 4 +- vkconfig_core/type_layer_control.cpp | 4 +- vkconfig_core/type_layer_control.h | 4 +- vkconfig_core/type_layer_type.cpp | 4 +- vkconfig_core/type_layer_type.h | 4 +- vkconfig_core/type_layers_paths.cpp | 4 +- vkconfig_core/type_layers_paths.h | 4 +- vkconfig_core/type_log.cpp | 4 +- vkconfig_core/type_log.h | 4 +- vkconfig_core/type_override_area.cpp | 4 +- vkconfig_core/type_override_area.h | 4 +- vkconfig_core/type_platform.cpp | 4 +- vkconfig_core/type_platform.h | 4 +- vkconfig_core/type_status.cpp | 4 +- vkconfig_core/type_status.h | 4 +- vkconfig_core/type_tab.cpp | 4 +- vkconfig_core/type_tab.h | 4 +- vkconfig_core/ui.cpp | 4 +- vkconfig_core/ui.h | 4 +- vkconfig_core/util.cpp | 4 +- vkconfig_core/util.h | 4 +- vkconfig_core/version.cpp | 4 +- vkconfig_core/version.h | 4 +- vkconfig_core/vulkan_util.cpp | 4 +- vkconfig_core/vulkan_util.h | 4 +- vkconfig_gui/dialog_vulkan_analysis.cpp | 4 +- vkconfig_gui/dialog_vulkan_info.cpp | 4 +- vkconfig_gui/item_list.cpp | 4 +- vkconfig_gui/item_list.h | 4 +- vkconfig_gui/item_tree.cpp | 4 +- vkconfig_gui/item_tree.h | 4 +- vkconfig_gui/main.cpp | 4 +- vkconfig_gui/mainwindow.cpp | 4 +- vkconfig_gui/mainwindow.h | 4 +- vkconfig_gui/mainwindow.ui | 2 +- vkconfig_gui/settings_tree.cpp | 4 +- vkconfig_gui/settings_tree.h | 4 +- vkconfig_gui/tab.cpp | 4 +- vkconfig_gui/tab.h | 4 +- vkconfig_gui/tab_about.cpp | 4 +- vkconfig_gui/tab_about.h | 4 +- vkconfig_gui/tab_applications.cpp | 4 +- vkconfig_gui/tab_applications.h | 4 +- vkconfig_gui/tab_configurations.cpp | 4 +- vkconfig_gui/tab_configurations.h | 4 +- vkconfig_gui/tab_diagnostics.cpp | 4 +- vkconfig_gui/tab_diagnostics.h | 4 +- vkconfig_gui/tab_documentation.cpp | 4 +- vkconfig_gui/tab_documentation.h | 4 +- vkconfig_gui/tab_layers.cpp | 4 +- vkconfig_gui/tab_layers.h | 4 +- vkconfig_gui/widget_layer_version.cpp | 4 +- vkconfig_gui/widget_layer_version.h | 4 +- vkconfig_gui/widget_resize_button.cpp | 4 +- vkconfig_gui/widget_resize_button.h | 4 +- vkconfig_gui/widget_setting.h | 4 +- vkconfig_gui/widget_setting_enum.cpp | 4 +- vkconfig_gui/widget_setting_enum.h | 4 +- vkconfig_gui/widget_setting_filesystem.cpp | 4 +- vkconfig_gui/widget_setting_filesystem.h | 4 +- vkconfig_gui/widget_setting_float.cpp | 4 +- vkconfig_gui/widget_setting_frames.cpp | 4 +- vkconfig_gui/widget_setting_group.cpp | 4 +- vkconfig_gui/widget_setting_group.h | 4 +- vkconfig_gui/widget_setting_int.cpp | 4 +- .../widget_tab_configurations_layer.cpp | 4 +- .../widget_tab_configurations_layer.h | 4 +- vkconfig_gui/widget_tab_layers_path.cpp | 4 +- vkconfig_gui/widget_tab_layers_path.h | 4 +- 151 files changed, 429 insertions(+), 308 deletions(-) diff --git a/vkconfig_cmd/main.cpp b/vkconfig_cmd/main.cpp index 1b4968fe1b..38269011c5 100644 --- a/vkconfig_cmd/main.cpp +++ b/vkconfig_cmd/main.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_cmd/main_doc.h b/vkconfig_cmd/main_doc.h index 75f5548bfc..40b8f06e21 100644 --- a/vkconfig_cmd/main_doc.h +++ b/vkconfig_cmd/main_doc.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_cmd/main_layers.cpp b/vkconfig_cmd/main_layers.cpp index 1fe760cde7..aab318e10e 100644 --- a/vkconfig_cmd/main_layers.cpp +++ b/vkconfig_cmd/main_layers.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_cmd/main_layers.h b/vkconfig_cmd/main_layers.h index 81de0eac62..c250fdd43c 100644 --- a/vkconfig_cmd/main_layers.h +++ b/vkconfig_cmd/main_layers.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_cmd/main_reset.cpp b/vkconfig_cmd/main_reset.cpp index 17d2a4192d..5a285d642c 100644 --- a/vkconfig_cmd/main_reset.cpp +++ b/vkconfig_cmd/main_reset.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_cmd/main_reset.h b/vkconfig_cmd/main_reset.h index 4f29de61b9..3f6ecfab45 100644 --- a/vkconfig_cmd/main_reset.h +++ b/vkconfig_cmd/main_reset.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/alert.cpp b/vkconfig_core/alert.cpp index e9eac7b2c8..a04b5d19f9 100644 --- a/vkconfig_core/alert.cpp +++ b/vkconfig_core/alert.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/alert.h b/vkconfig_core/alert.h index fa5a4b1029..a6fcb584d9 100644 --- a/vkconfig_core/alert.h +++ b/vkconfig_core/alert.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/application_singleton.h b/vkconfig_core/application_singleton.h index 06340af5a6..cf02a54113 100644 --- a/vkconfig_core/application_singleton.h +++ b/vkconfig_core/application_singleton.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/bitfield.cpp b/vkconfig_core/bitfield.cpp index acd008ba19..3456b9b30d 100644 --- a/vkconfig_core/bitfield.cpp +++ b/vkconfig_core/bitfield.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/bitfield.h b/vkconfig_core/bitfield.h index 5be6315937..0dfedca5d7 100644 --- a/vkconfig_core/bitfield.h +++ b/vkconfig_core/bitfield.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/command_line.cpp b/vkconfig_core/command_line.cpp index 4529f9e6cd..4bd604396a 100644 --- a/vkconfig_core/command_line.cpp +++ b/vkconfig_core/command_line.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/configuration.cpp b/vkconfig_core/configuration.cpp index 59d63c9d70..63cadbd344 100644 --- a/vkconfig_core/configuration.cpp +++ b/vkconfig_core/configuration.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/configuration.h b/vkconfig_core/configuration.h index dcdf0b4f45..7f4eff8b1d 100644 --- a/vkconfig_core/configuration.h +++ b/vkconfig_core/configuration.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/configuration_manager.cpp b/vkconfig_core/configuration_manager.cpp index 5ff0c44204..4566849aac 100644 --- a/vkconfig_core/configuration_manager.cpp +++ b/vkconfig_core/configuration_manager.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/configuration_manager.h b/vkconfig_core/configuration_manager.h index cceb561f82..df0a551ef1 100644 --- a/vkconfig_core/configuration_manager.h +++ b/vkconfig_core/configuration_manager.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/configurator.cpp b/vkconfig_core/configurator.cpp index 0b5413d124..ce0bef8049 100644 --- a/vkconfig_core/configurator.cpp +++ b/vkconfig_core/configurator.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/configurator.h b/vkconfig_core/configurator.h index 20c4d7b5e4..a5af373f09 100644 --- a/vkconfig_core/configurator.h +++ b/vkconfig_core/configurator.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/configurator_signal.cpp b/vkconfig_core/configurator_signal.cpp index 2d045ea196..37947c9d95 100644 --- a/vkconfig_core/configurator_signal.cpp +++ b/vkconfig_core/configurator_signal.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/configurator_signal.h b/vkconfig_core/configurator_signal.h index 44abac55b4..90263a0669 100644 --- a/vkconfig_core/configurator_signal.h +++ b/vkconfig_core/configurator_signal.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/date.cpp b/vkconfig_core/date.cpp index 9bd44e75a9..ae8dc5c425 100644 --- a/vkconfig_core/date.cpp +++ b/vkconfig_core/date.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/date.h b/vkconfig_core/date.h index 1d81cda60b..81c2902bf5 100644 --- a/vkconfig_core/date.h +++ b/vkconfig_core/date.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/doc.cpp b/vkconfig_core/doc.cpp index 4d97bdbdd4..ff74a2317b 100644 --- a/vkconfig_core/doc.cpp +++ b/vkconfig_core/doc.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/doc.h b/vkconfig_core/doc.h index 194020d661..de2e4ccbf3 100644 --- a/vkconfig_core/doc.h +++ b/vkconfig_core/doc.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/executable.cpp b/vkconfig_core/executable.cpp index 606b8438d8..fd49d927a4 100644 --- a/vkconfig_core/executable.cpp +++ b/vkconfig_core/executable.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/executable.h b/vkconfig_core/executable.h index dd99ad66ad..006bfa8b6a 100644 --- a/vkconfig_core/executable.h +++ b/vkconfig_core/executable.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/executable_manager.cpp b/vkconfig_core/executable_manager.cpp index 088c993c77..9d1d55d23d 100644 --- a/vkconfig_core/executable_manager.cpp +++ b/vkconfig_core/executable_manager.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/executable_manager.h b/vkconfig_core/executable_manager.h index b1c1d9883a..2ef6e7a3d0 100644 --- a/vkconfig_core/executable_manager.h +++ b/vkconfig_core/executable_manager.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/header.h b/vkconfig_core/header.h index 38fcec5160..275dafc1f2 100644 --- a/vkconfig_core/header.h +++ b/vkconfig_core/header.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/is_dll_32.cpp b/vkconfig_core/is_dll_32.cpp index a052523f8a..2bad47ce05 100644 --- a/vkconfig_core/is_dll_32.cpp +++ b/vkconfig_core/is_dll_32.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/is_dll_32.h b/vkconfig_core/is_dll_32.h index 3da9140345..d1018a59ec 100644 --- a/vkconfig_core/is_dll_32.h +++ b/vkconfig_core/is_dll_32.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/json.h b/vkconfig_core/json.h index 822cb8e6dd..07b734df18 100644 --- a/vkconfig_core/json.h +++ b/vkconfig_core/json.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/json_validator.h b/vkconfig_core/json_validator.h index 70f8a09538..d6c6ae6616 100644 --- a/vkconfig_core/json_validator.h +++ b/vkconfig_core/json_validator.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/layer.cpp b/vkconfig_core/layer.cpp index 358b43bc76..988844e582 100644 --- a/vkconfig_core/layer.cpp +++ b/vkconfig_core/layer.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -335,12 +335,14 @@ LayerLoadStatus Layer::Load(const Path& full_path_to_file, LayerType type, bool const QJsonObject& json_features_object = json_features_value.toObject(); // Load layer settings + this->settings.clear(); const QJsonValue& json_settings_value = json_features_object.value("settings"); if (json_settings_value != QJsonValue::Undefined) { AddSettingsSet(this->settings, nullptr, json_settings_value); } // Load layer presets + this->presets.clear(); const QJsonValue& json_presets_value = json_features_object.value("presets"); if (json_presets_value != QJsonValue::Undefined) { assert(json_presets_value.isArray()); diff --git a/vkconfig_core/layer.h b/vkconfig_core/layer.h index c9c5a8b4e6..c70090e7ab 100644 --- a/vkconfig_core/layer.h +++ b/vkconfig_core/layer.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -111,8 +111,6 @@ class Layer { private: Layer& operator=(const Layer&) = delete; - bool IsBuiltIn() const; - std::vector > memory; // Settings are deleted when all layers instances are deleted. }; diff --git a/vkconfig_core/layer_manager.cpp b/vkconfig_core/layer_manager.cpp index 97d65f43b2..7f8e067284 100644 --- a/vkconfig_core/layer_manager.cpp +++ b/vkconfig_core/layer_manager.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -487,7 +487,7 @@ void LayerManager::LoadLayersFromPath(const Path &layers_path, LayerType type) { LayerLoadStatus LayerManager::LoadLayer(const Path &layer_path, LayerType type) { const std::string &last_modified = layer_path.LastModified(); - Layer *already_loaded_layer = this->FindFromManifest(layer_path); + Layer *already_loaded_layer = this->FindFromManifest(layer_path, true); if (already_loaded_layer != nullptr) { // Already loaded auto it = this->layers_validated.find(layer_path); diff --git a/vkconfig_core/layer_manager.h b/vkconfig_core/layer_manager.h index ef6481b98f..bb04a07feb 100644 --- a/vkconfig_core/layer_manager.h +++ b/vkconfig_core/layer_manager.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/layer_preset.cpp b/vkconfig_core/layer_preset.cpp index 577e50e01f..8d39369897 100644 --- a/vkconfig_core/layer_preset.cpp +++ b/vkconfig_core/layer_preset.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/layer_preset.h b/vkconfig_core/layer_preset.h index 03a4a0c101..39ccf15119 100644 --- a/vkconfig_core/layer_preset.h +++ b/vkconfig_core/layer_preset.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/parameter.cpp b/vkconfig_core/parameter.cpp index f5683a1cc5..16b49124b7 100644 --- a/vkconfig_core/parameter.cpp +++ b/vkconfig_core/parameter.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/parameter.h b/vkconfig_core/parameter.h index 7792ef51ad..c385ca1b85 100644 --- a/vkconfig_core/parameter.h +++ b/vkconfig_core/parameter.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/path.cpp b/vkconfig_core/path.cpp index 8c0c011fee..a536a20ad4 100644 --- a/vkconfig_core/path.cpp +++ b/vkconfig_core/path.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/path.h b/vkconfig_core/path.h index 579ba484bf..70b5cbefc4 100644 --- a/vkconfig_core/path.h +++ b/vkconfig_core/path.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/registry.cpp b/vkconfig_core/registry.cpp index 5a8ba9aac0..ea3aa103b5 100644 --- a/vkconfig_core/registry.cpp +++ b/vkconfig_core/registry.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/serialization.h b/vkconfig_core/serialization.h index a73bf2f6d5..e80f015906 100644 --- a/vkconfig_core/serialization.h +++ b/vkconfig_core/serialization.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/setting_bool.cpp b/vkconfig_core/setting_bool.cpp index 6f231174ae..88eca59f69 100644 --- a/vkconfig_core/setting_bool.cpp +++ b/vkconfig_core/setting_bool.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/setting_filesystem.cpp b/vkconfig_core/setting_filesystem.cpp index 92721d4489..6b63f409dc 100644 --- a/vkconfig_core/setting_filesystem.cpp +++ b/vkconfig_core/setting_filesystem.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/setting_filesystem.h b/vkconfig_core/setting_filesystem.h index 3ef2257850..6e6fbda06d 100644 --- a/vkconfig_core/setting_filesystem.h +++ b/vkconfig_core/setting_filesystem.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/setting_flags.cpp b/vkconfig_core/setting_flags.cpp index 17a5447052..8c07d788b0 100644 --- a/vkconfig_core/setting_flags.cpp +++ b/vkconfig_core/setting_flags.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/setting_flags.h b/vkconfig_core/setting_flags.h index 0d5ec199a0..1073bbee83 100644 --- a/vkconfig_core/setting_flags.h +++ b/vkconfig_core/setting_flags.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/setting_float.cpp b/vkconfig_core/setting_float.cpp index 3bf4411d63..b4606cc29b 100644 --- a/vkconfig_core/setting_float.cpp +++ b/vkconfig_core/setting_float.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/setting_string.cpp b/vkconfig_core/setting_string.cpp index e7c33c5219..4d48136273 100644 --- a/vkconfig_core/setting_string.cpp +++ b/vkconfig_core/setting_string.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_application_singleton.cpp b/vkconfig_core/test/test_application_singleton.cpp index 5765b71e07..ebf9e05632 100644 --- a/vkconfig_core/test/test_application_singleton.cpp +++ b/vkconfig_core/test/test_application_singleton.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_configuration.cpp b/vkconfig_core/test/test_configuration.cpp index b9f4ee086b..1bcc3391fc 100644 --- a/vkconfig_core/test/test_configuration.cpp +++ b/vkconfig_core/test/test_configuration.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_configuration_built_in.cpp b/vkconfig_core/test/test_configuration_built_in.cpp index 1902b90f1d..ed01a8ae5d 100644 --- a/vkconfig_core/test/test_configuration_built_in.cpp +++ b/vkconfig_core/test/test_configuration_built_in.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_configuration_manager.cpp b/vkconfig_core/test/test_configuration_manager.cpp index dda3b02712..a25c1619a8 100644 --- a/vkconfig_core/test/test_configuration_manager.cpp +++ b/vkconfig_core/test/test_configuration_manager.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_configurator.cpp b/vkconfig_core/test/test_configurator.cpp index ebbc33e51e..01a7592956 100644 --- a/vkconfig_core/test/test_configurator.cpp +++ b/vkconfig_core/test/test_configurator.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_executable.cpp b/vkconfig_core/test/test_executable.cpp index 04d75f19f8..69a2f5aa68 100644 --- a/vkconfig_core/test/test_executable.cpp +++ b/vkconfig_core/test/test_executable.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_executable_manager.cpp b/vkconfig_core/test/test_executable_manager.cpp index fdc832006f..17bdcfdde9 100644 --- a/vkconfig_core/test/test_executable_manager.cpp +++ b/vkconfig_core/test/test_executable_manager.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_layer.cpp b/vkconfig_core/test/test_layer.cpp index 5fd8eb4e46..95df45a34e 100644 --- a/vkconfig_core/test/test_layer.cpp +++ b/vkconfig_core/test/test_layer.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -151,6 +151,11 @@ TEST(test_layer, load_preset_interit) { EXPECT_STREQ("Preset Override", layer.presets[1].label.c_str()); EXPECT_EQ(PLATFORM_WINDOWS_BIT | PLATFORM_MACOS_BIT, layer.presets[1].platform_flags); EXPECT_EQ(STATUS_ALPHA, layer.presets[1].status); + + const LayerLoadStatus reloaded = layer.Load(":/layers/VK_LAYER_LUNARG_test_04.json", LAYER_TYPE_EXPLICIT, false, Dummy()); + EXPECT_EQ(reloaded, LAYER_LOAD_ADDED); + EXPECT_EQ(1, layer.settings.size()); + EXPECT_EQ(2, layer.presets.size()); } TEST(test_layer, load_setting_children_interit) { @@ -231,6 +236,10 @@ TEST(test_layer, load_setting_missing) { LayerControl layer_controlA = layer.GetActualControl(); EXPECT_EQ(layer_controlA, LAYER_CONTROL_ON); + + const LayerLoadStatus reloaded = layer.Load(":/layers/VK_LAYER_LUNARG_test_07.json", LAYER_TYPE_IMPLICIT, false, Dummy()); + EXPECT_EQ(1, layer.settings.size()); + EXPECT_EQ(1, layer.presets.size()); } TEST(test_layer, load_env_variable) { diff --git a/vkconfig_core/test/test_layer_manager.cpp b/vkconfig_core/test/test_layer_manager.cpp index c5e19f55b4..0e522e374b 100644 --- a/vkconfig_core/test/test_layer_manager.cpp +++ b/vkconfig_core/test/test_layer_manager.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ TEST(test_layer_manager, clear) { LayerManager layer_manager; + EXPECT_TRUE(layer_manager.validate_manifests == false); EXPECT_TRUE(layer_manager.Empty()); EXPECT_TRUE(layer_manager.Size() == 0); } @@ -99,8 +100,6 @@ TEST(test_layer_manager, reset) { LayerManager layer_manager; layer_manager.LoadLayersFromPath(":/layers"); - std::size_t Count = layer_manager.Size(); - EXPECT_FALSE(layer_manager.Empty()); layer_manager.Clear(); @@ -118,6 +117,30 @@ TEST(test_layer_manager, find_single) { EXPECT_STREQ(layer->key.c_str(), "VK_LAYER_LUNARG_reference_1_1_0"); } +TEST(test_layer_manager, reload) { + LayerManager layer_manager; + layer_manager.LoadLayersFromPath(":/layers"); + + EXPECT_TRUE(layer_manager.Size() > 1); + + const std::size_t initial_size = layer_manager.Size(); + + LayerLoadStatus status1 = layer_manager.LoadLayer(":/layers/VK_LAYER_LUNARG_test_04.json"); + EXPECT_EQ(status1, LAYER_LOAD_RELOADED); + + Layer* layer1 = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_test_04.json", false); + layer1->enabled = false; + + const std::size_t reloaded_size1 = layer_manager.Size(); + EXPECT_EQ(initial_size, reloaded_size1); + + LayerLoadStatus status2 = layer_manager.LoadLayer(":/layers/VK_LAYER_LUNARG_test_04.json"); + EXPECT_EQ(status2, LAYER_LOAD_RELOADED); + + const std::size_t reloaded_size2 = layer_manager.Size(); + EXPECT_EQ(initial_size, reloaded_size2); +} + TEST(test_layer_manager, find_multiple) { LayerManager layer_manager; layer_manager.LoadLayersFromPath(":/layers"); @@ -155,17 +178,106 @@ TEST(test_layer_manager, find_multiple) { EXPECT_TRUE(layer_not_found_key == nullptr); } +TEST(test_layer_manager, FindLastModified) { + LayerManager layer_manager; + layer_manager.LoadLayersFromPath(":/layers"); + const std::size_t initial_count = layer_manager.Size(); + + Layer* layer204_modified = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_204.json", false); + layer204_modified->validated_last_modified = "1"; + Path modified_path = layer204_modified->manifest_path; + layer204_modified->manifest_path = ":/layers/VK_LAYER_LUNARG_version_204_copy.json"; + + layer_manager.LoadLayersFromPath(":/layers"); + const std::size_t reloaded_count = layer_manager.Size(); + EXPECT_EQ(initial_count + 1, reloaded_count); + + Layer* layer204 = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_204.json", false); + layer204->validated_last_modified = "0"; + + Layer* layer204_first = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_204_copy.json", false); + Layer* layer204_copy = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_204.json", false); + + const Layer* last0 = layer_manager.FindLastModified("VK_LAYER_LUNARG_version", Version(1, 3, 204)); + EXPECT_EQ(layer204_first, last0); + + layer204_copy->validated_last_modified = "2"; + const Layer* last1 = layer_manager.FindLastModified("VK_LAYER_LUNARG_version", Version(1, 3, 204)); + EXPECT_EQ(layer204_copy, last1); +} + TEST(test_layer_manager, FindFromManifest) { LayerManager layer_manager; layer_manager.LoadLayersFromPath(":/layers"); + const std::size_t initial_count = layer_manager.Size(); - const Layer* layer204 = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_204.json"); + Layer* layer204 = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_204.json", false); EXPECT_TRUE(layer204 != nullptr); EXPECT_STREQ(layer204->key.c_str(), "VK_LAYER_LUNARG_version"); EXPECT_EQ(layer204->api_version, Version(1, 3, 204)); + EXPECT_TRUE(layer204->enabled); - const Layer* layer208 = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_208.json"); + Layer* layer208 = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_208.json", false); EXPECT_TRUE(layer208 == nullptr); + + layer204->enabled = false; + Layer* layer204_disabledA = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_204.json", false); + EXPECT_TRUE(layer204_disabledA == nullptr); + Layer* layer204_disabledB = + layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_204.json", true); // find disabled layers anyway + EXPECT_TRUE(layer204_disabledB != nullptr); + EXPECT_FALSE(layer204_disabledB->enabled); + + layer204_disabledB->enabled = true; + Layer* layer204_disabledC = layer_manager.FindFromManifest(":/layers/VK_LAYER_LUNARG_version_204.json", false); + EXPECT_TRUE(layer204_disabledC != nullptr); + EXPECT_TRUE(layer204_disabledC->enabled); + + layer_manager.LoadLayersFromPath(":/layers"); + const std::size_t enabled_count = layer_manager.Size(); + EXPECT_EQ(initial_count, enabled_count); + + layer204->enabled = false; + layer_manager.LoadLayersFromPath(":/layers"); + const std::size_t disabled_count = layer_manager.Size(); + EXPECT_EQ(initial_count, disabled_count); +} + +TEST(test_layer_manager, GatherManifests) { + LayerManager layer_manager; + layer_manager.LoadLayersFromPath(":/layers"); + + const std::vector& versions_notfound = layer_manager.GatherManifests("VK_LAYER_LUNARG_version_not_found"); + EXPECT_TRUE(versions_notfound.empty()); + + const std::vector& versions_found = layer_manager.GatherManifests("VK_LAYER_LUNARG_version"); + EXPECT_FALSE(versions_found.empty()); + EXPECT_EQ(versions_found.size(), 4); + + const Layer* layer0 = layer_manager.FindFromManifest(versions_found[0]); + EXPECT_EQ(layer0->api_version, Version(1, 3, 290)); + const Layer* layer1 = layer_manager.FindFromManifest(versions_found[1]); + EXPECT_EQ(layer1->api_version, Version(1, 3, 204)); + const Layer* layer2 = layer_manager.FindFromManifest(versions_found[2]); + EXPECT_EQ(layer2->api_version, Version(1, 2, 193)); + const Layer* layer3 = layer_manager.FindFromManifest(versions_found[3]); + EXPECT_EQ(layer3->api_version, Version(1, 1, 135)); + + const Layer* layer193 = layer_manager.Find("VK_LAYER_LUNARG_version", Version(1, 2, 193)); + EXPECT_TRUE(layer193 != nullptr); + + Layer* layer_edit = layer_manager.FindFromManifest(layer193->manifest_path); + layer_edit->enabled = false; + + const std::vector& versions_found_b = layer_manager.GatherManifests("VK_LAYER_LUNARG_version"); + EXPECT_FALSE(versions_found_b.empty()); + EXPECT_EQ(versions_found_b.size(), 3); + const Layer* layerB0 = layer_manager.FindFromManifest(versions_found_b[0]); + EXPECT_EQ(layerB0->api_version, Version(1, 3, 290)); + const Layer* layerB1 = layer_manager.FindFromManifest(versions_found_b[1]); + EXPECT_EQ(layerB1->api_version, Version(1, 3, 204)); + const Layer* layerB2 = layer_manager.FindFromManifest(versions_found_b[2]); + EXPECT_EQ(layerB2->api_version, Version(1, 1, 135)); } TEST(test_layer_manager, GatherVersions) { diff --git a/vkconfig_core/test/test_layer_preset.cpp b/vkconfig_core/test/test_layer_preset.cpp index ce6163e524..d02211388a 100644 --- a/vkconfig_core/test/test_layer_preset.cpp +++ b/vkconfig_core/test/test_layer_preset.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_override.cpp b/vkconfig_core/test/test_override.cpp index 8b1c49be4e..6f643f4a1a 100644 --- a/vkconfig_core/test/test_override.cpp +++ b/vkconfig_core/test/test_override.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_parameter.cpp b/vkconfig_core/test/test_parameter.cpp index d9d97dd30d..94f3debe0b 100644 --- a/vkconfig_core/test/test_parameter.cpp +++ b/vkconfig_core/test/test_parameter.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_path.cpp b/vkconfig_core/test/test_path.cpp index 471aeb8835..b5650acec2 100644 --- a/vkconfig_core/test/test_path.cpp +++ b/vkconfig_core/test/test_path.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_type_hide_message.cpp b/vkconfig_core/test/test_type_hide_message.cpp index fbbb5a8aa4..a6ccec3cd0 100644 --- a/vkconfig_core/test/test_type_hide_message.cpp +++ b/vkconfig_core/test/test_type_hide_message.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_type_layer_control.cpp b/vkconfig_core/test/test_type_layer_control.cpp index fa4d930293..ac1acf02b2 100644 --- a/vkconfig_core/test/test_type_layer_control.cpp +++ b/vkconfig_core/test/test_type_layer_control.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_type_layer_type.cpp b/vkconfig_core/test/test_type_layer_type.cpp index ddf5ee8582..c1dbf06792 100644 --- a/vkconfig_core/test/test_type_layer_type.cpp +++ b/vkconfig_core/test/test_type_layer_type.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_type_log.cpp b/vkconfig_core/test/test_type_log.cpp index f0204d17f9..1333bb3a92 100644 --- a/vkconfig_core/test/test_type_log.cpp +++ b/vkconfig_core/test/test_type_log.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_type_platform.cpp b/vkconfig_core/test/test_type_platform.cpp index f3306c9610..680f55c1fa 100644 --- a/vkconfig_core/test/test_type_platform.cpp +++ b/vkconfig_core/test/test_type_platform.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_type_status.cpp b/vkconfig_core/test/test_type_status.cpp index 06b38ad9df..852b093ec4 100644 --- a/vkconfig_core/test/test_type_status.cpp +++ b/vkconfig_core/test/test_type_status.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_type_tab.cpp b/vkconfig_core/test/test_type_tab.cpp index ef12714b1e..bd1539f6a5 100644 --- a/vkconfig_core/test/test_type_tab.cpp +++ b/vkconfig_core/test/test_type_tab.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_ui.cpp b/vkconfig_core/test/test_ui.cpp index ec5b1de83e..01d2e0abe5 100644 --- a/vkconfig_core/test/test_ui.cpp +++ b/vkconfig_core/test/test_ui.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_util.cpp b/vkconfig_core/test/test_util.cpp index 60c97bf1a2..0360ce794e 100644 --- a/vkconfig_core/test/test_util.cpp +++ b/vkconfig_core/test/test_util.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/test/test_vulkan.cpp b/vkconfig_core/test/test_vulkan.cpp index eb561156fc..c58192e4e6 100644 --- a/vkconfig_core/test/test_vulkan.cpp +++ b/vkconfig_core/test/test_vulkan.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_configuration_area.cpp b/vkconfig_core/type_configuration_area.cpp index 9dcbde5e3b..3884fbc7a7 100644 --- a/vkconfig_core/type_configuration_area.cpp +++ b/vkconfig_core/type_configuration_area.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_configuration_area.h b/vkconfig_core/type_configuration_area.h index a37cdeaf24..7961cd4a2f 100644 --- a/vkconfig_core/type_configuration_area.h +++ b/vkconfig_core/type_configuration_area.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_executable_mode.cpp b/vkconfig_core/type_executable_mode.cpp index 8ffb8d9fa2..ec2b12209b 100644 --- a/vkconfig_core/type_executable_mode.cpp +++ b/vkconfig_core/type_executable_mode.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_executable_mode.h b/vkconfig_core/type_executable_mode.h index 6d6cd7440c..95f1562b69 100644 --- a/vkconfig_core/type_executable_mode.h +++ b/vkconfig_core/type_executable_mode.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_hide_message.cpp b/vkconfig_core/type_hide_message.cpp index a99d26b4db..53caafed4b 100644 --- a/vkconfig_core/type_hide_message.cpp +++ b/vkconfig_core/type_hide_message.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_hide_message.h b/vkconfig_core/type_hide_message.h index bc6ab3e778..1812164476 100644 --- a/vkconfig_core/type_hide_message.h +++ b/vkconfig_core/type_hide_message.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_layer_builtin.cpp b/vkconfig_core/type_layer_builtin.cpp index cc61b1590d..10d0909ad8 100644 --- a/vkconfig_core/type_layer_builtin.cpp +++ b/vkconfig_core/type_layer_builtin.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_layer_builtin.h b/vkconfig_core/type_layer_builtin.h index 787a737c54..45c6155415 100644 --- a/vkconfig_core/type_layer_builtin.h +++ b/vkconfig_core/type_layer_builtin.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_layer_control.cpp b/vkconfig_core/type_layer_control.cpp index 551610361a..f1d34d2f93 100644 --- a/vkconfig_core/type_layer_control.cpp +++ b/vkconfig_core/type_layer_control.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_layer_control.h b/vkconfig_core/type_layer_control.h index 03658803a2..f9df53f59f 100644 --- a/vkconfig_core/type_layer_control.h +++ b/vkconfig_core/type_layer_control.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_layer_type.cpp b/vkconfig_core/type_layer_type.cpp index da8351dddf..c3eab5ff9c 100644 --- a/vkconfig_core/type_layer_type.cpp +++ b/vkconfig_core/type_layer_type.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_layer_type.h b/vkconfig_core/type_layer_type.h index 0fbf83d8c3..737fd1b2b2 100644 --- a/vkconfig_core/type_layer_type.h +++ b/vkconfig_core/type_layer_type.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_layers_paths.cpp b/vkconfig_core/type_layers_paths.cpp index 326444c97c..43a13f7b89 100644 --- a/vkconfig_core/type_layers_paths.cpp +++ b/vkconfig_core/type_layers_paths.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_layers_paths.h b/vkconfig_core/type_layers_paths.h index 08fbad002d..473aef5d79 100644 --- a/vkconfig_core/type_layers_paths.h +++ b/vkconfig_core/type_layers_paths.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_log.cpp b/vkconfig_core/type_log.cpp index 40dc2d9a41..12b9757fe2 100644 --- a/vkconfig_core/type_log.cpp +++ b/vkconfig_core/type_log.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_log.h b/vkconfig_core/type_log.h index 76da1d9868..0e24c54d87 100644 --- a/vkconfig_core/type_log.h +++ b/vkconfig_core/type_log.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_override_area.cpp b/vkconfig_core/type_override_area.cpp index 4bab00ef7e..27ac810fea 100644 --- a/vkconfig_core/type_override_area.cpp +++ b/vkconfig_core/type_override_area.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_override_area.h b/vkconfig_core/type_override_area.h index 5b947c05cd..d79af23785 100644 --- a/vkconfig_core/type_override_area.h +++ b/vkconfig_core/type_override_area.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_platform.cpp b/vkconfig_core/type_platform.cpp index d729ab1d30..5d1f59664a 100644 --- a/vkconfig_core/type_platform.cpp +++ b/vkconfig_core/type_platform.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_platform.h b/vkconfig_core/type_platform.h index e36a40ee52..66dca43b59 100644 --- a/vkconfig_core/type_platform.h +++ b/vkconfig_core/type_platform.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_status.cpp b/vkconfig_core/type_status.cpp index dd2ac45823..a4c2238a7e 100644 --- a/vkconfig_core/type_status.cpp +++ b/vkconfig_core/type_status.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_status.h b/vkconfig_core/type_status.h index f614d2b3fe..fbe4b59495 100644 --- a/vkconfig_core/type_status.h +++ b/vkconfig_core/type_status.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_tab.cpp b/vkconfig_core/type_tab.cpp index df0a378ff1..565a4d15ec 100644 --- a/vkconfig_core/type_tab.cpp +++ b/vkconfig_core/type_tab.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/type_tab.h b/vkconfig_core/type_tab.h index 4e25798765..f0c6ed45ad 100644 --- a/vkconfig_core/type_tab.h +++ b/vkconfig_core/type_tab.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/ui.cpp b/vkconfig_core/ui.cpp index 106372e97b..1df08ee974 100644 --- a/vkconfig_core/ui.cpp +++ b/vkconfig_core/ui.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/ui.h b/vkconfig_core/ui.h index 56d31e8e3f..db38feb422 100644 --- a/vkconfig_core/ui.h +++ b/vkconfig_core/ui.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/util.cpp b/vkconfig_core/util.cpp index 44c7aaee7a..b5e24277fd 100644 --- a/vkconfig_core/util.cpp +++ b/vkconfig_core/util.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/util.h b/vkconfig_core/util.h index 69d76e6fc9..9025f7f359 100644 --- a/vkconfig_core/util.h +++ b/vkconfig_core/util.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/version.cpp b/vkconfig_core/version.cpp index 6807f004ee..f7da516cab 100644 --- a/vkconfig_core/version.cpp +++ b/vkconfig_core/version.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/version.h b/vkconfig_core/version.h index 66c31346fa..64e4da1298 100644 --- a/vkconfig_core/version.h +++ b/vkconfig_core/version.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/vulkan_util.cpp b/vkconfig_core/vulkan_util.cpp index b90c9f2b94..cf4f1fb742 100644 --- a/vkconfig_core/vulkan_util.cpp +++ b/vkconfig_core/vulkan_util.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_core/vulkan_util.h b/vkconfig_core/vulkan_util.h index d29b5eabdf..7708cfb08d 100644 --- a/vkconfig_core/vulkan_util.h +++ b/vkconfig_core/vulkan_util.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/dialog_vulkan_analysis.cpp b/vkconfig_gui/dialog_vulkan_analysis.cpp index a61488af36..c701927656 100644 --- a/vkconfig_gui/dialog_vulkan_analysis.cpp +++ b/vkconfig_gui/dialog_vulkan_analysis.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/dialog_vulkan_info.cpp b/vkconfig_gui/dialog_vulkan_info.cpp index aa8ba7e681..cfc91eb5e8 100644 --- a/vkconfig_gui/dialog_vulkan_info.cpp +++ b/vkconfig_gui/dialog_vulkan_info.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/item_list.cpp b/vkconfig_gui/item_list.cpp index 881e8cf6d2..1f299bbf01 100644 --- a/vkconfig_gui/item_list.cpp +++ b/vkconfig_gui/item_list.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/item_list.h b/vkconfig_gui/item_list.h index 710fa5655f..fbb468c615 100644 --- a/vkconfig_gui/item_list.h +++ b/vkconfig_gui/item_list.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/item_tree.cpp b/vkconfig_gui/item_tree.cpp index cc5577d684..68c629b91e 100644 --- a/vkconfig_gui/item_tree.cpp +++ b/vkconfig_gui/item_tree.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/item_tree.h b/vkconfig_gui/item_tree.h index f963be8f19..d57aafd9c4 100644 --- a/vkconfig_gui/item_tree.h +++ b/vkconfig_gui/item_tree.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/main.cpp b/vkconfig_gui/main.cpp index 27a97623e5..492a2f3d13 100644 --- a/vkconfig_gui/main.cpp +++ b/vkconfig_gui/main.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/mainwindow.cpp b/vkconfig_gui/mainwindow.cpp index dd62bba3e7..d0b8d8a522 100644 --- a/vkconfig_gui/mainwindow.cpp +++ b/vkconfig_gui/mainwindow.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/mainwindow.h b/vkconfig_gui/mainwindow.h index 1e021adccf..8f23fa3086 100644 --- a/vkconfig_gui/mainwindow.h +++ b/vkconfig_gui/mainwindow.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/mainwindow.ui b/vkconfig_gui/mainwindow.ui index 6555757694..f43f29386c 100644 --- a/vkconfig_gui/mainwindow.ui +++ b/vkconfig_gui/mainwindow.ui @@ -2278,7 +2278,7 @@ Qt::LeftToRight - Copyright (c) 2020-2024 LunarG, Inc. + Copyright (c) 2020-2025 LunarG, Inc. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter diff --git a/vkconfig_gui/settings_tree.cpp b/vkconfig_gui/settings_tree.cpp index 21b5e7baa4..f74a625451 100644 --- a/vkconfig_gui/settings_tree.cpp +++ b/vkconfig_gui/settings_tree.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/settings_tree.h b/vkconfig_gui/settings_tree.h index e52ca64053..160e002bbb 100644 --- a/vkconfig_gui/settings_tree.h +++ b/vkconfig_gui/settings_tree.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab.cpp b/vkconfig_gui/tab.cpp index da75be4d6b..10747d59ed 100644 --- a/vkconfig_gui/tab.cpp +++ b/vkconfig_gui/tab.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab.h b/vkconfig_gui/tab.h index b00a2f8818..587e573525 100644 --- a/vkconfig_gui/tab.h +++ b/vkconfig_gui/tab.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_about.cpp b/vkconfig_gui/tab_about.cpp index 4ef45d480b..927634d4fc 100644 --- a/vkconfig_gui/tab_about.cpp +++ b/vkconfig_gui/tab_about.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_about.h b/vkconfig_gui/tab_about.h index be42762c84..d67d666c74 100644 --- a/vkconfig_gui/tab_about.h +++ b/vkconfig_gui/tab_about.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_applications.cpp b/vkconfig_gui/tab_applications.cpp index 26c6803437..e8a642d216 100644 --- a/vkconfig_gui/tab_applications.cpp +++ b/vkconfig_gui/tab_applications.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_applications.h b/vkconfig_gui/tab_applications.h index 7ec0113333..2980ab5a68 100644 --- a/vkconfig_gui/tab_applications.h +++ b/vkconfig_gui/tab_applications.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_configurations.cpp b/vkconfig_gui/tab_configurations.cpp index 47ea08f3df..31650d1a68 100644 --- a/vkconfig_gui/tab_configurations.cpp +++ b/vkconfig_gui/tab_configurations.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_configurations.h b/vkconfig_gui/tab_configurations.h index 2f9194df39..039359617e 100644 --- a/vkconfig_gui/tab_configurations.h +++ b/vkconfig_gui/tab_configurations.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_diagnostics.cpp b/vkconfig_gui/tab_diagnostics.cpp index 2bc705f59d..1e60f10fcd 100644 --- a/vkconfig_gui/tab_diagnostics.cpp +++ b/vkconfig_gui/tab_diagnostics.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_diagnostics.h b/vkconfig_gui/tab_diagnostics.h index d807fee318..04a86f1eec 100644 --- a/vkconfig_gui/tab_diagnostics.h +++ b/vkconfig_gui/tab_diagnostics.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_documentation.cpp b/vkconfig_gui/tab_documentation.cpp index bb098944db..59ca1320df 100644 --- a/vkconfig_gui/tab_documentation.cpp +++ b/vkconfig_gui/tab_documentation.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_documentation.h b/vkconfig_gui/tab_documentation.h index 2eff3b5043..944f659651 100644 --- a/vkconfig_gui/tab_documentation.h +++ b/vkconfig_gui/tab_documentation.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_layers.cpp b/vkconfig_gui/tab_layers.cpp index 18cbf8d144..12974a8bab 100644 --- a/vkconfig_gui/tab_layers.cpp +++ b/vkconfig_gui/tab_layers.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/tab_layers.h b/vkconfig_gui/tab_layers.h index 2ca806879d..b2b14f4a1b 100644 --- a/vkconfig_gui/tab_layers.h +++ b/vkconfig_gui/tab_layers.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_layer_version.cpp b/vkconfig_gui/widget_layer_version.cpp index d261235c1b..68684ed8bc 100644 --- a/vkconfig_gui/widget_layer_version.cpp +++ b/vkconfig_gui/widget_layer_version.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_layer_version.h b/vkconfig_gui/widget_layer_version.h index 72033bf9b8..313da75b68 100644 --- a/vkconfig_gui/widget_layer_version.h +++ b/vkconfig_gui/widget_layer_version.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_resize_button.cpp b/vkconfig_gui/widget_resize_button.cpp index 58e777c8c5..246b3982cc 100644 --- a/vkconfig_gui/widget_resize_button.cpp +++ b/vkconfig_gui/widget_resize_button.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_resize_button.h b/vkconfig_gui/widget_resize_button.h index 0e86f855ca..fa2498a6da 100644 --- a/vkconfig_gui/widget_resize_button.h +++ b/vkconfig_gui/widget_resize_button.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting.h b/vkconfig_gui/widget_setting.h index 6ec135fe36..ebfc88a851 100644 --- a/vkconfig_gui/widget_setting.h +++ b/vkconfig_gui/widget_setting.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting_enum.cpp b/vkconfig_gui/widget_setting_enum.cpp index 7b9f42c769..bfecab8d33 100644 --- a/vkconfig_gui/widget_setting_enum.cpp +++ b/vkconfig_gui/widget_setting_enum.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting_enum.h b/vkconfig_gui/widget_setting_enum.h index 92ae059ab4..2dae708ec9 100644 --- a/vkconfig_gui/widget_setting_enum.h +++ b/vkconfig_gui/widget_setting_enum.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting_filesystem.cpp b/vkconfig_gui/widget_setting_filesystem.cpp index ab692560b5..c1e95003f2 100644 --- a/vkconfig_gui/widget_setting_filesystem.cpp +++ b/vkconfig_gui/widget_setting_filesystem.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting_filesystem.h b/vkconfig_gui/widget_setting_filesystem.h index 6a60e9728c..77ef25b739 100644 --- a/vkconfig_gui/widget_setting_filesystem.h +++ b/vkconfig_gui/widget_setting_filesystem.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting_float.cpp b/vkconfig_gui/widget_setting_float.cpp index e0b3c06f22..85a41043cc 100644 --- a/vkconfig_gui/widget_setting_float.cpp +++ b/vkconfig_gui/widget_setting_float.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting_frames.cpp b/vkconfig_gui/widget_setting_frames.cpp index 7fc32bce24..b2e5752507 100644 --- a/vkconfig_gui/widget_setting_frames.cpp +++ b/vkconfig_gui/widget_setting_frames.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting_group.cpp b/vkconfig_gui/widget_setting_group.cpp index 6920dab3cf..e41af17566 100644 --- a/vkconfig_gui/widget_setting_group.cpp +++ b/vkconfig_gui/widget_setting_group.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting_group.h b/vkconfig_gui/widget_setting_group.h index 6290d6a378..3700299c16 100644 --- a/vkconfig_gui/widget_setting_group.h +++ b/vkconfig_gui/widget_setting_group.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_setting_int.cpp b/vkconfig_gui/widget_setting_int.cpp index 904b5bf8a0..d6c1d56ff8 100644 --- a/vkconfig_gui/widget_setting_int.cpp +++ b/vkconfig_gui/widget_setting_int.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_tab_configurations_layer.cpp b/vkconfig_gui/widget_tab_configurations_layer.cpp index 74a194f3e1..eba20311f2 100644 --- a/vkconfig_gui/widget_tab_configurations_layer.cpp +++ b/vkconfig_gui/widget_tab_configurations_layer.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_tab_configurations_layer.h b/vkconfig_gui/widget_tab_configurations_layer.h index 041421e060..36aebd7e19 100644 --- a/vkconfig_gui/widget_tab_configurations_layer.h +++ b/vkconfig_gui/widget_tab_configurations_layer.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_tab_layers_path.cpp b/vkconfig_gui/widget_tab_layers_path.cpp index a2ab13a3da..d5e4c45d66 100644 --- a/vkconfig_gui/widget_tab_layers_path.cpp +++ b/vkconfig_gui/widget_tab_layers_path.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/vkconfig_gui/widget_tab_layers_path.h b/vkconfig_gui/widget_tab_layers_path.h index 44f486b1de..e07eef3f17 100644 --- a/vkconfig_gui/widget_tab_layers_path.h +++ b/vkconfig_gui/widget_tab_layers_path.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020-2024 Valve Corporation - * Copyright (c) 2020-2024 LunarG, Inc. + * Copyright (c) 2020-2025 Valve Corporation + * Copyright (c) 2020-2025 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.