skia2/tools/sk_app/mac
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
..
GLWindowContext_mac.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
main_mac.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
RasterWindowContext_mac.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
Window_mac.cpp Set mac windows to their current size. 2018-11-30 20:30:12 +00:00
Window_mac.h Fix flicker when changing backend on Mac viewer 2018-02-15 19:14:32 +00:00
WindowContextFactory_mac.h Fix flicker when changing backend on Mac viewer 2018-02-15 19:14:32 +00:00