I've just pushed revision 6241, which includes my initial implementation of
support for Hi DPI displays (aka Retina).  Whereas Mac's are the #1
audience at this point, there are now vendors selling monitors for Linux &
Windows as well.

I am not convinced my implementation is the best; but, to-date, I've had no
other input.  This code is required to keep Stellarium from showing the
QLWidget at 25% screen size on a Retina monitor.

The implementation is adding the pixel ratio to the projection parameters,
and updating the value when the main window is moved from
screen-to-screen.  StelMovementManager also has to be aware of this, as the
movement should not be scaled, else the screen jumps around.

This is working on my machine, in all scenarios (it has one Retina & one
non- screen).

Please let me know of any issues, or feel free to do something different.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to