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

Unified Diff: ppapi/proxy/ppapi_command_buffer_proxy.cc

Issue 1559893003: Added method to synchronize command buffers within GpuControl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SynchronizeCommandBuffer() -> EnsureWorkVisible() Created 4 years, 12 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 | « ppapi/proxy/ppapi_command_buffer_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ecf64da26477c5428f4ae85bf52829cd99688657..14cb2260d9bb77658946eafcfdb9826f45fe0744 100644
--- a/ppapi/proxy/ppapi_command_buffer_proxy.cc
+++ b/ppapi/proxy/ppapi_command_buffer_proxy.cc
@@ -183,6 +183,10 @@ bool PpapiCommandBufferProxy::IsGpuChannelLost() {
return false;
}
+void PpapiCommandBufferProxy::EnsureWorkVisible() {
+ NOTIMPLEMENTED();
+}
+
gpu::CommandBufferNamespace PpapiCommandBufferProxy::GetNamespaceID() const {
return gpu::CommandBufferNamespace::GPU_IO;
}
@@ -204,6 +208,8 @@ bool PpapiCommandBufferProxy::IsFenceSyncFlushed(uint64_t release) {
}
bool PpapiCommandBufferProxy::IsFenceSyncFlushReceived(uint64_t release) {
+ // TODO(dyen): This needs a synchronous NOP to the PpapiHost which
+ // also sends a synchronous NOP to the actual server.
return IsFenceSyncFlushed(release);
}
« no previous file with comments | « 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