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

Unified Diff: content/common/gpu/media/android_copying_backing_strategy.h

Issue 1490333005: Don't require VDAs to return all PictureBuffers at once. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl feedback. Created 5 years 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/gpu_messages.h ('k') | content/common/gpu/media/android_copying_backing_strategy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/android_copying_backing_strategy.h
diff --git a/content/common/gpu/media/android_copying_backing_strategy.h b/content/common/gpu/media/android_copying_backing_strategy.h
index 4cb1f622a5a30f1f2c46eddd1e17f6a8a4de9a75..15be76d8be7324a393e9219d00fc3aa02b330f5e 100644
--- a/content/common/gpu/media/android_copying_backing_strategy.h
+++ b/content/common/gpu/media/android_copying_backing_strategy.h
@@ -32,7 +32,6 @@ class CONTENT_EXPORT AndroidCopyingBackingStrategy
// AndroidVideoDecodeAccelerator::BackingStrategy
void Initialize(AVDAStateProvider*) override;
void Cleanup(const AndroidVideoDecodeAccelerator::OutputBufferMap&) override;
- uint32 GetNumPictureBuffers() const override;
uint32 GetTextureTarget() const override;
scoped_refptr<gfx::SurfaceTexture> CreateSurfaceTexture() override;
void UseCodecBufferForPictureBuffer(int32 codec_buffer_index,
@@ -41,6 +40,11 @@ class CONTENT_EXPORT AndroidCopyingBackingStrategy
media::VideoCodecBridge*,
const AndroidVideoDecodeAccelerator::OutputBufferMap&) override;
+ static media::VideoDecodeAccelerator::Capabilities::Flags
+ GetCapabilitiesFlags() {
+ return media::VideoDecodeAccelerator::Capabilities::NO_FLAGS;
+ }
+
private:
// Used for copy the texture from surface texture to picture buffers.
scoped_ptr<gpu::CopyTextureCHROMIUMResourceManager> copier_;
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/media/android_copying_backing_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698