Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: mojo/cc/context_provider_mojo.cc

Issue 1181013010: Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit warning Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698