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

Unified Diff: components/mus/gles2/command_buffer_driver.h

Issue 1460833002: gpu: Implement the new fence syncs in mojo command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: components/mus/gles2/command_buffer_driver.h
diff --git a/components/mus/gles2/command_buffer_driver.h b/components/mus/gles2/command_buffer_driver.h
index 8703633f97f1b5f62b6b21f8a79808f486751fb4..2693ce4101618b223b8a458e77b08d0b711c1f51 100644
--- a/components/mus/gles2/command_buffer_driver.h
+++ b/components/mus/gles2/command_buffer_driver.h
@@ -19,6 +19,8 @@ namespace gpu {
class CommandBufferService;
class GpuScheduler;
class GpuControlService;
+class SyncPointClient;
+class SyncPointOrderData;
namespace gles2 {
class GLES2Decoder;
}
@@ -85,12 +87,15 @@ class CommandBufferDriver {
void OnContextLost(uint32_t reason);
void DestroyDecoder();
+ const uint64_t command_buffer_id_;
scoped_ptr<Client> client_;
mojom::CommandBufferSyncClientPtr sync_client_;
mojom::CommandBufferLostContextObserverPtr loss_observer_;
scoped_ptr<gpu::CommandBufferService> command_buffer_;
scoped_ptr<gpu::gles2::GLES2Decoder> decoder_;
scoped_ptr<gpu::GpuScheduler> scheduler_;
+ scoped_refptr<gpu::SyncPointOrderData> sync_point_order_data_;
David Yen 2015/11/20 00:47:14 This would make it depend on the other CL, but the
Peng 2015/11/20 20:32:15 Done.
+ scoped_ptr<gpu::SyncPointClient> sync_point_client_;
scoped_refptr<gfx::GLContext> context_;
scoped_refptr<gfx::GLSurface> surface_;
scoped_refptr<GpuState> gpu_state_;
« no previous file with comments | « no previous file | components/mus/gles2/command_buffer_driver.cc » ('j') | components/mus/gles2/command_buffer_driver.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698