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

Unified Diff: media/video/picture.cc

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: rebased 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 | « media/video/picture.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/picture.cc
diff --git a/media/video/picture.cc b/media/video/picture.cc
index e4e194eb6420dab4880e11250338e8d28e10fe06..4ea418702d818f92f33a2cb5780b9886c916bb54 100644
--- a/media/video/picture.cc
+++ b/media/video/picture.cc
@@ -66,6 +66,8 @@ Picture::Picture(int32_t picture_buffer_id,
visible_rect_(visible_rect),
color_space_(color_space),
allow_overlay_(allow_overlay),
- size_changed_(false) {}
+ size_changed_(false),
+ surface_texture_(false),
+ wants_promotion_hint_(false) {}
} // namespace media
« no previous file with comments | « media/video/picture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698