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

Unified Diff: media/gpu/ipc/service/gpu_video_decode_accelerator.cc

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: rebased Created 4 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 | « media/gpu/ipc/common/media_messages.h ('k') | media/video/picture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/ipc/service/gpu_video_decode_accelerator.cc
diff --git a/media/gpu/ipc/service/gpu_video_decode_accelerator.cc b/media/gpu/ipc/service/gpu_video_decode_accelerator.cc
index cb0b3c8cd5c1d007e72362efd0df762aa55820b2..94a697573fed4eec7f6250e1d9a84283dd9aac9b 100644
--- a/media/gpu/ipc/service/gpu_video_decode_accelerator.cc
+++ b/media/gpu/ipc/service/gpu_video_decode_accelerator.cc
@@ -274,6 +274,8 @@ void GpuVideoDecodeAccelerator::PictureReady(const Picture& picture) {
params.color_space = picture.color_space();
params.allow_overlay = picture.allow_overlay();
params.size_changed = picture.size_changed();
+ params.surface_texture = picture.surface_texture();
+ params.wants_promotion_hint = picture.wants_promotion_hint();
if (!Send(new AcceleratedVideoDecoderHostMsg_PictureReady(host_route_id_,
params))) {
DLOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_PictureReady) failed";
« no previous file with comments | « media/gpu/ipc/common/media_messages.h ('k') | media/video/picture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698