#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "gpu/command_buffer/service/mocks.h"
#include "base/threading/thread.h"
#include "base/time/time.h"
#include "gpu/command_buffer/service/command_buffer_direct.h"
#include "gpu/command_buffer/service/command_buffer_service.h"
Invoke;
_;
namespace gpu {
AsyncAPIMock::AsyncAPIMock(bool default_do_commands,
CommandBufferDirect* command_buffer,
CommandBufferServiceBase* command_buffer_service)
: … { … }
AsyncAPIMock::~AsyncAPIMock() { … }
error::Error AsyncAPIMock::FakeDoCommands(unsigned int num_commands,
const volatile void* buffer,
int num_entries,
int* entries_processed) { … }
void AsyncAPIMock::SetToken(unsigned int command,
unsigned int arg_count,
const volatile void* _args) { … }
MockDecoderClient::MockDecoderClient() = default;
MockDecoderClient::~MockDecoderClient() = default;
MockIsolationKeyProvider::MockIsolationKeyProvider() = default;
MockIsolationKeyProvider::~MockIsolationKeyProvider() = default;
namespace gles2 {
MockShaderTranslator::MockShaderTranslator() = default;
MockShaderTranslator::~MockShaderTranslator() = default;
MockProgramCache::MockProgramCache() : … { … }
MockProgramCache::~MockProgramCache() = default;
MockMemoryTracker::MockMemoryTracker() = default;
MockMemoryTracker::~MockMemoryTracker() = default;
}
}