• sadrul's avatar
    gfx: Fix sending native ozone pixmaps from InProcessCommandBuffer. · 73794cae
    sadrul authored
    The file-descriptors in NativePixmapHandle need to be dup'ed before then
    can be sent over mojo IPC from InProcessCommandBuffer. Introduce a
    convenience function CloneHandleForIPC() so that it can be used by both
    GpuChannelHost and InProcessCommandBuffer.
    
    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
    
    Review-Url: https://codereview.chromium.org/2531963002
    Cr-Commit-Position: refs/heads/master@{#434884}
    73794cae
in_process_command_buffer.cc 39 KB