Change information
Commit message:
[M144] media: Report multi-GPU histograms when MediaFoundation playback starts
Original change's description:
> media: Report multi-GPU histograms when MediaFoundation playback starts
>
> - Report multi-GPU UMAs only once when the virtual video window size is
> the correct one (the output rect is larger than default size) since the
> window handle is required to determine where the video is displayed.
> - These histograms are required for further investigation on the high
> volume of "hardware-context-reset" cases with PlayReady SL3000 on
> Chrome Windows.
>
> Tests:
> - Manually verified the histograms only reported once.
> - See the histogram example (tested 4 playbacks):
> http://shortn/_jDZxSVXsZH
>
> Bug: b:454139099, b:454691291, 469759460
> Change-Id: I48f4fda7d60f0a2ab638375c5addf0246c4aaa4e
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7270236
> Reviewed-by: Evan Liu <ev...@google.com>
> Reviewed-by: Dale Curtis <dalec...@chromium.org>
> Commit-Queue: Sangbaek Park <sangba...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1560224}
(cherry picked from commit acd28a155b356ec7b1f39576f30a2776c86a582b)
Bug: 470062916,b:454139099,b:454691291,469759460
Change-Id: I48f4fda7d60f0a2ab638375c5addf0246c4aaa4e
Cr-Commit-Position: refs/branch-heads/7559@{#2238}
Cr-Branched-From: 223dfbac1c7542a06b422390d954afe5b560b607-refs/heads/main@{#1552494}
Files:
- M media/renderers/win/media_foundation_renderer.cc
- M media/renderers/win/media_foundation_renderer.h
- M tools/metrics/histograms/metadata/media/histograms.xml
Change size: M
Delta: 3 files changed, 117 insertions(+), 1 deletion(-)
Branch: refs/branch-heads/7559
Submit Requirements:
Code-Review: Bot-Commit+1 by Rubber Stamper