Index: webkit/media/android/webmediaplayer_android.h |
diff --git a/webkit/media/android/webmediaplayer_android.h b/webkit/media/android/webmediaplayer_android.h |
index b0371d531fa6faeace6c5a23a404c34e405f59ba..eb37cb3fff45f7be364ca85693dbf185fd1ddaa2 100644 |
--- a/webkit/media/android/webmediaplayer_android.h |
+++ b/webkit/media/android/webmediaplayer_android.h |
@@ -13,6 +13,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 "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" |
@@ -257,6 +258,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_; |