Index: gpu/ipc/service/gpu_command_buffer_stub.cc |
diff --git a/gpu/ipc/service/gpu_command_buffer_stub.cc b/gpu/ipc/service/gpu_command_buffer_stub.cc |
index a3fec2cc52e6b9f7096119869b8035c3bb6e02c5..3aa4b78049db99e554b7a668f7ce2e7e8f517511 100644 |
--- a/gpu/ipc/service/gpu_command_buffer_stub.cc |
+++ b/gpu/ipc/service/gpu_command_buffer_stub.cc |
@@ -1005,7 +1005,7 @@ void GpuCommandBufferStub::OnCreateImage( |
} |
scoped_refptr<gl::GLImage> image = channel()->CreateImageForGpuMemoryBuffer( |
- handle, size, format, internalformat); |
+ handle, size, format, internalformat, surface_handle_); |
piman
2016/07/14 18:32:44
surface_handle_ will be null for offscreen context
reveman
2016/07/14 20:00:59
hm, I'm not sure I understand exactly what this co
piman
2016/07/14 20:39:26
The latter. Today the browser compositor (ui::Comp
reveman
2016/07/14 21:23:40
Ok, creating an image for one context (drm device)
|
if (!image.get()) |
return; |