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

Unified Diff: webkit/media/android/webmediaplayer_android.h

Issue 12443003: Implement out-of-band video compositing on Android: Step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 9 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: webkit/media/android/webmediaplayer_android.h
diff --git a/webkit/media/android/webmediaplayer_android.h b/webkit/media/android/webmediaplayer_android.h
index c325ce43529dadbee966b685f6d971bd5a2f42e3..ef535204edb9e3584e65e44b6bd42cc459e23d1f 100644
--- a/webkit/media/android/webmediaplayer_android.h
+++ b/webkit/media/android/webmediaplayer_android.h
@@ -181,6 +181,9 @@ class WebMediaPlayerAndroid
WebMediaPlayerManagerAndroid* manager() const { return manager_; }
+ // Request external surface for out-of-band composition.
+ virtual void RequestExternalSurface() = 0;
+
private:
void ReallocateVideoFrame();
@@ -245,6 +248,9 @@ class WebMediaPlayerAndroid
// frame available. It should be initialized on the compositor thread.
scoped_ptr<StreamTextureProxy> stream_texture_proxy_;
+ // Whether media player needs external surface.
+ bool needs_external_surface_;
+
DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid);
};
« no previous file with comments | « content/renderer/media/webmediaplayer_proxy_impl_android.cc ('k') | webkit/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698