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

Unified Diff: chrome/gpu/arc_gpu_video_decode_accelerator.cc

Issue 2462393002: Use texture ids passed from ARC as service ids in ArcGVDA (Closed)
Patch Set: DCHECK and format fixup Created 4 years, 1 month 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 | « no previous file | media/gpu/v4l2_slice_video_decode_accelerator.cc » ('j') | media/video/picture.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/arc_gpu_video_decode_accelerator.cc
diff --git a/chrome/gpu/arc_gpu_video_decode_accelerator.cc b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
index f2e655708f163e2ab80d7b860b0656033c527798..70524b205bbefb6d1ee847c75c8e780369e98e55 100644
--- a/chrome/gpu/arc_gpu_video_decode_accelerator.cc
+++ b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
@@ -150,8 +150,9 @@ void ArcGpuVideoDecodeAccelerator::SetNumberOfOutputBuffers(size_t number) {
texture_ids.push_back(0);
// TODO(owenlin): Make sure the |coded_size| is what we want.
- buffers.push_back(media::PictureBuffer(base::checked_cast<int32_t>(id),
- coded_size_, texture_ids));
+ buffers.push_back(
+ media::PictureBuffer(base::checked_cast<int32_t>(id), coded_size_,
+ media::PictureBuffer::TextureIds(), texture_ids));
}
vda_->AssignPictureBuffers(buffers);
« no previous file with comments | « no previous file | media/gpu/v4l2_slice_video_decode_accelerator.cc » ('j') | media/video/picture.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698