mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
Remove deprecated WireClient/Server handlers functions
Remove deprecated functions and change new functions to pure virtual since they are implemented both on dawn and chromium side. Bug: dawn:773 Change-Id: I5adfe42ad1155276f533660b938b869c775025bf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/58100 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shrek Shao <shrekshao@google.com>
This commit is contained in:
@@ -303,9 +303,6 @@ namespace dawn_wire { namespace client {
|
||||
// - Unmap locally on the client
|
||||
// - Server -> Client: Result of MapRequest2
|
||||
|
||||
// TODO(dawn:608): mDevice->InjectError(WGPUErrorType_Validation) for map oom failure
|
||||
// and separate from buffer destroyed before unmap case
|
||||
|
||||
// mWriteHandle can still be nullptr if buffer has been destroyed before unmap
|
||||
if ((mMapState == MapState::MappedForWrite || mMapState == MapState::MappedAtCreation) &&
|
||||
mWriteHandle != nullptr) {
|
||||
@@ -364,8 +361,6 @@ namespace dawn_wire { namespace client {
|
||||
BufferUnmapCmd cmd;
|
||||
cmd.self = ToAPI(this);
|
||||
client->SerializeCommand(cmd);
|
||||
// TODO(dawn:608): add tracking mapped status and change to return bool for returning unmap
|
||||
// success/failure
|
||||
}
|
||||
|
||||
void Buffer::Destroy() {
|
||||
|
||||
Reference in New Issue
Block a user