Re: [osg-users] IPhone retina displays

2010-10-01 Thread Stephan Maximilian Huber
Hi Tom, Am 30.09.10 09:59, schrieb Thomas Hogarth: Hi Stephan I have one last issue before I can send you my changes, but might be fixed your end already. I'm getting a crash when releasing _viewController in GraphicsWindowIPhone::closeImplementation(). I don't really understand why it's

Re: [osg-users] IPhone retina displays

2010-10-01 Thread Thomas Hogarth
Did a bit more testing last night and for me the problem actually seems to be that the view controller releases the view and the view is crashing it. I'll try get the view releasing properly on my end then the viewcontroller should have no problems On 1 October 2010 15:41, Stephan Maximilian

Re: [osg-users] IPhone retina displays

2010-09-30 Thread Thomas Hogarth
Hi Stephan I have one last issue before I can send you my changes, but might be fixed your end already. I'm getting a crash when releasing _viewController in GraphicsWindowIPhone::closeImplementation(). I don't really understand why it's happening as _viewController is just inherited from

Re: [osg-users] IPhone retina displays

2010-09-30 Thread Thomas Hogarth
Hi Stephan, Bit more info on memory issues etc, I just ran the osg simple example with the leaks interments and it appears osg::Alpha func is leaking also, do you see this behaviour? Tom On 30 September 2010 08:59, Thomas Hogarth thomas.hoga...@googlemail.comwrote: Hi Stephan I have one

Re: [osg-users] IPhone retina displays

2010-09-29 Thread Stephan Huber
Hi Tom, Am 29.09.10 02:43, schrieb Thomas Hogarth: Good news on this All seems to be working, I've also improved the IPhoneWindowingSystemInterface to handle true resolutions and multiple screens. So on IPad we should now be able to set a window to an external screen and also change the

Re: [osg-users] IPhone retina displays

2010-09-28 Thread Thomas Hogarth
Good news on this All seems to be working, I've also improved the IPhoneWindowingSystemInterface to handle true resolutions and multiple screens. So on IPad we should now be able to set a window to an external screen and also change the res of the screen (I don't have an IPad though so needs

Re: [osg-users] IPhone retina displays

2010-09-26 Thread Stephan Huber
Hi Tom, Am 25.09.10 14:13, schrieb Thomas Hogarth: So finally got hold of an IPod 4th gen which has the new retina display with a res of 640x960. It does cause a bit of an issue with the iphone port of osg however. For backwards compatibility reasons iOS uses points (not pixels) for it's

Re: [osg-users] IPhone retina displays

2010-09-26 Thread Thomas Hogarth
Hi Stephan Another approach would be to use the WindowData-class to transport the scale-factor to the view-creation code. I went this route to disable the autorotation of the view. I think this is cleaner than adding a virtual screen, which gets complicated, as the iPhone supports IMHO external

Re: [osg-users] IPhone retina displays

2010-09-26 Thread Stephan Huber
Hi Tom, Am 26.09.10 18:52, schrieb Thomas Hogarth: Is it best for me to send my whole git repository to you or just the files i've changed? just send me the modified files, that's easier I think. Perhaps you can fork the repository on github and commit your changes to your repository and send

[osg-users] IPhone retina displays

2010-09-25 Thread Thomas Hogarth
Hi All So finally got hold of an IPod 4th gen which has the new retina display with a res of 640x960. It does cause a bit of an issue with the iphone port of osg however. For backwards compatibility reasons iOS uses points (not pixels) for it's ui sizes. The point res of the screen is still