Author :
Mark Callow
Date :
2018-02-21 09:58:21
Hash :69958441 Message :Fix high-dpi support on macOS and simplify it and iOS variant.
The detault drawableSize for a CAMetalLayer is its bounds x its scale.
So it is sufficient to set the *layer's* scale to the desired value.