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

Unified Diff: media/video/picture.h

Issue 858653002: vaapi plumbing to allow hardware video overlays (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make buildable before cc plumbing is in Created 5 years, 11 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: media/video/picture.h
diff --git a/media/video/picture.h b/media/video/picture.h
index ec508ac310161fbb73fafd0f4e34b190e0645a30..33a7c6a59ef3494afcd4e996132d29375b467673 100644
--- a/media/video/picture.h
+++ b/media/video/picture.h
@@ -21,6 +21,10 @@ class MEDIA_EXPORT PictureBuffer {
PictureBuffer(int32 id,
gfx::Size size,
uint32 texture_id,
+ uint32 internal_texture_id);
+ PictureBuffer(int32 id,
+ gfx::Size size,
+ uint32 texture_id,
const gpu::Mailbox& texture_mailbox);
// Returns the client-specified id of the buffer.
@@ -40,6 +44,8 @@ class MEDIA_EXPORT PictureBuffer {
return texture_id_;
}
+ uint32 internal_texture_id() const { return internal_texture_id_; }
+
const gpu::Mailbox& texture_mailbox() const {
return texture_mailbox_;
}
@@ -48,6 +54,7 @@ class MEDIA_EXPORT PictureBuffer {
int32 id_;
gfx::Size size_;
uint32 texture_id_;
+ uint32 internal_texture_id_;
gpu::Mailbox texture_mailbox_;
};

Powered by Google App Engine
This is Rietveld 408576698