Add OpenGL context to Viewer.
authorjvanverth <jvanverth@google.com>
Fri, 20 May 2016 13:01:06 +0000 (06:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 May 2016 13:01:06 +0000 (06:01 -0700)
commitaf236b5aa9e7d71d59bee6533d16deb76e9d098b
treef7eadc814062f1fc91325428c3ec604db64574a1
parentd88b0bec43fdd6ef2f32c6e5a3e834d708ce76a7
Add OpenGL context to Viewer.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1978573003

Committed: https://skia.googlesource.com/skia/+/56a11e4d6f3d436a3c2497c9c9e71a117d78a93f

Review-Url: https://codereview.chromium.org/1978573003
20 files changed:
src/gpu/vk/GrVkBuffer.cpp
tools/viewer/Viewer.cpp
tools/viewer/Viewer.h
tools/viewer/sk_app/DisplayParams.h
tools/viewer/sk_app/GLWindowContext.cpp [new file with mode: 0644]
tools/viewer/sk_app/GLWindowContext.h [new file with mode: 0644]
tools/viewer/sk_app/VulkanWindowContext.cpp
tools/viewer/sk_app/VulkanWindowContext.h
tools/viewer/sk_app/Window.cpp
tools/viewer/sk_app/Window.h
tools/viewer/sk_app/WindowContext.cpp [new file with mode: 0755]
tools/viewer/sk_app/WindowContext.h
tools/viewer/sk_app/android/Window_android.cpp
tools/viewer/sk_app/android/Window_android.h
tools/viewer/sk_app/win/GLWindowContext_win.cpp [new file with mode: 0644]
tools/viewer/sk_app/win/GLWindowContext_win.h [new file with mode: 0644]
tools/viewer/sk_app/win/VulkanWindowContext_win.cpp
tools/viewer/sk_app/win/VulkanWindowContext_win.h [deleted file]
tools/viewer/sk_app/win/Window_win.cpp
tools/viewer/sk_app/win/Window_win.h