Rename files in src/include nxt -> dawn

This commit is contained in:
Corentin Wallez 2018-07-18 14:32:45 +02:00 committed by Corentin Wallez
parent 046cb46bee
commit 3e371b146d
17 changed files with 15 additions and 15 deletions

View File

@ -21,7 +21,7 @@
#include <dawn/dawn.h> #include <dawn/dawn.h>
#include <dawn/dawncpp.h> #include <dawn/dawncpp.h>
#include <nxt/nxt_wsi.h> #include <dawn/dawn_wsi.h>
#include "GLFW/glfw3.h" #include "GLFW/glfw3.h"
#include <cstring> #include <cstring>

View File

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#include <dawn/dawncpp.h> #include <dawn/dawncpp.h>
#include <nxt/nxt_wsi.h> #include <dawn/dawn_wsi.h>
bool InitSample(int argc, const char** argv); bool InitSample(int argc, const char** argv);
void DoFlush(); void DoFlush();

View File

@ -17,7 +17,7 @@
#include "dawn.h" #include "dawn.h"
#include "nxt/EnumClassBitmasks.h" #include "dawn/EnumClassBitmasks.h"
// Temporary define to rename NXT to Dawn // Temporary define to rename NXT to Dawn
#define dawn nxt #define dawn nxt

View File

@ -19,8 +19,8 @@
#include "backend/Forward.h" #include "backend/Forward.h"
#include "backend/RefCounted.h" #include "backend/RefCounted.h"
#include "nxt/nxt_wsi.h"
#include "dawn/dawncpp.h" #include "dawn/dawncpp.h"
#include "dawn/dawn_wsi.h"
namespace backend { namespace backend {

View File

@ -17,8 +17,8 @@
#include "backend/d3d12/d3d12_platform.h" #include "backend/d3d12/d3d12_platform.h"
#include "nxt/nxt_wsi.h"
#include "dawn/dawncpp.h" #include "dawn/dawncpp.h"
#include "dawn/dawn_wsi.h"
#include <vector> #include <vector>

View File

@ -17,7 +17,7 @@
#include "backend/d3d12/DeviceD3D12.h" #include "backend/d3d12/DeviceD3D12.h"
#include "backend/d3d12/TextureD3D12.h" #include "backend/d3d12/TextureD3D12.h"
#include <nxt/nxt_wsi.h> #include <dawn/dawn_wsi.h>
namespace backend { namespace d3d12 { namespace backend { namespace d3d12 {

View File

@ -17,7 +17,7 @@
#include "backend/metal/DeviceMTL.h" #include "backend/metal/DeviceMTL.h"
#include "backend/metal/TextureMTL.h" #include "backend/metal/TextureMTL.h"
#include <nxt/nxt_wsi.h> #include <dawn/dawn_wsi.h>
namespace backend { namespace metal { namespace backend { namespace metal {

View File

@ -17,7 +17,7 @@
#include "backend/Device.h" #include "backend/Device.h"
#include "backend/opengl/TextureGL.h" #include "backend/opengl/TextureGL.h"
#include <nxt/nxt_wsi.h> #include <dawn/dawn_wsi.h>
namespace backend { namespace opengl { namespace backend { namespace opengl {

View File

@ -17,8 +17,8 @@
#include "backend/vulkan/VulkanInfo.h" #include "backend/vulkan/VulkanInfo.h"
#include "nxt/nxt_wsi.h"
#include "dawn/dawncpp.h" #include "dawn/dawncpp.h"
#include "dawn/dawn_wsi.h"
namespace backend { namespace vulkan { namespace backend { namespace vulkan {

View File

@ -14,7 +14,7 @@
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "nxt/EnumClassBitmasks.h" #include "dawn/EnumClassBitmasks.h"
namespace nxt { namespace nxt {

View File

@ -15,7 +15,7 @@
#ifndef UTILS_BACKENDBINDING_H_ #ifndef UTILS_BACKENDBINDING_H_
#define UTILS_BACKENDBINDING_H_ #define UTILS_BACKENDBINDING_H_
#include <nxt/nxt_wsi.h> #include <dawn/dawn_wsi.h>
struct GLFWwindow; struct GLFWwindow;
typedef struct nxtProcTable_s nxtProcTable; typedef struct nxtProcTable_s nxtProcTable;

View File

@ -15,7 +15,7 @@
#include "utils/BackendBinding.h" #include "utils/BackendBinding.h"
#include "common/Assert.h" #include "common/Assert.h"
#include "nxt/nxt_wsi.h" #include "dawn/dawn_wsi.h"
#include "GLFW/glfw3.h" #include "GLFW/glfw3.h"
#define GLFW_EXPOSE_NATIVE_WIN32 #define GLFW_EXPOSE_NATIVE_WIN32

View File

@ -16,7 +16,7 @@
#include "common/Assert.h" #include "common/Assert.h"
#include "common/SwapChainUtils.h" #include "common/SwapChainUtils.h"
#include "nxt/nxt_wsi.h" #include "dawn/dawn_wsi.h"
#define GLFW_EXPOSE_NATIVE_COCOA #define GLFW_EXPOSE_NATIVE_COCOA
#include "GLFW/glfw3.h" #include "GLFW/glfw3.h"

View File

@ -17,7 +17,7 @@
#include "common/Assert.h" #include "common/Assert.h"
#include "common/Platform.h" #include "common/Platform.h"
#include "common/SwapChainUtils.h" #include "common/SwapChainUtils.h"
#include "nxt/nxt_wsi.h" #include "dawn/dawn_wsi.h"
// Glad needs to be included before GLFW otherwise it complain that GL.h was already included // Glad needs to be included before GLFW otherwise it complain that GL.h was already included
#include "glad/glad.h" #include "glad/glad.h"

View File

@ -16,7 +16,7 @@
#include "common/Assert.h" #include "common/Assert.h"
#include "common/vulkan_platform.h" #include "common/vulkan_platform.h"
#include "nxt/nxt_wsi.h" #include "dawn/dawn_wsi.h"
#include "GLFW/glfw3.h" #include "GLFW/glfw3.h"