commit | a2eb93e043a6f9e6aa380f36c096222c179ec4bd | [log] [tgz] |
---|---|---|
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Aug 08 09:41:41 2014 +0000 |
committer | Bo Liu <boliu@google.com> | Wed Aug 13 10:59:30 2014 -0700 |
tree | 47b6e5163e511d98b274f2d16528b80d38a5dd49 | |
parent | 97982784e7658e5e491a30b930988f227500853e [diff] |
Cherry-pick: gpu: Avoid unbounded idle queue in in-process context Clean cherry-pick of crrev.com/r288283 BUG: 16550863 Original description: Before this, a task is added to the idle queue each time in flush and ScheduleMoreIdleWork. This means that as long as there is idle work, the size of the queue grows by one in each flush. Fix this by not adding any idle tasks if there is already one pending. Change-Id: I77834205d3746e5ac43a804ec9ec173b0c372e6b