media/gpu/chromeos/PlatformVFPool: don't request frames with same format.
Buffer allocation is time-consuming action. This CL makes PlatformVideoFramePool not try to allocate new buffers if all the arguments that affects the physical layout of buffer are not changed. Bug: 1018817 Bug: 1028406 Test: media_unittests --gtest_filter=PlatformVideoFramePool.* Test: video_decode_accelerator_tests on Kevin and Eve Change-Id: I3f1a2b91b0f8c762d7c16f3a873648274176a6d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948009Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#721362}
Showing
Please register or sign in to comment