hidpi support in monocle

Johan Vos johan at lodgon.com
Thu Feb 12 14:26:00 UTC 2015


Hi,

Unless I'm missing something, there is no support for HiDPI in Monocle?
The staticScreen_getScreens() method in Monocle always calls the Screen
constructor with the scale parameter set to 1.0f.

It seems to me the scale factor can be retrieved from the NativeScreen,
where it would by default return 1.0f.
That would allow e.g. the AndroidScreen to call into the native layer and
obtain the real scale factor.

I can create an issue for this, unless I overlooked something.

- Johan


More information about the openjfx-dev mailing list