diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-02-23 06:55:36 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-02-23 07:00:27 +0000 |
| commit | 0f853fc9389447a47f97804ffd4fd3425014e7d3 (patch) | |
| tree | 0b43494d40958f4f6ed48de5a893439a843e70d0 /Tests/IncludeTest/src/GraphicsEngineD3D11 | |
| parent | Updated core and samples submodules (diff) | |
| download | DiligentEngine-0f853fc9389447a47f97804ffd4fd3425014e7d3.tar.gz DiligentEngine-0f853fc9389447a47f97804ffd4fd3425014e7d3.zip | |
Added include test
Diffstat (limited to 'Tests/IncludeTest/src/GraphicsEngineD3D11')
13 files changed, 332 insertions, 0 deletions
diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/BufferD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/BufferD3D11H_test.cpp new file mode 100644 index 0000000..631d67e --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/BufferD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> +#include "Graphics/GraphicsEngineD3D11/interface/BufferD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/BufferViewD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/BufferViewD3D11H_test.cpp new file mode 100644 index 0000000..8c377ec --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/BufferViewD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> +#include "Graphics/GraphicsEngineD3D11/interface/BufferViewD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/DeviceContextD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/DeviceContextD3D11H_test.cpp new file mode 100644 index 0000000..9eb6b12 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/DeviceContextD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> +#include "Graphics/GraphicsEngineD3D11/interface/DeviceContextD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/EngineD3D11AttribsH_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/EngineD3D11AttribsH_test.cpp new file mode 100644 index 0000000..427ea4e --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/EngineD3D11AttribsH_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> +#include "Graphics/GraphicsEngineD3D11/interface/EngineD3D11Attribs.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/PipelineStateD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/PipelineStateD3D11H_test.cpp new file mode 100644 index 0000000..7999874 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/PipelineStateD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> +#include "Graphics/GraphicsEngineD3D11/interface/PipelineStateD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/RenderDeviceD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/RenderDeviceD3D11H_test.cpp new file mode 100644 index 0000000..866efc2 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/RenderDeviceD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> +#include "Graphics/GraphicsEngineD3D11/interface/RenderDeviceD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/RenderDeviceFactoryD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/RenderDeviceFactoryD3D11H_test.cpp new file mode 100644 index 0000000..d23e47f --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/RenderDeviceFactoryD3D11H_test.cpp @@ -0,0 +1,33 @@ +/* Copyright 2015-2017 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. + */ + +#ifndef NOMINMAX +# define NOMINMAX +#endif +#include <Windows.h> + +#ifndef ENGINE_DLL +# define ENGINE_DLL 1 +#endif + +#include "Graphics/GraphicsEngineD3D11/interface/RenderDeviceFactoryD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/SamplerD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/SamplerD3D11H_test.cpp new file mode 100644 index 0000000..062cf40 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/SamplerD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> +#include "Graphics/GraphicsEngineD3D11/interface/SamplerD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/ShaderD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/ShaderD3D11H_test.cpp new file mode 100644 index 0000000..775b58e --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/ShaderD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> + +#include "Graphics/GraphicsEngineD3D11/interface/ShaderD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/ShaderResourceBindingD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/ShaderResourceBindingD3D11H_test.cpp new file mode 100644 index 0000000..12a8df1 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/ShaderResourceBindingD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> + +#include "Graphics/GraphicsEngineD3D11/interface/ShaderResourceBindingD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/SwapChainD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/SwapChainD3D11H_test.cpp new file mode 100644 index 0000000..cd8f187 --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/SwapChainD3D11H_test.cpp @@ -0,0 +1,24 @@ +/* Copyright 2015-2017 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 <d3d11.h> +#include "Graphics/GraphicsEngineD3D11/interface/SwapChainD3D11.h"
\ No newline at end of file diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/TextureD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/TextureD3D11H_test.cpp new file mode 100644 index 0000000..751360b --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/TextureD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> + +#include "Graphics/GraphicsEngineD3D11/interface/TextureD3D11.h" diff --git a/Tests/IncludeTest/src/GraphicsEngineD3D11/TextureViewD3D11H_test.cpp b/Tests/IncludeTest/src/GraphicsEngineD3D11/TextureViewD3D11H_test.cpp new file mode 100644 index 0000000..2e9a3cb --- /dev/null +++ b/Tests/IncludeTest/src/GraphicsEngineD3D11/TextureViewD3D11H_test.cpp @@ -0,0 +1,25 @@ +/* Copyright 2015-2017 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 <d3d11.h> + +#include "Graphics/GraphicsEngineD3D11/interface/TextureViewD3D11.h" |
