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

Unified Diff: components/display_compositor/compositor_overlay_candidate_validator_android.cc

Issue 2559523002: Send overlay promotion hints from to GLStreamTextureImage. (Closed)
Patch Set: fiddled with GLboolean for windows compiler Created 4 years 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/resources/resource_provider.cc ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/display_compositor/compositor_overlay_candidate_validator_android.cc
diff --git a/components/display_compositor/compositor_overlay_candidate_validator_android.cc b/components/display_compositor/compositor_overlay_candidate_validator_android.cc
index b5b1c13019bd63b5c2627cc4affa57348e7332d4..a42d0355a14c67b3cbbeb5bf6d71b511fc5fca26 100644
--- a/components/display_compositor/compositor_overlay_candidate_validator_android.cc
+++ b/components/display_compositor/compositor_overlay_candidate_validator_android.cc
@@ -37,7 +37,7 @@ void CompositorOverlayCandidateValidatorAndroid::CheckOverlaySupport(
// This quad either will be promoted, or would be if it were backed by a
// SurfaceView. Record that it should get a promotion hint.
- candidates->promotable_resource_hints_.insert(candidate.resource_id);
+ candidates->AddPromotionHint(candidate);
if (candidate.is_backed_by_surface_texture) {
// This quad would be promoted if it were backed by a SurfaceView. Since
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698