#include "media/gpu/test/fake_command_buffer_helper.h"
#include "base/logging.h"
#include "base/task/single_thread_task_runner.h"
#include "build/build_config.h"
#include "gpu/command_buffer/service/shared_image/shared_image_backing.h"
#include "gpu/command_buffer/service/shared_image/shared_image_representation.h"
namespace media {
FakeCommandBufferHelper::FakeCommandBufferHelper(
scoped_refptr<base::SingleThreadTaskRunner> task_runner)
: … { … }
FakeCommandBufferHelper::~FakeCommandBufferHelper() { … }
void FakeCommandBufferHelper::ReleaseSyncToken(gpu::SyncToken sync_token) { … }
void FakeCommandBufferHelper::WaitForSyncToken(gpu::SyncToken sync_token,
base::OnceClosure done_cb) { … }
#if !BUILDFLAG(IS_ANDROID)
gpu::SharedImageStub* FakeCommandBufferHelper::GetSharedImageStub() { … }
gpu::MemoryTypeTracker* FakeCommandBufferHelper::GetMemoryTypeTracker() { … }
gpu::SharedImageManager* FakeCommandBufferHelper::GetSharedImageManager() { … }
#endif
}