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

Unified Diff: components/mus/gles2/command_buffer_local.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: Update 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
« no previous file with comments | « components/mus/gles2/command_buffer_impl.cc ('k') | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/command_buffer_local.h
diff --git a/components/mus/gles2/command_buffer_local.h b/components/mus/gles2/command_buffer_local.h
index 625bbd60ea7a71ebddf52fd37177a3c7ec079f94..22856608680c8be1ad7cf104dfb81a76d5900a54 100644
--- a/components/mus/gles2/command_buffer_local.h
+++ b/components/mus/gles2/command_buffer_local.h
@@ -21,6 +21,8 @@ class CommandBuffer;
class CommandBufferService;
class GpuScheduler;
class GpuControlService;
+class SyncPointClient;
+class SyncPointOrderData;
namespace gles2 {
class GLES2Decoder;
}
@@ -93,10 +95,13 @@ class CommandBufferLocal : public gpu::GpuControl {
void OnParseError();
void OnContextLost(uint32_t reason);
+ const uint64_t command_buffer_id_;
gfx::AcceleratedWidget widget_;
scoped_refptr<GpuState> gpu_state_;
scoped_ptr<gpu::CommandBufferService> command_buffer_;
scoped_ptr<gpu::GpuScheduler> scheduler_;
+ scoped_refptr<gpu::SyncPointOrderData> sync_point_order_data_;
+ scoped_ptr<gpu::SyncPointClient> sync_point_client_;
scoped_ptr<gpu::gles2::GLES2Decoder> decoder_;
scoped_refptr<gfx::GLContext> context_;
scoped_refptr<gfx::GLSurface> surface_;
« no previous file with comments | « components/mus/gles2/command_buffer_impl.cc ('k') | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698