0
Files
src/gpu
Jonathan Backer 6b4ccf33a5 Fix viz memory dumping
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}
2018-09-25 20:36:58 +00:00
..
2018-09-25 20:36:58 +00:00
2018-08-14 07:08:33 +00:00
2018-09-12 09:09:16 +00:00