From d31dc00f82d2121dc0378db77264d9263540a192 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 25 Jan 2020 11:19:23 -0800 Subject: Reworked main headers to be compatible with c --- Tests/IncludeTest/CMakeLists.txt | 2 +- .../IncludeTest/GraphicsEngine/BlendStateH_test.c | 28 ++++++++++++++++++++++ Tests/IncludeTest/GraphicsEngine/BufferH_test.c | 28 ++++++++++++++++++++++ .../IncludeTest/GraphicsEngine/BufferViewH_test.c | 28 ++++++++++++++++++++++ .../IncludeTest/GraphicsEngine/CommandListH_test.c | 28 ++++++++++++++++++++++ Tests/IncludeTest/GraphicsEngine/ConstantsH_test.c | 28 ++++++++++++++++++++++ .../DefaultShaderSourceStreamFactoryH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/DepthStencilStateH_test.c | 28 ++++++++++++++++++++++ .../IncludeTest/GraphicsEngine/DeviceCapsH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/DeviceContextH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/DeviceObjectH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/EngineFactoryH_test.c | 28 ++++++++++++++++++++++ Tests/IncludeTest/GraphicsEngine/FenceH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/GraphicsTypesH_test.c | 28 ++++++++++++++++++++++ .../IncludeTest/GraphicsEngine/InputLayoutH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/PipelineStateH_test.c | 28 ++++++++++++++++++++++ Tests/IncludeTest/GraphicsEngine/QueryH_test.c | 28 ++++++++++++++++++++++ Tests/IncludeTest/GraphicsEngine/QueryH_test.cpp | 28 ++++++++++++++++++++++ .../GraphicsEngine/RasterizerStateH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/RenderDeviceH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/ResourceMappingH_test.c | 28 ++++++++++++++++++++++ Tests/IncludeTest/GraphicsEngine/SamplerH_test.c | 28 ++++++++++++++++++++++ Tests/IncludeTest/GraphicsEngine/ShaderH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/ShaderResourceBindingH_test.c | 28 ++++++++++++++++++++++ .../GraphicsEngine/ShaderResourceVaraibleH_test.c | 28 ++++++++++++++++++++++ Tests/IncludeTest/GraphicsEngine/SwapChainH_test.c | 28 ++++++++++++++++++++++ Tests/IncludeTest/GraphicsEngine/TextureH_test.c | 28 ++++++++++++++++++++++ .../IncludeTest/GraphicsEngine/TextureViewH_test.c | 28 ++++++++++++++++++++++ 28 files changed, 757 insertions(+), 1 deletion(-) create mode 100644 Tests/IncludeTest/GraphicsEngine/BlendStateH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/BufferH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/BufferViewH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/CommandListH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/ConstantsH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/DefaultShaderSourceStreamFactoryH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/DepthStencilStateH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/DeviceCapsH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/DeviceContextH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/DeviceObjectH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/EngineFactoryH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/FenceH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/GraphicsTypesH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/InputLayoutH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/PipelineStateH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/QueryH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/QueryH_test.cpp create mode 100644 Tests/IncludeTest/GraphicsEngine/RasterizerStateH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/RenderDeviceH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/ResourceMappingH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/SamplerH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/ShaderH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/ShaderResourceBindingH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/ShaderResourceVaraibleH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/SwapChainH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/TextureH_test.c create mode 100644 Tests/IncludeTest/GraphicsEngine/TextureViewH_test.c (limited to 'Tests/IncludeTest') diff --git a/Tests/IncludeTest/CMakeLists.txt b/Tests/IncludeTest/CMakeLists.txt index 3208c23f..1ecf6427 100644 --- a/Tests/IncludeTest/CMakeLists.txt +++ b/Tests/IncludeTest/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.6) project(DiligentCore-IncludeTest) -file(GLOB_RECURSE SOURCE LIST_DIRECTORIES false *.cpp) +file(GLOB_RECURSE SOURCE LIST_DIRECTORIES false *.cpp *.c) if(NOT D3D11_SUPPORTED) file(GLOB GRAPHICS_ENGINE_D3D11_INC_TEST LIST_DIRECTORIES false GraphicsEngineD3D11/*.cpp) diff --git a/Tests/IncludeTest/GraphicsEngine/BlendStateH_test.c b/Tests/IncludeTest/GraphicsEngine/BlendStateH_test.c new file mode 100644 index 00000000..941e2a6e --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/BlendStateH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/BlendState.h" diff --git a/Tests/IncludeTest/GraphicsEngine/BufferH_test.c b/Tests/IncludeTest/GraphicsEngine/BufferH_test.c new file mode 100644 index 00000000..f6d0235d --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/BufferH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/Buffer.h" diff --git a/Tests/IncludeTest/GraphicsEngine/BufferViewH_test.c b/Tests/IncludeTest/GraphicsEngine/BufferViewH_test.c new file mode 100644 index 00000000..f8c1c966 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/BufferViewH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/BufferView.h" diff --git a/Tests/IncludeTest/GraphicsEngine/CommandListH_test.c b/Tests/IncludeTest/GraphicsEngine/CommandListH_test.c new file mode 100644 index 00000000..dec3aa7c --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/CommandListH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/CommandList.h" diff --git a/Tests/IncludeTest/GraphicsEngine/ConstantsH_test.c b/Tests/IncludeTest/GraphicsEngine/ConstantsH_test.c new file mode 100644 index 00000000..1be25fb0 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/ConstantsH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/Constants.h" diff --git a/Tests/IncludeTest/GraphicsEngine/DefaultShaderSourceStreamFactoryH_test.c b/Tests/IncludeTest/GraphicsEngine/DefaultShaderSourceStreamFactoryH_test.c new file mode 100644 index 00000000..e0b3bd02 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/DefaultShaderSourceStreamFactoryH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/include/DefaultShaderSourceStreamFactory.h" diff --git a/Tests/IncludeTest/GraphicsEngine/DepthStencilStateH_test.c b/Tests/IncludeTest/GraphicsEngine/DepthStencilStateH_test.c new file mode 100644 index 00000000..24d523a6 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/DepthStencilStateH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/DepthStencilState.h" diff --git a/Tests/IncludeTest/GraphicsEngine/DeviceCapsH_test.c b/Tests/IncludeTest/GraphicsEngine/DeviceCapsH_test.c new file mode 100644 index 00000000..af903f0e --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/DeviceCapsH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/DeviceCaps.h" diff --git a/Tests/IncludeTest/GraphicsEngine/DeviceContextH_test.c b/Tests/IncludeTest/GraphicsEngine/DeviceContextH_test.c new file mode 100644 index 00000000..eda90f4c --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/DeviceContextH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/DeviceContext.h" diff --git a/Tests/IncludeTest/GraphicsEngine/DeviceObjectH_test.c b/Tests/IncludeTest/GraphicsEngine/DeviceObjectH_test.c new file mode 100644 index 00000000..2b71cc96 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/DeviceObjectH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/DeviceObject.h" diff --git a/Tests/IncludeTest/GraphicsEngine/EngineFactoryH_test.c b/Tests/IncludeTest/GraphicsEngine/EngineFactoryH_test.c new file mode 100644 index 00000000..f447ac8c --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/EngineFactoryH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/EngineFactory.h" \ No newline at end of file diff --git a/Tests/IncludeTest/GraphicsEngine/FenceH_test.c b/Tests/IncludeTest/GraphicsEngine/FenceH_test.c new file mode 100644 index 00000000..e1a38af3 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/FenceH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/Fence.h" diff --git a/Tests/IncludeTest/GraphicsEngine/GraphicsTypesH_test.c b/Tests/IncludeTest/GraphicsEngine/GraphicsTypesH_test.c new file mode 100644 index 00000000..96dc315d --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/GraphicsTypesH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/GraphicsTypes.h" diff --git a/Tests/IncludeTest/GraphicsEngine/InputLayoutH_test.c b/Tests/IncludeTest/GraphicsEngine/InputLayoutH_test.c new file mode 100644 index 00000000..b0d012f0 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/InputLayoutH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/InputLayout.h" diff --git a/Tests/IncludeTest/GraphicsEngine/PipelineStateH_test.c b/Tests/IncludeTest/GraphicsEngine/PipelineStateH_test.c new file mode 100644 index 00000000..45e2a73c --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/PipelineStateH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/PipelineState.h" diff --git a/Tests/IncludeTest/GraphicsEngine/QueryH_test.c b/Tests/IncludeTest/GraphicsEngine/QueryH_test.c new file mode 100644 index 00000000..86473cb7 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/QueryH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/Query.h" diff --git a/Tests/IncludeTest/GraphicsEngine/QueryH_test.cpp b/Tests/IncludeTest/GraphicsEngine/QueryH_test.cpp new file mode 100644 index 00000000..86473cb7 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/QueryH_test.cpp @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/Query.h" diff --git a/Tests/IncludeTest/GraphicsEngine/RasterizerStateH_test.c b/Tests/IncludeTest/GraphicsEngine/RasterizerStateH_test.c new file mode 100644 index 00000000..0693914a --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/RasterizerStateH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/RasterizerState.h" diff --git a/Tests/IncludeTest/GraphicsEngine/RenderDeviceH_test.c b/Tests/IncludeTest/GraphicsEngine/RenderDeviceH_test.c new file mode 100644 index 00000000..3181267e --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/RenderDeviceH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/RenderDevice.h" diff --git a/Tests/IncludeTest/GraphicsEngine/ResourceMappingH_test.c b/Tests/IncludeTest/GraphicsEngine/ResourceMappingH_test.c new file mode 100644 index 00000000..07ff05c0 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/ResourceMappingH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/ResourceMapping.h" diff --git a/Tests/IncludeTest/GraphicsEngine/SamplerH_test.c b/Tests/IncludeTest/GraphicsEngine/SamplerH_test.c new file mode 100644 index 00000000..015d5fab --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/SamplerH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/Sampler.h" diff --git a/Tests/IncludeTest/GraphicsEngine/ShaderH_test.c b/Tests/IncludeTest/GraphicsEngine/ShaderH_test.c new file mode 100644 index 00000000..90d66c99 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/ShaderH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/Shader.h" diff --git a/Tests/IncludeTest/GraphicsEngine/ShaderResourceBindingH_test.c b/Tests/IncludeTest/GraphicsEngine/ShaderResourceBindingH_test.c new file mode 100644 index 00000000..0d2b21db --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/ShaderResourceBindingH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/ShaderResourceBinding.h" diff --git a/Tests/IncludeTest/GraphicsEngine/ShaderResourceVaraibleH_test.c b/Tests/IncludeTest/GraphicsEngine/ShaderResourceVaraibleH_test.c new file mode 100644 index 00000000..d09da28e --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/ShaderResourceVaraibleH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/ShaderResourceVariable.h" diff --git a/Tests/IncludeTest/GraphicsEngine/SwapChainH_test.c b/Tests/IncludeTest/GraphicsEngine/SwapChainH_test.c new file mode 100644 index 00000000..fd244d71 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/SwapChainH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/SwapChain.h" diff --git a/Tests/IncludeTest/GraphicsEngine/TextureH_test.c b/Tests/IncludeTest/GraphicsEngine/TextureH_test.c new file mode 100644 index 00000000..dc3a25d5 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/TextureH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/Texture.h" diff --git a/Tests/IncludeTest/GraphicsEngine/TextureViewH_test.c b/Tests/IncludeTest/GraphicsEngine/TextureViewH_test.c new file mode 100644 index 00000000..e10c0d50 --- /dev/null +++ b/Tests/IncludeTest/GraphicsEngine/TextureViewH_test.c @@ -0,0 +1,28 @@ +/* + * Copyright 2019-2020 Diligent Graphics LLC + * Copyright 2015-2019 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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * 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/GraphicsEngine/interface/TextureView.h" -- cgit v1.2.3