#include "gpu/command_buffer/service/dawn_service_serializer.h"
#include "base/rand_util.h"
#include "base/trace_event/trace_event.h"
#include "gpu/command_buffer/common/webgpu_cmd_format.h"
#include "gpu/command_buffer/service/decoder_client.h"
#include "ipc/ipc_channel.h"
namespace gpu::webgpu {
namespace …
DawnServiceSerializer::DawnServiceSerializer(DecoderClient* client)
: … { … }
DawnServiceSerializer::~DawnServiceSerializer() = default;
size_t DawnServiceSerializer::GetMaximumAllocationSize() const { … }
void* DawnServiceSerializer::GetCmdSpace(size_t size) { … }
bool DawnServiceSerializer::NeedsFlush() const { … }
bool DawnServiceSerializer::Flush() { … }
void DawnServiceSerializer::FlushInternal() { … }
}