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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 486853002: cc: Use a normal texture for background texture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: 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 705598b012778841dd32762fdd1851d8ee4e61f0..a1f15d2cb6e7434f731e917bfb664009b911fcab 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -3298,11 +3298,11 @@ void LayerTreeHostImpl::CreateUIResource(UIResourceId uid,
format = ETC1;
break;
}
- id = resource_provider_->CreateResource(
- bitmap.GetSize(),
- wrap_mode,
- ResourceProvider::TextureUsageAny,
- format);
+ id =
danakj 2014/08/20 15:58:02 i assume clang-format did this? i will file a bug,
+ resource_provider_->CreateResource(bitmap.GetSize(),
+ wrap_mode,
+ ResourceProvider::TextureHintImmutable,
+ format);
UIResourceData data;
data.resource_id = id;

Powered by Google App Engine
This is Rietveld 408576698