cc: Fail more visibly when sync queries are not working correctly.
commit2fb7a1437a51535645a551d195e4d1ddfd79d7ac
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 14 May 2014 00:26:41 +0000 (14 00:26 +0000)
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 14 May 2014 00:26:41 +0000 (14 00:26 +0000)
tree3cf1635112140aa5ba1dc7bcea16f80879ed23b9
parent732ba2ccaeec188901634502b6fe8982c1e99076
cc: Fail more visibly when sync queries are not working correctly.

Instead of creating an infinite number of sync queries, which will
eventually cause performance issues, log an error message and block
until oldest query has passed when reaching 16 pending queries.

BUG=371530

Review URL: https://codereview.chromium.org/280543003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270265 0039d316-1c4b-4281-b951-d872f2087c98
cc/output/gl_renderer.cc