dawn_wire: Rename Write{Buffer|Texture}Internal to Write{Buffer|Texture}
BUG=chromium:1266727 Change-Id: I3cad4c7b6b09ef4475ff030a5d239f544dc1cdef Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72066 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
parent
78b6b5ef31
commit
b6d80e027d
|
@ -66,14 +66,14 @@
|
|||
{ "name": "signal value", "type": "uint64_t" },
|
||||
{ "name": "request serial", "type": "uint64_t" }
|
||||
],
|
||||
"queue write buffer internal": [
|
||||
"queue write buffer": [
|
||||
{"name": "queue id", "type": "ObjectId" },
|
||||
{"name": "buffer id", "type": "ObjectId" },
|
||||
{"name": "buffer offset", "type": "uint64_t"},
|
||||
{"name": "data", "type": "uint8_t", "annotation": "const*", "length": "size"},
|
||||
{"name": "size", "type": "uint64_t"}
|
||||
],
|
||||
"queue write texture internal": [
|
||||
"queue write texture": [
|
||||
{"name": "queue id", "type": "ObjectId" },
|
||||
{"name": "destination", "type": "image copy texture", "annotation": "const*"},
|
||||
{"name": "data", "type": "uint8_t", "annotation": "const*", "length": "data size"},
|
||||
|
|
|
@ -57,7 +57,7 @@ namespace dawn_wire { namespace client {
|
|||
size_t size) {
|
||||
Buffer* buffer = FromAPI(cBuffer);
|
||||
|
||||
QueueWriteBufferInternalCmd cmd;
|
||||
QueueWriteBufferCmd cmd;
|
||||
cmd.queueId = id;
|
||||
cmd.bufferId = buffer->id;
|
||||
cmd.bufferOffset = bufferOffset;
|
||||
|
@ -72,7 +72,7 @@ namespace dawn_wire { namespace client {
|
|||
size_t dataSize,
|
||||
const WGPUTextureDataLayout* dataLayout,
|
||||
const WGPUExtent3D* writeSize) {
|
||||
QueueWriteTextureInternalCmd cmd;
|
||||
QueueWriteTextureCmd cmd;
|
||||
cmd.queueId = id;
|
||||
cmd.destination = destination;
|
||||
cmd.data = static_cast<const uint8_t*>(data);
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace dawn_wire { namespace server {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool Server::DoQueueWriteBufferInternal(ObjectId queueId,
|
||||
bool Server::DoQueueWriteBuffer(ObjectId queueId,
|
||||
ObjectId bufferId,
|
||||
uint64_t bufferOffset,
|
||||
const uint8_t* data,
|
||||
|
@ -73,7 +73,7 @@ namespace dawn_wire { namespace server {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool Server::DoQueueWriteTextureInternal(ObjectId queueId,
|
||||
bool Server::DoQueueWriteTexture(ObjectId queueId,
|
||||
const WGPUImageCopyTexture* destination,
|
||||
const uint8_t* data,
|
||||
uint64_t dataSize,
|
||||
|
|
Loading…
Reference in New Issue