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..9b623ac5fb7ed15f57d50f0a56211e8ae4476d53 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.cc |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
@@ -262,7 +262,8 @@ uint32 BrowserGpuChannelHostFactory::GetImageTextureTarget() { |
switch (type) { |
case gfx::SURFACE_TEXTURE_BUFFER: |
- // Surface texture backed GPU memory buffers require |
+ case gfx::OZONE_NATIVE_BUFFER: |
reveman
2015/04/13 00:46:13
This change can land separately and it not current
dshwang
2015/04/14 13:15:55
got it
|
+ // EGLImage backed GPU memory buffers require |
// TEXTURE_EXTERNAL_OES. |
return GL_TEXTURE_EXTERNAL_OES; |
case gfx::IO_SURFACE_BUFFER: |