
When there are multiple windows open with viz, each window has it's own InProcCmdBuffer. If we do a memory dump with multiple windows, we will fail DCHECKs on calls from VizProcessContextProvider::OnMemoryDump because we will have multiple CommandBufferHelpers in the same process with the same ring_buffer_id_. https://cs.chromium.org/chromium/src/gpu/command_buffer/client/cmd_buffer_helper.cc?rcl=9c52bb1d0f58d02879f4373f5db09aa625c590a7&l=365 This CL makes the transfer buffer IDs generated by InProcCmdBuffer unique within a process and avoids the failing check. 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: I204098af24c6148c1abe71724dbc5b176ee1a29f Reviewed-on: https://chromium-review.googlesource.com/1243672 Reviewed-by: Antoine Labour <piman@chromium.org> Commit-Queue: Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#594084}