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

Unified Diff: media/video/picture.h

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: Created 4 years, 1 month 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: media/video/picture.h
diff --git a/media/video/picture.h b/media/video/picture.h
index 7abf361ebbbf652f4f1730b60f457e99667af77a..98e9658c3b9e536eec26106d15d08ae95de33dbd 100644
--- a/media/video/picture.h
+++ b/media/video/picture.h
@@ -103,6 +103,12 @@ class MEDIA_EXPORT Picture {
void set_size_changed(bool size_changed) { size_changed_ = size_changed; }
+ bool surface_texture() const { return surface_texture_; }
+
+ void set_surface_texture(bool surface_texture) {
+ surface_texture_ = surface_texture;
+ }
+
private:
int32_t picture_buffer_id_;
int32_t bitstream_buffer_id_;
@@ -110,6 +116,7 @@ class MEDIA_EXPORT Picture {
gfx::ColorSpace color_space_;
bool allow_overlay_;
bool size_changed_;
+ bool surface_texture_;
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698