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

Unified Diff: media/gpu/avda_picture_buffer_manager.h

Issue 2692863011: Add ContentVideoViewOverlay to AVDA. (Closed)
Patch Set: keep |overlay| longer in UpdateSurface, comments Created 3 years, 10 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/gpu/avda_picture_buffer_manager.h
diff --git a/media/gpu/avda_picture_buffer_manager.h b/media/gpu/avda_picture_buffer_manager.h
index 76c7ba3d3ebc9265382ee23b0b6067b674787afa..6fddb40efba3755eb68aa6f2911bdb9677812181 100644
--- a/media/gpu/avda_picture_buffer_manager.h
+++ b/media/gpu/avda_picture_buffer_manager.h
@@ -49,7 +49,9 @@ class MEDIA_GPU_EXPORT AVDAPictureBufferManager {
// May be called multiple times to switch to a new |surface_id|. Picture
// buffers will be updated to use the new surface during the call to
// UseCodecBufferForPictureBuffer().
- gl::ScopedJavaSurface Initialize(int surface_id);
+ // TODO(liberato); update comment.
+ void InitializeForOverlay();
+ gl::ScopedJavaSurface InitializeForSurfaceTexture();
void Destroy(const PictureBufferMap& buffers);

Powered by Google App Engine
This is Rietveld 408576698