Chromium Code Reviews| Index: content/browser/gpu/browser_gpu_channel_host_factory.cc |
| diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
| index 16ce7584d032bb7c7c65f9cbf2aff206cc7aa205..ca2aa3790ddc30518b89b8c8d3fdb8b76f6cbf17 100644 |
| --- a/content/browser/gpu/browser_gpu_channel_host_factory.cc |
| +++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
| @@ -262,8 +262,8 @@ uint32 BrowserGpuChannelHostFactory::GetImageTextureTarget() { |
| switch (type) { |
| case gfx::SURFACE_TEXTURE_BUFFER: |
| - // Surface texture backed GPU memory buffers require |
| - // TEXTURE_EXTERNAL_OES. |
| + case gfx::OZONE_NATIVE_BUFFER: |
| + // EGLImage backed GPU memory buffers require TEXTURE_EXTERNAL_OES. |
|
reveman
2015/04/16 19:39:20
nit: These buffers are not technically backed by E
|
| return GL_TEXTURE_EXTERNAL_OES; |
| case gfx::IO_SURFACE_BUFFER: |
| // IOSurface backed images require GL_TEXTURE_RECTANGLE_ARB. |