• Dan Sanders's avatar
    [media] Trace all queued images in VTVDA::OnMemoryDump(). · dfe42457
    Dan Sanders authored
    Before this change, only output pictures were traced. This CL adds
    tracing for the output (task) queue and the reorder queue. This memory
    is held in IOSurfaces, and isn't attributed to Chrome in other ways.
    
    Based on results from this new memory tracing, this CL increases the
    number of requested picture buffers significantly, to avoid
    pathological cases where we continue to decode pictures after running
    out of picture buffers.
    
    Bug: 840548
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: I026a8b4126a176112919f47e30c42f11e1f96b7c
    Reviewed-on: https://chromium-review.googlesource.com/1053222
    Commit-Queue: Dan Sanders <sandersd@chromium.org>
    Reviewed-by: default avatarccameron <ccameron@chromium.org>
    Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#558853}
    dfe42457
vt_video_decode_accelerator_mac.cc 53.5 KB