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

Unified Diff: content/common/gpu/client/gpu_video_decode_accelerator_host.cc

Issue 10392141: Plumb texture target to VideoDecodeAccelerator::Client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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: content/common/gpu/client/gpu_video_decode_accelerator_host.cc
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
index a9dd872c46564069fc89dbb21bd884d51d673cf0..a6f50688bb5d52302c30eb7ca15805612b42bd01 100644
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
@@ -147,10 +147,13 @@ void GpuVideoDecodeAcceleratorHost::OnBitstreamBufferProcessed(
void GpuVideoDecodeAcceleratorHost::OnProvidePictureBuffer(
uint32 num_requested_buffers,
- const gfx::Size& buffer_size) {
+ const gfx::Size& buffer_size,
+ media::VideoDecodeAccelerator::TextureTarget texture_target) {
DCHECK(CalledOnValidThread());
- if (client_)
- client_->ProvidePictureBuffers(num_requested_buffers, buffer_size);
+ if (client_) {
+ client_->ProvidePictureBuffers(
+ num_requested_buffers, buffer_size, texture_target);
+ }
}
void GpuVideoDecodeAcceleratorHost::OnDismissPictureBuffer(

Powered by Google App Engine
This is Rietveld 408576698