Index: gpu/ipc/client/command_buffer_proxy_impl.h |
diff --git a/gpu/ipc/client/command_buffer_proxy_impl.h b/gpu/ipc/client/command_buffer_proxy_impl.h |
index 89347bf2910c7b69352a0496afa0efbd98c8f1e5..cd72f7828844505d15c543cf786c2f3d206976d0 100644 |
--- a/gpu/ipc/client/command_buffer_proxy_impl.h |
+++ b/gpu/ipc/client/command_buffer_proxy_impl.h |
@@ -87,7 +87,6 @@ |
void DestroyTransferBuffer(int32_t id) override; |
// gpu::GpuControl implementation: |
- void SetGpuControlClient(GpuControlClient* client) override; |
gpu::Capabilities GetCapabilities() override; |
int32_t CreateImage(ClientBuffer buffer, |
size_t width, |
@@ -114,6 +113,7 @@ |
bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
bool ProduceFrontBuffer(const gpu::Mailbox& mailbox); |
+ void SetContextLostCallback(const base::Closure& callback); |
void AddDeletionObserver(DeletionObserver* observer); |
void RemoveDeletionObserver(DeletionObserver* observer); |
@@ -197,9 +197,6 @@ |
base::Lock* lock_; |
- // Client that wants to listen for important events on the GpuControl. |
- gpu::GpuControlClient* gpu_control_client_; |
- |
// Unowned list of DeletionObservers. |
base::ObserverList<DeletionObserver> deletion_observers_; |
@@ -231,6 +228,8 @@ |
// Last verified fence sync. |
uint64_t verified_fence_sync_release_; |
+ base::Closure context_lost_callback_; |
+ |
GpuConsoleMessageCallback console_message_callback_; |
// Tasks to be invoked in SignalSyncPoint responses. |