I've just committed some changes for Mac into this branch.  But there is still 
one piece that remains; the QGLWidget, on a retina screen, only uses 25% of the 
view.  

According to 
http://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/
 
"OpenGL operates in device pixel space. For example, the width and height 
passed to glViewport should be in device pixels. QGLWidget::resizeGL() gives 
the width and height in device pixels.

However, QGLWidget::width() is really QWidget::width() which returns a value in 
device-independent pixels. Resolve it by multiplying with 
widget->windowHandle()->devicePixelRatio() if needed.
"

I'm not sure the best place to put this; the StelQGLWidget seems the logical 
place.  View movement will need to be detected, and when the view is moved from 
a HiDPI display to a standard, this scaling will need to happen.  
QDesktopWidget - which I added in the last commit - can be used to detect the 
screen the the widget is on, to handle when to change.  But, Fabien is probably 
in the best position to know where in the code the check should occur, and how 
to correctly affect it. 

In any case, I still think the merge to trunk should happen now.



On Sep 21, 2013, at 4:02 AM, Fabien Chéreau <fabien.cher...@gmail.com> wrote:

> Hi guys,
> it seems that most of the issues of the simplegles-qml branch are now fixed. 
> What about doing the real merge to trunk? We can then continue working on it 
> directly from trunk.
> Fabien
> 
> 
> On Sun, Sep 15, 2013 at 2:06 PM, Bogdan Marinov <daggers...@gmail.com> wrote:
> On Sun, Sep 15, 2013 at 3:04 PM, Alexander Wolf <alex.v.w...@gmail.com> wrote:
> Hi
> 
> 2013/9/15 Georg Zotti <georg.zo...@univie.ac.at>
> No, it starts with StelFileMgr not finding relevant directories...
> 
> Possible it related to commented code which made by me for Qt4/Windows 
> specific parts.
> 
> 
> I can commit the fixes I'm using.
> 
> Bogdan 
> 
> 
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
> _______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
> 
> 
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk_______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&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