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

Unified Diff: ui/gfx/compositor/compositor_gl.cc

Issue 8060045: Use shared D3D9 texture to transport the compositor's backing buffer to the browser... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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: ui/gfx/compositor/compositor_gl.cc
===================================================================
--- ui/gfx/compositor/compositor_gl.cc (revision 106500)
+++ ui/gfx/compositor/compositor_gl.cc (working copy)
@@ -314,6 +314,10 @@
return NULL;
}
+void* SharedResources::GetDisplay() {
+ return surface_->GetDisplay();
+}
+
TextureGL::TextureGL() : texture_id_(0) {
}

Powered by Google App Engine
This is Rietveld 408576698