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

Unified Diff: components/view_manager/surfaces/surfaces_context_provider.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: components/view_manager/surfaces/surfaces_context_provider.cc
diff --git a/components/view_manager/surfaces/surfaces_context_provider.cc b/components/view_manager/surfaces/surfaces_context_provider.cc
index 34ab9d467ae26c51719421b15b95d459da2988f2..a398c38eebd691a32d1aa3e54cdb798dfb608ae1 100644
--- a/components/view_manager/surfaces/surfaces_context_provider.cc
+++ b/components/view_manager/surfaces/surfaces_context_provider.cc
@@ -12,6 +12,7 @@ namespace surfaces {
SurfacesContextProvider::SurfacesContextProvider(
mojo::ScopedMessagePipeHandle command_buffer_handle)
: command_buffer_handle_(command_buffer_handle.Pass()), context_(nullptr) {
+ capabilities_.gpu.image = true;
}
bool SurfacesContextProvider::BindToCurrentThread() {

Powered by Google App Engine
This is Rietveld 408576698