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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 2895273002: Unified the use of BufferToTextureTargetMap for all the Processes (Closed)
Patch Set: BufferToTextureTargetMap for Browser Process Created 3 years, 7 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
« no previous file with comments | « content/browser/android/content_startup_flags.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index fff5edb377455b6abe81f8e9a36ca5d764c3e107..d2587327e75c8552eecbabe808e88c60c92d3692 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -527,6 +527,10 @@ void CompositorImpl::CreateLayerTreeHost() {
settings.initial_debug_state.show_fps_counter =
command_line->HasSwitch(cc::switches::kUIShowFPSCounter);
settings.single_thread_proxy_scheduler = true;
+ std::string image_texture_target_string = command_line->GetSwitchValueASCII(
+ switches::kBrowserContentImageTextureTarget);
+ settings.renderer_settings.buffer_to_texture_target_map =
reveman 2017/05/31 15:06:09 why do we need a command line switch for this when
sujith 2017/06/01 06:56:07 I tried to follow the same way how the values are
+ cc::StringToBufferToTextureTargetMap(image_texture_target_string);
animation_host_ = cc::AnimationHost::CreateMainInstance();
« no previous file with comments | « content/browser/android/content_startup_flags.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698