skia2/tools/sk_app
Ben Wagner e6dfe8e6f8 Set mac windows to their current size.
The initially requested size may be too big so the actual window size
may end up smaller than requested. When resetting the window to the
initial size, use the actual initial size. Otherwise those with small
screens will end up with the origin in the wrong place until resizing
the window.

Change-Id: I962cb8db52ece09f6bdc27b7b5520ce8a524ffe6
Reviewed-on: https://skia-review.googlesource.com/c/173760
Commit-Queue: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-11-30 20:30:12 +00:00
..
android Privately include our version of vulkan header file in all our src files. 2018-11-26 15:15:44 +00:00
ios test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
mac Set mac windows to their current size. 2018-11-30 20:30:12 +00:00
unix Privately include our version of vulkan header file in all our src files. 2018-11-26 15:15:44 +00:00
win Privately include our version of vulkan header file in all our src files. 2018-11-26 15:15:44 +00:00
Application.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
CommandSet.cpp eliminate SK_BUILD_FOR_WIN32 2018-01-26 19:52:04 +00:00
CommandSet.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
DisplayParams.h Add pixel geometry and dft selection to viewer app. 2018-04-16 22:46:50 +00:00
GLWindowContext.cpp Remove some linear-blending sRGB logic from sk_app 2018-07-09 15:22:17 +00:00
GLWindowContext.h Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
RasterWindowContext.h Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
VulkanWindowContext.cpp Privately include our version of vulkan header file in all our src files. 2018-11-26 15:15:44 +00:00
VulkanWindowContext.h Privately include our version of vulkan header file in all our src files. 2018-11-26 15:15:44 +00:00
Window.cpp Call GrContext::performDeferredCleanup from viewer 2018-11-01 17:30:25 +00:00
Window.h Call GrContext::performDeferredCleanup from viewer 2018-11-01 17:30:25 +00:00
WindowContext.h Add pixel geometry and dft selection to viewer app. 2018-04-16 22:46:50 +00:00