[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: hidpi support in monocle
From:       David Hill <David.Hill () Oracle ! com>
Date:       2015-02-12 16:00:41
Message-ID: 54DCCE29.1010007 () Oracle ! com
[Download RAW message or body]

On 2/12/15, 9:26 AM, Johan Vos wrote:
> 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
Go ahead and create an issue, as I think you are not missing anything. Oracle has not \
encountered a use case with Monocle for this, just like we have not enountered one \
for screen rotation (though I really did expect to need to do that sooner, rather \
than later).

Fetching the value from NativeScreen sounds right.

Dave

-- 
David Hill<David.Hill@Oracle.com>
Java Embedded Development

"A man's feet should be planted in his country, but his eyes should survey the \
                world."
-- George Santayana (1863 - 1952)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic