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

Unified Diff: ppapi/proxy/ppapi_command_buffer_proxy.cc

Issue 1864723003: Make lost context and error message callbacks on GpuControl go to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: errorcallback: .get 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
Index: ppapi/proxy/ppapi_command_buffer_proxy.cc
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.cc b/ppapi/proxy/ppapi_command_buffer_proxy.cc
index c96b44af5565dd35070541565b36c7ca10f60d95..1b9c734c4d87042bca8d13fd7994c3b4b134e016 100644
--- a/ppapi/proxy/ppapi_command_buffer_proxy.cc
+++ b/ppapi/proxy/ppapi_command_buffer_proxy.cc
@@ -241,6 +241,11 @@ void PpapiCommandBufferProxy::SignalQuery(uint32_t query,
NOTREACHED();
}
+void PpapiCommandBufferProxy::SetGpuControlClient(gpu::GpuControlClient*) {
+ // There's no concept of lost context or error message for this implementation
+ // of GpuControl, so we don't bother to store the client.
piman 2016/04/11 21:54:26 Actually, there is a lost context callback, but ri
danakj 2016/04/11 22:27:32 Done.
+}
+
gpu::Capabilities PpapiCommandBufferProxy::GetCapabilities() {
return capabilities_;
}
« mojo/gles2/command_buffer_client_impl.cc ('K') | « ppapi/proxy/ppapi_command_buffer_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698