Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 0c75bb8ac0d7b0650f94d7fd9b8171414cbf6515..20f36f9cb985dd7d4296dd38b594a22f3312a9ce 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -1040,6 +1040,11 @@ static void AppendCompositorCommandLineFlags(base::CommandLine* command_line) { |
// Surface texture backed GPU memory buffers require TEXTURE_EXTERNAL_OES. |
if (type == gfx::SURFACE_TEXTURE_BUFFER) |
command_line->AppendSwitch(switches::kUseImageExternal); |
+ |
+ // Surface texture backed GPU memory buffers require |
+ // GL_TEXTURE_RECTANGLE_ARB. |
+ if (type == gfx::IO_SURFACE_BUFFER) |
+ command_line->AppendSwitch(switches::kUseImageIOSurface); |
} |
// Appending disable-gpu-feature switches due to software rendering list. |