Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2251)

Unified Diff: blimp/client/support/compositor/blimp_gpu_memory_buffer_manager.h

Issue 2383753002: gpu: Add GpuFence framework.
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: blimp/client/support/compositor/blimp_gpu_memory_buffer_manager.h
diff --git a/blimp/client/support/compositor/blimp_gpu_memory_buffer_manager.h b/blimp/client/support/compositor/blimp_gpu_memory_buffer_manager.h
index e0501af492032984b3dfc7751364f5184ae25963..6c51dbec582b5f68897d9af8cd55925762532330 100644
--- a/blimp/client/support/compositor/blimp_gpu_memory_buffer_manager.h
+++ b/blimp/client/support/compositor/blimp_gpu_memory_buffer_manager.h
@@ -33,6 +33,10 @@ class BlimpGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
gfx::BufferFormat format) override;
void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer,
const gpu::SyncToken& sync_token) override;
+ std::unique_ptr<gfx::GpuFence> CreateGpuFence() override;
+ std::unique_ptr<gfx::GpuFence> CreateGpuFenceFromHandle(
+ const gfx::GpuFenceHandle& handle) override;
+ gfx::GpuFence* GpuFenceFromClientFence(ClientFence fence) override;
private:
DISALLOW_COPY_AND_ASSIGN(BlimpGpuMemoryBufferManager);
« no previous file with comments | « no previous file | blimp/client/support/compositor/blimp_gpu_memory_buffer_manager.cc » ('j') | gpu/ipc/client/gpu_channel_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698