From a643411c75d44b70df4add28a284420aefd06035 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 27 Dec 2018 17:26:41 -0800 Subject: Updated core; added GraphicsAccessories' public header tests --- .../GraphicsAccessoriesH_test.cpp | 24 ++++++++++++++++++++++ .../ResourceReleaseQueueH_test.cpp | 24 ++++++++++++++++++++++ .../src/GraphicsAccessories/RingBufferH_test.cpp | 24 ++++++++++++++++++++++ .../SRBMemortAllocatorH_test.cpp | 24 ++++++++++++++++++++++ .../VariableSizeAllocationsManagerH_test.cpp | 24 ++++++++++++++++++++++ .../VariableSizeGPUAllocationsManagerH_test.cpp | 24 ++++++++++++++++++++++ 6 files changed, 144 insertions(+) create mode 100644 Tests/IncludeTest/src/GraphicsAccessories/GraphicsAccessoriesH_test.cpp create mode 100644 Tests/IncludeTest/src/GraphicsAccessories/ResourceReleaseQueueH_test.cpp create mode 100644 Tests/IncludeTest/src/GraphicsAccessories/RingBufferH_test.cpp create mode 100644 Tests/IncludeTest/src/GraphicsAccessories/SRBMemortAllocatorH_test.cpp create mode 100644 Tests/IncludeTest/src/GraphicsAccessories/VariableSizeAllocationsManagerH_test.cpp create mode 100644 Tests/IncludeTest/src/GraphicsAccessories/VariableSizeGPUAllocationsManagerH_test.cpp (limited to 'Tests/IncludeTest') diff --git a/Tests/IncludeTest/src/GraphicsAccessories/GraphicsAccessoriesH_test.cpp b/Tests/IncludeTest/src/GraphicsAccessories/GraphicsAccessoriesH_test.cpp new file mode 100644 index 0000000..568c366 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsAccessories/GraphicsAccessoriesH_test.cpp @@ -0,0 +1,24 @@ +/* Copyright 2015-2018 Egor Yusov + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS. + * + * In no event and under no legal theory, whether in tort (including negligence), + * contract, or otherwise, unless required by applicable law (such as deliberate + * and grossly negligent acts) or agreed to in writing, shall any Contributor be + * liable for any damages, including any direct, indirect, special, incidental, + * or consequential damages of any character arising as a result of this License or + * out of the use or inability to use the software (including but not limited to damages + * for loss of goodwill, work stoppage, computer failure or malfunction, or any and + * all other commercial damages or losses), even if such Contributor has been advised + * of the possibility of such damages. + */ + +#include "DiligentCore/Graphics/GraphicsAccessories/interface/GraphicsAccessories.h" diff --git a/Tests/IncludeTest/src/GraphicsAccessories/ResourceReleaseQueueH_test.cpp b/Tests/IncludeTest/src/GraphicsAccessories/ResourceReleaseQueueH_test.cpp new file mode 100644 index 0000000..02e7bc0 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsAccessories/ResourceReleaseQueueH_test.cpp @@ -0,0 +1,24 @@ +/* Copyright 2015-2018 Egor Yusov + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS. + * + * In no event and under no legal theory, whether in tort (including negligence), + * contract, or otherwise, unless required by applicable law (such as deliberate + * and grossly negligent acts) or agreed to in writing, shall any Contributor be + * liable for any damages, including any direct, indirect, special, incidental, + * or consequential damages of any character arising as a result of this License or + * out of the use or inability to use the software (including but not limited to damages + * for loss of goodwill, work stoppage, computer failure or malfunction, or any and + * all other commercial damages or losses), even if such Contributor has been advised + * of the possibility of such damages. + */ + +#include "DiligentCore/Graphics/GraphicsAccessories/interface/ResourceReleaseQueue.h" diff --git a/Tests/IncludeTest/src/GraphicsAccessories/RingBufferH_test.cpp b/Tests/IncludeTest/src/GraphicsAccessories/RingBufferH_test.cpp new file mode 100644 index 0000000..c6b913e --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsAccessories/RingBufferH_test.cpp @@ -0,0 +1,24 @@ +/* Copyright 2015-2018 Egor Yusov + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS. + * + * In no event and under no legal theory, whether in tort (including negligence), + * contract, or otherwise, unless required by applicable law (such as deliberate + * and grossly negligent acts) or agreed to in writing, shall any Contributor be + * liable for any damages, including any direct, indirect, special, incidental, + * or consequential damages of any character arising as a result of this License or + * out of the use or inability to use the software (including but not limited to damages + * for loss of goodwill, work stoppage, computer failure or malfunction, or any and + * all other commercial damages or losses), even if such Contributor has been advised + * of the possibility of such damages. + */ + +#include "DiligentCore/Graphics/GraphicsAccessories/interface/RingBuffer.h" diff --git a/Tests/IncludeTest/src/GraphicsAccessories/SRBMemortAllocatorH_test.cpp b/Tests/IncludeTest/src/GraphicsAccessories/SRBMemortAllocatorH_test.cpp new file mode 100644 index 0000000..9cf46f5 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsAccessories/SRBMemortAllocatorH_test.cpp @@ -0,0 +1,24 @@ +/* Copyright 2015-2018 Egor Yusov + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS. + * + * In no event and under no legal theory, whether in tort (including negligence), + * contract, or otherwise, unless required by applicable law (such as deliberate + * and grossly negligent acts) or agreed to in writing, shall any Contributor be + * liable for any damages, including any direct, indirect, special, incidental, + * or consequential damages of any character arising as a result of this License or + * out of the use or inability to use the software (including but not limited to damages + * for loss of goodwill, work stoppage, computer failure or malfunction, or any and + * all other commercial damages or losses), even if such Contributor has been advised + * of the possibility of such damages. + */ + +#include "DiligentCore/Graphics/GraphicsAccessories/interface/SRBMemoryAllocator.h" diff --git a/Tests/IncludeTest/src/GraphicsAccessories/VariableSizeAllocationsManagerH_test.cpp b/Tests/IncludeTest/src/GraphicsAccessories/VariableSizeAllocationsManagerH_test.cpp new file mode 100644 index 0000000..8461a44 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsAccessories/VariableSizeAllocationsManagerH_test.cpp @@ -0,0 +1,24 @@ +/* Copyright 2015-2018 Egor Yusov + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS. + * + * In no event and under no legal theory, whether in tort (including negligence), + * contract, or otherwise, unless required by applicable law (such as deliberate + * and grossly negligent acts) or agreed to in writing, shall any Contributor be + * liable for any damages, including any direct, indirect, special, incidental, + * or consequential damages of any character arising as a result of this License or + * out of the use or inability to use the software (including but not limited to damages + * for loss of goodwill, work stoppage, computer failure or malfunction, or any and + * all other commercial damages or losses), even if such Contributor has been advised + * of the possibility of such damages. + */ + +#include "DiligentCore/Graphics/GraphicsAccessories/interface/VariableSizeAllocationsManager.h" diff --git a/Tests/IncludeTest/src/GraphicsAccessories/VariableSizeGPUAllocationsManagerH_test.cpp b/Tests/IncludeTest/src/GraphicsAccessories/VariableSizeGPUAllocationsManagerH_test.cpp new file mode 100644 index 0000000..9bc8e58 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsAccessories/VariableSizeGPUAllocationsManagerH_test.cpp @@ -0,0 +1,24 @@ +/* Copyright 2015-2018 Egor Yusov + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS. + * + * In no event and under no legal theory, whether in tort (including negligence), + * contract, or otherwise, unless required by applicable law (such as deliberate + * and grossly negligent acts) or agreed to in writing, shall any Contributor be + * liable for any damages, including any direct, indirect, special, incidental, + * or consequential damages of any character arising as a result of this License or + * out of the use or inability to use the software (including but not limited to damages + * for loss of goodwill, work stoppage, computer failure or malfunction, or any and + * all other commercial damages or losses), even if such Contributor has been advised + * of the possibility of such damages. + */ + +#include "DiligentCore/Graphics/GraphicsAccessories/interface/VariableSizeGPUAllocationsManager.h" -- cgit v1.2.3