skia2/tools/viewer/sk_app
Greg Daniel e897b97471 Fix Vulkan orientation during screne rotations
This will fix the Vulkan orientation when the screen is rotated by having
the compositor do the corrections for us. However, it is suggested in the
Android Vulkan docs that for power reasons it may be better for the app
to get the needed rotation off of the VkAndroidSurface and then manually
adjust for this rotation in the rendering without the compositor doing any
corrections. This is something we can look into a later date as it would
require sending some info back from the VulkanWindowContext back to Skia
about what Matrix should be applied.

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3052

Change-Id: I4d3d620ffcc77e607fce8d06b869c2912a61400c
Reviewed-on: https://skia-review.googlesource.com/3052
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2016-10-06 18:57:23 +00:00
..
android Do not spam the debugging information 2016-08-25 13:14:54 -07:00
mac Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
unix Clean up Xlib viewer 2016-08-11 07:03:04 -07:00
win Enable backend switching for Windows Viewer 2016-07-27 14:29:18 -07:00
Application.h More accurate render time and continuous fresh 2016-07-06 14:11:32 -07:00
CommandSet.cpp Add Softkey UIState to Viewer 2016-06-03 08:47:24 -07:00
CommandSet.h Add Softkey UIState to Viewer 2016-06-03 08:47:24 -07:00
DisplayParams.h Lots of progress on switching to SkColorSpace rather than SkColorProfileType 2016-06-16 13:03:24 -07:00
GLWindowContext.cpp Remove unused render target members from GL and VK sk_app::WindowContext classes 2016-07-28 11:49:12 -07:00
GLWindowContext.h Remove unused render target members from GL and VK sk_app::WindowContext classes 2016-07-28 11:49:12 -07:00
RasterWindowContext.h Use Windowing system-specific WindowContext factories. 2016-07-26 12:02:51 -07:00
VulkanWindowContext.cpp Fix Vulkan orientation during screne rotations 2016-10-06 18:57:23 +00:00
VulkanWindowContext.h Remove unused render target members from GL and VK sk_app::WindowContext classes 2016-07-28 11:49:12 -07:00
Window.cpp SW backend for viewer on Windows 2016-07-27 08:50:12 -07:00
Window.h Enable backend switching for Windows Viewer 2016-07-27 14:29:18 -07:00
WindowContext.cpp Remove unused sk_app::WindowContext::presentRenderSurface 2016-07-28 08:53:13 -07:00
WindowContext.h Remove unused sk_app::WindowContext::presentRenderSurface 2016-07-28 08:53:13 -07:00