mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 08:36:08 +00:00
This is a reland of e757c012befa5b2e7288da9ab5a27bbd4da0dd06 It changes a global noop serializer from a global static to a local function static that's constructed on first use. Original change's description: > Replace the wire serializer with a no-op impl on disconnect > > Now that the command serialization knows to no-op if > GetCmdSpace returns nullptr, when the wire is disconnected, > we can replace it with a no-op serializer that always returns > nullptr. > > Bug: chromium:951558 > Change-Id: I7363fd10f529119e515eda0e743e1a7839049b9b > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30000 > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Reviewed-by: Stephen White <senorblanco@chromium.org> > Commit-Queue: Austin Eng <enga@chromium.org> Bug: chromium:951558 Change-Id: I827cdbd212fa585b542fd4ea1eb9654eec6002c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30420 Reviewed-by: Stephen White <senorblanco@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>