Home
last modified time | relevance | path

Searched refs:dawn_wire (Results 1 – 25 of 154) sorted by relevance

1234567

/third_party/skia/third_party/externals/dawn/src/dawn_wire/
DBUILD.gn20 # Public dawn_wire headers so they can be publically visible for
21 # dependencies of dawn_wire
26 "${dawn_root}/src/include/dawn_wire/Wire.h",
27 "${dawn_root}/src/include/dawn_wire/WireClient.h",
28 "${dawn_root}/src/include/dawn_wire/WireServer.h",
29 "${dawn_root}/src/include/dawn_wire/dawn_wire_export.h",
34 target = "dawn_wire"
36 "src/dawn_wire/ObjectType_autogen.h",
37 "src/dawn_wire/WireCmd_autogen.h",
38 "src/dawn_wire/WireCmd_autogen.cpp",
[all …]
DCMakeLists.txt16 TARGET "dawn_wire"
21 add_library(dawn_wire ${DAWN_DUMMY_FILE}) target
23 target_compile_definitions(dawn_wire PRIVATE "DAWN_WIRE_IMPLEMENTATION")
25 target_compile_definitions(dawn_wire PRIVATE "DAWN_WIRE_SHARED_LIBRARY")
28 target_sources(dawn_wire PRIVATE
29 "${DAWN_INCLUDE_DIR}/dawn_wire/Wire.h"
30 "${DAWN_INCLUDE_DIR}/dawn_wire/WireClient.h"
31 "${DAWN_INCLUDE_DIR}/dawn_wire/WireServer.h"
32 "${DAWN_INCLUDE_DIR}/dawn_wire/dawn_wire_export.h"
70 target_link_libraries(dawn_wire
DWire.cpp17 namespace dawn_wire { namespace
/third_party/skia/third_party/externals/dawn/src/utils/
DWireHelper.cpp37 class WireServerTraceLayer : public dawn_wire::CommandHandler {
39 WireServerTraceLayer(const char* dir, dawn_wire::CommandHandler* handler) in WireServerTraceLayer()
40 : dawn_wire::CommandHandler(), mDir(dir), mHandler(handler) { in WireServerTraceLayer()
78 dawn_wire::CommandHandler* mHandler;
111 dawn_wire::WireServerDescriptor serverDesc = {}; in WireHelperProxy()
115 mWireServer.reset(new dawn_wire::WireServer(serverDesc)); in WireHelperProxy()
124 dawn_wire::WireClientDescriptor clientDesc = {}; in WireHelperProxy()
127 mWireClient.reset(new dawn_wire::WireClient(clientDesc)); in WireHelperProxy()
129 dawnProcSetProcs(&dawn_wire::client::GetProcs()); in WireHelperProxy()
160 std::unique_ptr<dawn_wire::WireServer> mWireServer;
[all …]
DTerribleCommandBuffer.h22 class TerribleCommandBuffer : public dawn_wire::CommandSerializer {
25 TerribleCommandBuffer(dawn_wire::CommandHandler* handler);
27 void SetHandler(dawn_wire::CommandHandler* handler);
35 dawn_wire::CommandHandler* mHandler = nullptr;
DTerribleCommandBuffer.cpp24 TerribleCommandBuffer::TerribleCommandBuffer(dawn_wire::CommandHandler* handler) in TerribleCommandBuffer()
28 void TerribleCommandBuffer::SetHandler(dawn_wire::CommandHandler* handler) { in SetHandler()
/third_party/flutter/skia/third_party/externals/dawn/
DBUILD.gn418 target = "dawn_wire"
420 "dawn_wire/WireCmd_autogen.h",
421 "dawn_wire/WireCmd_autogen.cpp",
422 "dawn_wire/client/ApiObjects_autogen.h",
423 "dawn_wire/client/ApiProcs_autogen.cpp",
424 "dawn_wire/client/ApiProcs_autogen.h",
425 "dawn_wire/client/ClientBase_autogen.h",
426 "dawn_wire/client/ClientHandlers_autogen.cpp",
427 "dawn_wire/client/ClientPrototypes_autogen.inc",
428 "dawn_wire/server/ServerBase_autogen.h",
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireWGPUDevicePropertiesTests.cpp31 dawn_wire::SerializedWGPUDevicePropertiesSize(&sentWGPUDeviceProperties); in TEST_F()
34 dawn_wire::SerializeWGPUDeviceProperties(&sentWGPUDeviceProperties, buffer.data()); in TEST_F()
37 ASSERT_TRUE(dawn_wire::DeserializeWGPUDeviceProperties(&receivedWGPUDeviceProperties, in TEST_F()
49 dawn_wire::SerializedWGPUDevicePropertiesSize(&sentWGPUDeviceProperties); in TEST_F()
52 dawn_wire::SerializeWGPUDeviceProperties(&sentWGPUDeviceProperties, buffer.data()); in TEST_F()
55 ASSERT_FALSE(dawn_wire::DeserializeWGPUDeviceProperties(&receivedWGPUDeviceProperties, in TEST_F()
DWireTest.h100 namespace dawn_wire {
134 dawn_wire::WireServer* GetWireServer();
135 dawn_wire::WireClient* GetWireClient();
143 virtual dawn_wire::client::MemoryTransferService* GetClientMemoryTransferService();
144 virtual dawn_wire::server::MemoryTransferService* GetServerMemoryTransferService();
146 std::unique_ptr<dawn_wire::WireServer> mWireServer;
147 std::unique_ptr<dawn_wire::WireClient> mWireClient;
DWireTest.cpp23 using namespace dawn_wire;
68 dawnProcSetProcs(&dawn_wire::client::GetProcs()); in SetUp()
123 dawn_wire::WireServer* WireTest::GetWireServer() { in GetWireServer()
127 dawn_wire::WireClient* WireTest::GetWireClient() { in GetWireClient()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireTest.h69 namespace dawn_wire {
99 dawn_wire::WireServer* GetWireServer();
100 dawn_wire::WireClient* GetWireClient();
107 virtual dawn_wire::client::MemoryTransferService* GetClientMemoryTransferService();
108 virtual dawn_wire::server::MemoryTransferService* GetServerMemoryTransferService();
110 std::unique_ptr<dawn_wire::WireServer> mWireServer;
111 std::unique_ptr<dawn_wire::WireClient> mWireClient;
DWireTest.cpp22 using namespace dawn_wire;
96 dawn_wire::WireServer* WireTest::GetWireServer() { in GetWireServer()
100 dawn_wire::WireClient* WireTest::GetWireClient() { in GetWireClient()
/third_party/skia/third_party/externals/dawn/docs/
Doverview.md3 …f Dawn, which is itself composed of two main libraries (dawn_native and dawn_wire), along with sup…
8 - [`dawn_wire.json`](../dawn_wire.json): contains additional information used to generate `dawn_wir…
16 …that is allowed to be used by Dawn's core libraries, `dawn_native` and `dawn_wire`. Also allowed f…
19 …/dawn_platform): definition of interfaces for dependency injection in `dawn_native` or `dawn_wire`.
20 …- [`dawn_wire`](../src/dawn_wire): code for an implementation of WebGPU as a client-server archite…
28 …/white_box): tests using the GPU that need to access the internals of `dawn_native` or `dawn_wire`.
29 …helper code to use Dawn used by tests and samples but disallowed for `dawn_native` and `dawn_wire`.
38 ## Dawn Wire (`dawn_wire`)
42 Note that `dawn_wire` is meant to do as little state-tracking as possible so that the client can be…
46 …t function like `wgpuDeviceCreateBuffer` but instead `dawn_native` and `dawn_wire` implement the `…
[all …]
Dcodegen.md22 - a lot of dawn_wire parts, see below
34 … structure members is a record. This combined concept is useful for the dawn_wire generator to gen…
43 …ional if they are pointers (otherwise dawn_wire will always try to dereference them), objects (oth…
45 …a piece of memory in the transfer buffer into dawn_wire. To prevent TOCTOU attacks, by default in
87 The generator for the pieces of dawn_wire need additional data which is found in [`dawn_wire_json`]…
93 …ple because they handle callbacks or need client-side state tracking). `dawn_wire.json` defines wh…
95 The schema of `dawn_wire.json` is a dictionary with the following keys:
99 …sts of methods or object that require special handling in places in the dawn_wire autogenerated fi…
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DTerribleCommandBuffer.h24 class TerribleCommandBuffer : public dawn_wire::CommandSerializer {
27 TerribleCommandBuffer(dawn_wire::CommandHandler* handler);
29 void SetHandler(dawn_wire::CommandHandler* handler);
35 dawn_wire::CommandHandler* mHandler = nullptr;
DTerribleCommandBuffer.cpp24 TerribleCommandBuffer::TerribleCommandBuffer(dawn_wire::CommandHandler* handler) in TerribleCommandBuffer()
28 void TerribleCommandBuffer::SetHandler(dawn_wire::CommandHandler* handler) { in SetHandler()
/third_party/flutter/skia/third_party/externals/dawn/src/fuzzers/
DDawnWireServerAndFrontendFuzzer.cpp22 class DevNull : public dawn_wire::CommandSerializer {
76 dawn_wire::WireServerDescriptor serverDesc = {}; in LLVMFuzzerTestOneInput()
81 std::unique_ptr<dawn_wire::WireServer> wireServer(new dawn_wire::WireServer(serverDesc)); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/dawn/examples/
DSampleUtils.cpp89 static dawn_wire::WireServer* wireServer = nullptr;
90 static dawn_wire::WireClient* wireClient = nullptr;
152 dawn_wire::WireServerDescriptor serverDesc = {}; in CreateCppDawnDevice()
156 wireServer = new dawn_wire::WireServer(serverDesc); in CreateCppDawnDevice()
159 dawn_wire::WireClientDescriptor clientDesc = {}; in CreateCppDawnDevice()
162 wireClient = new dawn_wire::WireClient(clientDesc); in CreateCppDawnDevice()
163 procs = dawn_wire::client::GetProcs(); in CreateCppDawnDevice()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/
DBUILD.gn30 "${dawn_root}/src/include/dawn_wire/Wire.h",
31 "${dawn_root}/src/include/dawn_wire/WireClient.h",
32 "${dawn_root}/src/include/dawn_wire/WireServer.h",
33 "${dawn_root}/src/include/dawn_wire/dawn_wire_export.h",
/third_party/skia/third_party/externals/dawn/src/fuzzers/
DDawnWireServerFuzzer.cpp31 class DevNull : public dawn_wire::CommandSerializer {
119 dawn_wire::WireServerDescriptor serverDesc = {}; in Run()
123 std::unique_ptr<dawn_wire::WireServer> wireServer(new dawn_wire::WireServer(serverDesc)); in Run()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DGetProcAddressTests.cpp70 dawn_wire::WireClientDescriptor clientDesc = {}; in SetUp()
72 mWireClient = std::make_unique<dawn_wire::WireClient>(clientDesc); in SetUp()
75 mProcs = dawn_wire::client::GetProcs(); in SetUp()
97 std::unique_ptr<dawn_wire::WireClient> mWireClient;
165 std::vector<const char*> names = dawn_wire::client::GetProcMapNamesForTesting(); in TEST()
/third_party/flutter/skia/third_party/externals/dawn/examples/
DSampleUtils.cpp68 static dawn_wire::WireServer* wireServer = nullptr;
69 static dawn_wire::WireClient* wireClient = nullptr;
124 dawn_wire::WireServerDescriptor serverDesc = {}; in CreateCppDawnDevice()
129 wireServer = new dawn_wire::WireServer(serverDesc); in CreateCppDawnDevice()
132 dawn_wire::WireClientDescriptor clientDesc = {}; in CreateCppDawnDevice()
135 wireClient = new dawn_wire::WireClient(clientDesc); in CreateCppDawnDevice()
/third_party/skia/third_party/externals/dawn/generator/
Ddawn_generator.gni44 "src/dawn_wire/client/",
45 "src/dawn_wire/server/",
46 "src/dawn_wire/",
113 rebase_path("${dawn_root}/dawn_wire.json", root_build_dir),
/third_party/skia/third_party/externals/dawn/src/tests/
DBUILD.gn174 "${dawn_root}/src/dawn_wire",
183 "${dawn_root}/src/dawn_wire/client/ClientMemoryTransferService_mock.cpp",
184 "${dawn_root}/src/dawn_wire/client/ClientMemoryTransferService_mock.h",
185 "${dawn_root}/src/dawn_wire/server/ServerMemoryTransferService_mock.cpp",
186 "${dawn_root}/src/dawn_wire/server/ServerMemoryTransferService_mock.h",
328 "${dawn_root}/src/dawn_wire",
466 "${dawn_root}/src/dawn_wire",
532 "${dawn_root}/src/dawn_wire",
574 "${dawn_root}/src/dawn_wire",
/third_party/flutter/skia/third_party/externals/dawn/src/tests/
DDawnTest.h97 namespace dawn_wire {
201 std::unique_ptr<dawn_wire::WireServer> mWireServer;
202 std::unique_ptr<dawn_wire::WireClient> mWireClient;

1234567