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

Unified Diff: gpu/ipc/client/command_buffer_proxy_impl.h

Issue 1919203003: Revert of Report lost context from GLES2Implementation based on share group state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « gpu/gles2_conform_support/egl/display.cc ('k') | gpu/ipc/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 63d07c79d11d84898355cfe4a71a9fa36e44252b..453d7b790c506bed40a045bf75db93c895f2d77c 100644
--- a/gpu/ipc/client/command_buffer_proxy_impl.h
+++ b/gpu/ipc/client/command_buffer_proxy_impl.h
@@ -101,6 +101,7 @@
unsigned usage) override;
void SignalQuery(uint32_t query, const base::Closure& callback) override;
void SetLock(base::Lock* lock) override;
+ bool IsGpuChannelLost() override;
void EnsureWorkVisible() override;
gpu::CommandBufferNamespace GetNamespaceID() const override;
gpu::CommandBufferId GetCommandBufferID() const override;
@@ -192,21 +193,6 @@
void InvalidGpuReplyOnClientThread();
- // Mark the command buffer as lost and destroy internals. Use this variant
- // when acting on call stacks of messages from the GPU process.
- void OnLostContextNoReentrancy(gpu::error::ContextLostReason reason,
- gpu::error::Error error);
-
- // Mark the command buffer as lost and destroy internals. Use this variant
- // when acting inside call stacks from clients, as we don't want to re-enter
- // them.
- void OnLostContextAvoidReentrancy(gpu::error::ContextLostReason reason,
- gpu::error::Error error);
-
- // Helper methods, don't call these directly.
- void OnLostContextImplFromAvoidReentrancy();
- void OnLostContextImpl();
-
// The shared memory area used to update state.
gpu::CommandBufferSharedState* shared_state() const;
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | gpu/ipc/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698