• Daniel Bratell's avatar
    Replace X11 includes in //gpu with ui/gfx/x/x11.h · 89ce5e63
    Daniel Bratell authored
    X11 header files are infamous for creating macros with common
    names such as None, True, False, Status, Bool, ...
    
    To save oursaves the mess that creates, they are now wrapped
    in a header, ui/gfx/x/x11.h, which puts those symbols in the
    x11 namespace and removes the global macros.
    
    Bug: 782184
    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
    Change-Id: I10a9acecb8e7adacd170d1080a411bc9d1e49f79
    Reviewed-on: https://chromium-review.googlesource.com/806275Reviewed-by: default avatarVictor Miura <vmiura@chromium.org>
    Commit-Queue: Daniel Bratell <bratell@opera.com>
    Cr-Commit-Position: refs/heads/master@{#521659}
    89ce5e63
vulkan_platform.h 3.21 KB