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

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: fix unittests build 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
« no previous file with comments | « content/common/gpu/media/video_decode_accelerator_unittest.cc ('k') | media/video/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/picture.h
diff --git a/media/video/picture.h b/media/video/picture.h
index 2fe10bf299be582534686c56528a9bca41be8f9a..1fb5096885fbc87a17b74c6d8c5a6497ff5bf9f0 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_;
};
« no previous file with comments | « content/common/gpu/media/video_decode_accelerator_unittest.cc ('k') | media/video/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698