Descriptiongpu: Reuse existing code for shared memory allocation.
Introduce base::SharedMemory::TakeHandle() to take ownership of the handle
to shared memory. This is in order to avoid unnecessary DuplicateHandle(),
or GiveToProcess(), which is already taken care of by mojo, since these
shm handles go over a mojo message-pipe.
BUG=643746
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
Committed: https://crrev.com/f08f1e4acadc0e8d6ad4aae2b0702d5a0b2eee01
Cr-Commit-Position: refs/heads/master@{#432022}
Patch Set 1 #Patch Set 2 : nacl #
Total comments: 3
Patch Set 3 : . #
Total comments: 1
Messages
Total messages: 32 (19 generated)
|