Cleanup old/deprecated wire and native APIs

Bug: none
Change-Id: Idf9a00d8dc675e1fbc83554c487edcb2dda498c8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30001
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
Austin Eng
2020-10-16 15:21:16 +00:00
committed by Commit Bot service account
parent 2931c429c9
commit 875091308b
6 changed files with 8 additions and 22 deletions

View File

@@ -30,6 +30,10 @@ namespace {
class DevNull : public dawn_wire::CommandSerializer {
public:
size_t GetMaximumAllocationSize() const override {
// Some fuzzer bots have a 2GB allocation limit. Pick a value reasonably below that.
return 1024 * 1024 * 1024;
}
void* GetCmdSpace(size_t size) override {
if (size > buf.size()) {
buf.resize(size);