fa8b5e4502
The macOS view system is in "big pixel" units, so translate these into "physical pixel" units. To compensate, add sk_app::Window::scaleFactor() which returns the scale factor. The viewer app is modified to apply the inverse of this scale factor to the current zoom level. Change-Id: I4fac066a230c87793fc5a0e5a582d60d25e46e7b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/361558 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> |
||
---|---|---|
.. | ||
DawnMTLWindowContext_mac.mm | ||
GLWindowContext_mac.mm | ||
main_mac.mm | ||
MetalWindowContext_mac.mm | ||
RasterWindowContext_mac.mm | ||
Window_mac.h | ||
Window_mac.mm | ||
WindowContextFactory_mac.h |