Add OpenGL support to Linux viewer
authorjvanverth <jvanverth@google.com>
Fri, 27 May 2016 12:47:00 +0000 (05:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 May 2016 12:47:00 +0000 (05:47 -0700)
commit10b3815a11c39b154ec7b74a2af43e019b50d48c
treef49279543bab25ff8d991ecb025749353ebc5e9b
parent41457927364d23ed363bc3ba25025f8a36f1b8d4
Add OpenGL support to Linux viewer

Also adds a command line option (--vulkan) to choose between
Vulkan and OpenGL.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2011473003

Review-Url: https://codereview.chromium.org/2011473003
tools/viewer/Viewer.cpp
tools/viewer/sk_app/VulkanWindowContext.cpp
tools/viewer/sk_app/Window.cpp
tools/viewer/sk_app/unix/VulkanWindowContext_unix.cpp
tools/viewer/sk_app/unix/Window_unix.cpp
tools/viewer/sk_app/unix/Window_unix.h