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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.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
Index: content/common/gpu/media/gpu_video_decode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
index b6fba877a97a37ead55e4898dc83f3bbd6d4725a..ea599f73b01b5c66ba2af504e475b96bf5376aed 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -38,10 +38,10 @@ class GpuVideoDecodeAccelerator
GpuCommandBufferStub* stub,
const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner);
- // Static query for supported profiles. This query calls the appropriate
- // platform-specific version. The returned supported profiles vector will
- // not contain duplicates.
- static gpu::VideoDecodeAcceleratorSupportedProfiles GetSupportedProfiles();
+ // Static query for the capabilities, which includes the supported profiles.
+ // This query calls the appropriate platform-specific version. The returned
+ // capabilities will not contain duplicate supported profile entries.
+ static gpu::VideoDecodeAcceleratorCapabilities GetCapabilities();
// IPC::Listener implementation.
bool OnMessageReceived(const IPC::Message& message) override;
« no previous file with comments | « content/common/gpu/media/gpu_video_accelerator_util.cc ('k') | content/common/gpu/media/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698