• Brian Sheedy's avatar
    Revert "GPU: Grow and shrink transfer buffer" · 6df2efa5
    Brian Sheedy authored
    This reverts commit 65c38f54.
    
    Reason for revert: Causing DCHECK failures in VR instrumentation tests
    
    Original change's description:
    > GPU: Grow and shrink transfer buffer
    > 
    > Automatically grow the transfer buffer when it is full and shrink it
    > when the full capacity is not being used. Allow choosing larger and
    > smaller sizes than before.
    > 
    > Before we would only grow it when a single transfer request was larger
    > than the whole buffer; requests smaller than the whole buffer would just
    > block if the buffer was full. Also we would not ever shrink the buffer
    > until someone called Free() manually.
    > 
    > Bug: 850271, 835353, 828363, 856347
    > Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    > Change-Id: If2f2235a1d5297c63663398b37e1e30791347a3e
    > Reviewed-on: https://chromium-review.googlesource.com/1105505
    > Commit-Queue: James Darpinian <jdarpinian@chromium.org>
    > Reviewed-by: Antoine Labour <piman@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#572135}
    
    TBR=jdarpinian@chromium.org,sunnyps@chromium.org,piman@chromium.org
    
    Change-Id: I031b30234cdcfbd8a4e48c7ebb6fd23312ec10ed
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 850271, 835353, 828363, 856347, 859952
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Reviewed-on: https://chromium-review.googlesource.com/1124822Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
    Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#572277}
    6df2efa5
mock_transfer_buffer.cc 6.25 KB