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

Unified Diff: chrome/renderer/render_thread.cc

Issue 6557006: Moved creation of GPU transfer buffers into the browser process.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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: chrome/renderer/render_thread.cc
===================================================================
--- chrome/renderer/render_thread.cc (revision 75655)
+++ chrome/renderer/render_thread.cc (working copy)
@@ -1085,12 +1085,14 @@
}
void RenderThread::OnGpuChannelEstablished(
- const IPC::ChannelHandle& channel_handle, const GPUInfo& gpu_info) {
+ const IPC::ChannelHandle& channel_handle,
+ base::ProcessHandle gpu_renderer_process,
+ const GPUInfo& gpu_info) {
gpu_channel_->set_gpu_info(gpu_info);
if (channel_handle.name.size() != 0) {
// Connect to the GPU process if a channel name was received.
- gpu_channel_->Connect(channel_handle);
+ gpu_channel_->Connect(channel_handle, gpu_renderer_process);
} else {
// Otherwise cancel the connection.
gpu_channel_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698