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

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

Issue 2895273002: Unified the use of BufferToTextureTargetMap for all the Processes (Closed)
Patch Set: texture_targets as reference Created 3 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: 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 c514d5a7e1792d62c464c14a8f8ef9f28eb69ede..ece384dc87ac58d779ca49d86913cb64bfa19ec2 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -526,6 +526,8 @@ void CompositorImpl::CreateLayerTreeHost() {
settings.single_thread_proxy_scheduler = true;
animation_host_ = cc::AnimationHost::CreateMainInstance();
+ GetBufferToTextureTargetMap(
+ &settings.resource_settings.buffer_to_texture_target_map);
cc::LayerTreeHost::InitParams params;
params.client = this;

Powered by Google App Engine
This is Rietveld 408576698