Bug fix: TranferBufferManager's SharedMemory memory usage reporting was wrong
TranferBufferManager takes buffers whose backing store might or might not be SharedMemory, but accumulates shared memory usage no matter what the buffer is. This CL fixes this to make TranferBufferManager count shared memory usage only when the buffer's backing store is SharedMemory. BUG=604726 TEST=gpu_unittests --gtest_filter=TransferBufferManagerTest.* CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2575803002 Cr-Commit-Position: refs/heads/master@{#439419}
Showing
Please register or sign in to comment