Bound time to delete cc::Resource
With OOP-D, we no longer have draw call pressure inducing flushes. https://crbug.com/c/875319 suggests that there are cases where we reuse tiles enough in the UI compositor that we never hit the unused_resources_.empty() condition in the EvictExpiredResource method. This CL adds a deadline for the flush, so that we wait at most 1 second. Bug: 875319 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ifa8d516699be7ae1eff47db01f8be55a0aae92c8 Reviewed-on: https://chromium-review.googlesource.com/c/1284435 Commit-Queue: Jonathan Backer <backer@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Reviewed-by:
Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/master@{#600387}
Showing
Please register or sign in to comment