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

Unified Diff: content/common/gpu/gpu_channel.cc

Issue 9194005: gpu: reference target surfaces through a globally unique surface id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix more tests Created 8 years, 11 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 | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index 69b2aca278aba2e545116fe97a084cb9efa977af..b9d4e05a5f69b40cad01578f4bf8338a8428afd8 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -177,7 +177,7 @@ void GpuChannel::OnDestroy() {
void GpuChannel::CreateViewCommandBuffer(
gfx::PluginWindowHandle window,
- int32 render_view_id,
+ int32 surface_id,
const GPUCreateCommandBufferConfig& init_params,
int32* route_id) {
*route_id = MSG_ROUTING_NONE;
@@ -199,8 +199,7 @@ void GpuChannel::CreateViewCommandBuffer(
init_params.attribs,
init_params.gpu_preference,
*route_id,
- client_id_,
- render_view_id,
+ surface_id,
watchdog_,
software_));
router_.AddRoute(*route_id, stub.get());
@@ -329,7 +328,7 @@ void GpuChannel::OnCreateOffscreenCommandBuffer(
init_params.attribs,
init_params.gpu_preference,
route_id,
- 0, 0, watchdog_,
+ 0, watchdog_,
software_));
router_.AddRoute(route_id, stub.get());
stubs_.AddWithID(stub.release(), route_id);
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698