Cleanup: Rename dawn_wire Object "serial" to "generation"

This is a more accurate name and conflicts less with the callback
request serials.

Bug: none
Change-Id: I0f9660c24468064dadffb3ab9b3392d403f93c41
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19260
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Austin Eng
2020-04-13 17:50:51 +00:00
committed by Commit Bot service account
parent 077a427499
commit 518c8e77ab
12 changed files with 41 additions and 36 deletions

View File

@@ -40,7 +40,7 @@ namespace dawn_wire { namespace client {
ReservedTexture result;
result.texture = reinterpret_cast<WGPUTexture>(allocation->object.get());
result.id = allocation->object->id;
result.generation = allocation->serial;
result.generation = allocation->generation;
return result;
}