Chromium Code Reviews| 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; |