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

Unified Diff: services/gles2/command_buffer_driver.h

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase ontop of master, address trung's comments Created 4 years, 10 months 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 | « services/gfx/compositor/scene_impl.cc ('k') | services/gles2/command_buffer_driver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gles2/command_buffer_driver.h
diff --git a/services/gles2/command_buffer_driver.h b/services/gles2/command_buffer_driver.h
index 40a75e0b2bb889ccac303d9b8d76144d06aaf6c4..1669cebfa2efe013bdb4a2c19988f99a7ece032e 100644
--- a/services/gles2/command_buffer_driver.h
+++ b/services/gles2/command_buffer_driver.h
@@ -58,9 +58,11 @@ class CommandBufferDriver {
void set_client(scoped_ptr<Client> client) { client_ = client.Pass(); }
- void Initialize(mojo::CommandBufferSyncClientPtr sync_client,
- mojo::CommandBufferLostContextObserverPtr loss_observer,
- mojo::ScopedSharedBufferHandle shared_state);
+ void Initialize(
+ mojo::InterfaceHandle<mojo::CommandBufferSyncClient> sync_client,
+ mojo::InterfaceHandle<mojo::CommandBufferLostContextObserver>
+ loss_observer,
+ mojo::ScopedSharedBufferHandle shared_state);
void SetGetBuffer(int32_t buffer);
void Flush(int32_t put_offset);
void MakeProgress(int32_t last_get_offset);
« no previous file with comments | « services/gfx/compositor/scene_impl.cc ('k') | services/gles2/command_buffer_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698