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

Unified Diff: cc/layers/heads_up_display_layer_impl.cc

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed a signed vs. unsigned comparison in video_resource_updater.cc Created 7 years, 3 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 | « cc/layers/content_layer.cc ('k') | cc/layers/image_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/heads_up_display_layer_impl.cc
diff --git a/cc/layers/heads_up_display_layer_impl.cc b/cc/layers/heads_up_display_layer_impl.cc
index 8728d704ca4bd4287ffb5f357a5455a3826c31dd..c1fa9f37dbc49ffe592ea8df279e71cc79763a4c 100644
--- a/cc/layers/heads_up_display_layer_impl.cc
+++ b/cc/layers/heads_up_display_layer_impl.cc
@@ -94,8 +94,9 @@ bool HeadsUpDisplayLayerImpl::WillDraw(DrawMode draw_mode,
hud_resource_->Free();
if (!hud_resource_->id()) {
- hud_resource_->Allocate(
- content_bounds(), GL_RGBA, ResourceProvider::TextureUsageAny);
+ hud_resource_->Allocate(content_bounds(),
+ ResourceProvider::TextureUsageAny,
+ RGBA_8888);
}
return LayerImpl::WillDraw(draw_mode, resource_provider);
« no previous file with comments | « cc/layers/content_layer.cc ('k') | cc/layers/image_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698