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

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

Issue 10735010: 3D Compositing in <browser>, first draft. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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/image_transport_surface_linux.cc
diff --git a/content/common/gpu/image_transport_surface_linux.cc b/content/common/gpu/image_transport_surface_linux.cc
index 8ae534d275b417bcee04f34f8c8df0315d866123..5bac206aa71252e40d1fbae6f613a0fe50442ee9 100644
--- a/content/common/gpu/image_transport_surface_linux.cc
+++ b/content/common/gpu/image_transport_surface_linux.cc
@@ -910,6 +910,7 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateSurface(
if (!handle.handle) {
DCHECK(handle.transport);
if (!handle.parent_client_id) {
+ printf("New GL surface; had textures %u and %u\n", handle.parent_texture_id[0], handle.parent_texture_id[1]);
Fady Samuel 2012/07/06 15:14:44 Please remember to delete once you're done debuggi
switch (gfx::GetGLImplementation()) {
case gfx::kGLImplementationDesktopGL:
surface = new GLXImageTransportSurface(manager, stub);
@@ -925,9 +926,11 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateSurface(
return NULL;
}
} else {
+ printf("New tits with textures %u and %u\n", handle.parent_texture_id[0], handle.parent_texture_id[1]);
Fady Samuel 2012/07/06 15:14:44 Ditto
surface = new TextureImageTransportSurface(manager, stub, handle);
}
} else {
+ printf("New view gl surface; had textures %u and %u\n", handle.parent_texture_id[0], handle.parent_texture_id[1]);
Fady Samuel 2012/07/06 15:14:44 Ditto.
surface = gfx::GLSurface::CreateViewGLSurface(false, handle.handle);
if (!surface.get())
return NULL;

Powered by Google App Engine
This is Rietveld 408576698