mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
Rename namespace dawn_wire to dawn::wire.
But keep a namespace alias to avoid breaking project that depend on the previous namespace name while they get updated. Bug: dawn:824 Change-Id: I1e99c4d0d2acf7644a225a88d07806d1a64478e6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75540 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
f07477a1ce
commit
5d846ab503
@@ -113,6 +113,7 @@ namespace dawn::platform {
|
||||
|
||||
} // namespace dawn::platform
|
||||
|
||||
// TODO(dawn:824): Remove once the deprecation period is passed.
|
||||
namespace dawn_platform = dawn::platform;
|
||||
|
||||
#endif // DAWNPLATFORM_DAWNPLATFORM_H_
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "dawn/webgpu.h"
|
||||
#include "dawn_wire/dawn_wire_export.h"
|
||||
|
||||
namespace dawn_wire {
|
||||
namespace dawn::wire {
|
||||
|
||||
class DAWN_WIRE_EXPORT CommandSerializer {
|
||||
public:
|
||||
@@ -71,6 +71,9 @@ namespace dawn_wire {
|
||||
const volatile char* deserializeBuffer,
|
||||
size_t deserializeBufferSize);
|
||||
|
||||
} // namespace dawn_wire
|
||||
} // namespace dawn::wire
|
||||
|
||||
// TODO(dawn:824): Remove once the deprecation period is passed.
|
||||
namespace dawn_wire = dawn::wire;
|
||||
|
||||
#endif // DAWNWIRE_WIRE_H_
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace dawn_wire {
|
||||
namespace dawn::wire {
|
||||
|
||||
namespace client {
|
||||
class Client;
|
||||
@@ -178,6 +178,6 @@ namespace dawn_wire {
|
||||
// Backdoor to get the order of the ProcMap for testing
|
||||
DAWN_WIRE_EXPORT std::vector<const char*> GetProcMapNamesForTesting();
|
||||
} // namespace client
|
||||
} // namespace dawn_wire
|
||||
} // namespace dawn::wire
|
||||
|
||||
#endif // DAWNWIRE_WIRECLIENT_H_
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
struct DawnProcTable;
|
||||
|
||||
namespace dawn_wire {
|
||||
namespace dawn::wire {
|
||||
|
||||
namespace server {
|
||||
class Server;
|
||||
@@ -145,6 +145,6 @@ namespace dawn_wire {
|
||||
};
|
||||
} // namespace server
|
||||
|
||||
} // namespace dawn_wire
|
||||
} // namespace dawn::wire
|
||||
|
||||
#endif // DAWNWIRE_WIRESERVER_H_
|
||||
|
||||
Reference in New Issue
Block a user