Index: mojo/cc/context_provider_mojo.cc |
diff --git a/mojo/cc/context_provider_mojo.cc b/mojo/cc/context_provider_mojo.cc |
index fc3b720625f3a01e2e757adc4b34560fd4504297..0d27f7153c81aaa07f0537e008dd1371abd6da80 100644 |
--- a/mojo/cc/context_provider_mojo.cc |
+++ b/mojo/cc/context_provider_mojo.cc |
@@ -13,6 +13,9 @@ namespace mojo { |
ContextProviderMojo::ContextProviderMojo( |
ScopedMessagePipeHandle command_buffer_handle) |
: command_buffer_handle_(command_buffer_handle.Pass()) { |
+ // Enabled the CHROMIUM_image extension to use GpuMemoryBuffers. The |
+ // implementation of which is used in CommandBufferDriver. |
+ capabilities_.gpu.image = true; |
} |
bool ContextProviderMojo::BindToCurrentThread() { |