summaryrefslogtreecommitdiffstats
path: root/media/base/run_all_unittests.cc
diff options
context:
space:
mode:
authorkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-15 21:36:56 +0000
committerkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-15 21:36:56 +0000
commit82c6632d7c983bacb05016813777c039a3de0b55 (patch)
tree56137e9ab2f29c83c70268de8a6d1ad8b4eecd24 /media/base/run_all_unittests.cc
parent1bdbc6b9a53ac58d5ddabbf7b3167446663bcc95 (diff)
downloadchromium_src-82c6632d7c983bacb05016813777c039a3de0b55.zip
chromium_src-82c6632d7c983bacb05016813777c039a3de0b55.tar.gz
chromium_src-82c6632d7c983bacb05016813777c039a3de0b55.tar.bz2
Revert 234915 "Revert 234758 "gpu: Remove redundant calls from C..."
> Revert 234758 "gpu: Remove redundant calls from CommandBufferHel..." > > > gpu: Remove redundant calls from CommandBufferHelper::GetSpace() and optimize it. > > > > GetSpace() was calling AllocateRingBuffer() followed by WaitForAvailableEntries(). However, WaitForAvailable() was also calling AllocateRingBuffer() which ended up being redundant. We remove the redundant AllocateRingBuffer() call from GetSpace() in this patch. > > > > Also, we add a "fast-path" to return memory as soon as possible without issuing any GL commands if a suitably allocated buffer is already present and can satisfy the request immediately. > > > > BUG=181711 > > > > Review URL: https://codereview.chromium.org/63513002 > > TBR=kaanb@chromium.org > > Review URL: https://codereview.chromium.org/64833010 TBR=kaanb@chromium.org Review URL: https://codereview.chromium.org/74123003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/run_all_unittests.cc')
0 files changed, 0 insertions, 0 deletions