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

Unified Diff: content/browser/renderer_host/accelerated_surface_container_linux_gl.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
Index: content/browser/renderer_host/accelerated_surface_container_linux_gl.cc
diff --git a/content/browser/renderer_host/accelerated_surface_container_linux_gl.cc b/content/browser/renderer_host/accelerated_surface_container_linux_gl.cc
index 4f773cd20df5ca7ce3d5028b282642f3e3611f2c..7e75c7406e0e9a83b87d2d6ee4b968a2ac8a6e49 100644
--- a/content/browser/renderer_host/accelerated_surface_container_linux_gl.cc
+++ b/content/browser/renderer_host/accelerated_surface_container_linux_gl.cc
@@ -23,7 +23,7 @@ class AcceleratedSurfaceContainerLinuxGL
virtual void AddRef() { ui::TextureGL::AddRef(); }
virtual void Release() { ui::TextureGL::Release(); }
- virtual bool Initialize(uint64* surface_id) OVERRIDE {
+ virtual bool Initialize(uint64* surface_handle) OVERRIDE {
ui::SharedResourcesGL* instance = ui::SharedResourcesGL::GetInstance();
DCHECK(instance);
image_transport_client_.reset(
@@ -31,7 +31,7 @@ class AcceleratedSurfaceContainerLinuxGL
if (!image_transport_client_.get())
return false;
- texture_id_ = image_transport_client_->Initialize(surface_id);
+ texture_id_ = image_transport_client_->Initialize(surface_handle);
if (!texture_id_) {
image_transport_client_.reset();
return false;

Powered by Google App Engine
This is Rietveld 408576698