DescriptionAdd TransferBufferInterface::shared_memory_handle()
This CL adds a base::SharedMemoryHandle getter to
gpu::TransferBufferInterface. The getter will be used by
TransferBufferInterface users when OnMemoryDump is called to create
base::SharedMemory dumps.
This is part of work for exposing SharedMemory usages on tracing
memory-infra dumps.
Design doc: https://docs.google.com/document/d/16Mi5_puxKgQ-9IX7ANfbji0WiqBCK3yrnJ0Qi2wa3w0/edit#heading=h.lofdeze1a2hr
BUG=604726
TEST=gpu_unittests --gtest_filter=TransferBufferTest.*
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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/2910093004
Cr-Commit-Position: refs/heads/master@{#476175}
Committed: https://chromium.googlesource.com/chromium/src/+/9fb909c390cc47adc70f9592565474acc5f875d9
Patch Set 1 #Patch Set 2 : (rebase) #
Messages
Total messages: 14 (10 generated)
|