#include "gpu/command_buffer/client/webgpu_interface_stub.h"
namespace gpu {
namespace webgpu {
namespace {
class APIChannelStub : public APIChannel { … };
}
WebGPUInterfaceStub::WebGPUInterfaceStub()
: … { … }
WebGPUInterfaceStub::~WebGPUInterfaceStub() = default;
void WebGPUInterfaceStub::GenSyncTokenCHROMIUM(GLbyte* sync_token) { … }
void WebGPUInterfaceStub::GenUnverifiedSyncTokenCHROMIUM(GLbyte* sync_token) { … }
void WebGPUInterfaceStub::VerifySyncTokensCHROMIUM(GLbyte** sync_tokens,
GLsizei count) { … }
void WebGPUInterfaceStub::WaitSyncTokenCHROMIUM(const GLbyte* sync_token) { … }
void WebGPUInterfaceStub::ShallowFlushCHROMIUM() { … }
scoped_refptr<APIChannel> WebGPUInterfaceStub::GetAPIChannel() const { … }
void WebGPUInterfaceStub::FlushCommands() { … }
bool WebGPUInterfaceStub::EnsureAwaitingFlush() { … }
void WebGPUInterfaceStub::FlushAwaitingCommands() { … }
ReservedTexture WebGPUInterfaceStub::ReserveTexture(
WGPUDevice,
const WGPUTextureDescriptor*) { … }
WGPUDevice WebGPUInterfaceStub::DeprecatedEnsureDefaultDeviceSync() { … }
void WebGPUInterfaceStub::AssociateMailbox(
GLuint device_id,
GLuint device_generation,
GLuint id,
GLuint generation,
uint64_t usage,
uint64_t internal_usage,
const WGPUTextureFormat* view_formats,
GLuint view_format_count,
MailboxFlags flags,
const Mailbox& mailbox) { … }
#include "gpu/command_buffer/client/webgpu_interface_stub_impl_autogen.h"
}
}