Index: webkit/renderer/media/android/webmediaplayer_android.h |
diff --git a/webkit/renderer/media/android/webmediaplayer_android.h b/webkit/renderer/media/android/webmediaplayer_android.h |
index 799909b4b9f86b497329d6cc6914bee6d9f54238..37936da4cbb3ca141ba818e465ffc7b0070f5795 100644 |
--- a/webkit/renderer/media/android/webmediaplayer_android.h |
+++ b/webkit/renderer/media/android/webmediaplayer_android.h |
@@ -14,6 +14,7 @@ |
#include "base/message_loop.h" |
#include "base/time.h" |
#include "cc/layers/video_frame_provider.h" |
+#include "gpu/command_buffer/common/mailbox.h" |
#include "media/base/android/media_player_android.h" |
#include "media/base/demuxer_stream.h" |
#include "media/base/media_keys.h" |
@@ -322,6 +323,11 @@ class WebMediaPlayerAndroid |
// GL texture ID allocated to the video. |
unsigned int texture_id_; |
+ // GL texture mailbox for texture_id_ to provide in the VideoFrame, and sync |
+ // point for when the mailbox was produced. |
+ gpu::Mailbox texture_mailbox_; |
+ unsigned int texture_mailbox_sync_point_; |
+ |
// Stream texture ID allocated to the video. |
unsigned int stream_id_; |