Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 90907d7583f0bf6d624b4dfac18a41c7f934d24b..666781230f68eb834f69623a84caa714b7dc931b 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1674,7 +1674,10 @@ bool LayerTreeHostImpl::InitializeRenderer( |
return false; |
scoped_ptr<ResourceProvider> resource_provider = ResourceProvider::Create( |
- output_surface.get(), settings_.highp_threshold_min); |
+ output_surface.get(), |
+ settings_.highp_threshold_min, |
+ settings_.use_rgba_4444_textures, |
+ settings_.force_rgba_textures); |
if (!resource_provider) |
return false; |
@@ -2631,9 +2634,9 @@ void LayerTreeHostImpl::CreateUIResource( |
DeleteUIResource(uid); |
id = resource_provider_->CreateResource( |
bitmap->GetSize(), |
- resource_provider_->best_texture_format(), |
wrap_mode, |
- ResourceProvider::TextureUsageAny); |
+ ResourceProvider::TextureUsageAny, |
+ resource_provider_->best_texture_format()); |
ui_resource_map_[uid] = id; |
resource_provider_->SetPixels(id, |