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

Unified Diff: services/gles2/command_buffer_impl.h

Issue 868203003: De-Client CommandBuffer interface (Closed) Base URL: git@github.com:domokit/mojo.git@fix_sample_app
Patch Set: Created 5 years, 11 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/gles2/command_buffer_driver.cc ('k') | services/gles2/command_buffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gles2/command_buffer_impl.h
diff --git a/services/gles2/command_buffer_impl.h b/services/gles2/command_buffer_impl.h
index a165772a1a36e7c91933c5d817898da607622b7d..a6bf27d0c3fc1a68c681189db14480cbf90db69f 100644
--- a/services/gles2/command_buffer_impl.h
+++ b/services/gles2/command_buffer_impl.h
@@ -35,6 +35,7 @@ class CommandBufferImpl : public mojo::CommandBuffer {
void Initialize(mojo::CommandBufferSyncClientPtr sync_client,
mojo::CommandBufferSyncPointClientPtr sync_point_client,
+ mojo::CommandBufferLostContextObserverPtr loss_observer,
mojo::ScopedSharedBufferHandle shared_state) override;
void SetGetBuffer(int32_t buffer) override;
void Flush(int32_t put_offset) override;
@@ -47,7 +48,7 @@ class CommandBufferImpl : public mojo::CommandBuffer {
void RetireSyncPoint(uint32_t sync_point) override;
void Echo(const mojo::Callback<void()>& callback) override;
- void LostContext(int32_t reason);
+ void DidLoseContext();
void UpdateVSyncParameters(base::TimeTicks timebase,
base::TimeDelta interval);
« no previous file with comments | « services/gles2/command_buffer_driver.cc ('k') | services/gles2/command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698