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

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.cc

Issue 1331843005: Implemented new fence syncs which replaces the old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some fixes Created 5 years, 3 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: content/common/gpu/client/command_buffer_proxy_impl.cc
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc
index 53ce2d7ee543787639fe8e1d0d14af7e50d20764..6d9a8d58dbe33a8761a21fbe1d5f76246c4f41a7 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc
@@ -375,6 +375,15 @@ void CommandBufferProxyImpl::DestroyTransferBuffer(int32 id) {
Send(new GpuCommandBufferMsg_DestroyTransferBuffer(route_id_, id));
}
+void CommandBufferProxyImpl::GetRouteInformation(int* channel_id,
+ uint32_t* route_id) {
+ if (channel_id)
piman 2015/09/10 23:55:31 maybe just DCHECK(channel_id) and DCHECK(route_id)
David Yen 2015/09/23 18:30:34 No longer relevant.
+ *channel_id = channel_->channel_id();
+
+ if (route_id)
+ *route_id = route_id_;
+}
+
gpu::Capabilities CommandBufferProxyImpl::GetCapabilities() {
return capabilities_;
}

Powered by Google App Engine
This is Rietveld 408576698