I have a 2010 MacBook Pro running OS X 10.7 (Lion), fully updated. When I run the Hello World sample app in XCode, the model doesn't animate. Same if I change it to the BURNINGSVIDEO device type. But in OpenGL mode, it animates as expected. In my own simple test executable, basically the Hello World app minus the model and built with CMake, the window doesn't even initially draw when in the software device types; it only "refreshes" when I drag it off-screen and back on again. But again, OpenGL fixes it.
Is this a known issue? Does it exist only on my computer? Has the software driver type been tested in Lion?
Software renderers not repainting window in OS X
Re: Software renderers not repainting window in OS X
I can confirm the issue.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Software renderers not repainting window in OS X
This is not Lion only, but happens on all OSX systems. The SW renderers are not yet fully implemented, a bug ticket was submitted a few years ago.
Re: Software renderers not repainting window in OS X
A few YEARS ago?? This concerns me... What other things does Irrlicht fail to properly implement in OS X?
I'm not yet sure whether this is going to turn me away from Irrlicht or motivate me to try to fix them...
I'm not yet sure whether this is going to turn me away from Irrlicht or motivate me to try to fix them...
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Software renderers not repainting window in OS X
Yeah, OSX is always running a few steps behind for us. Especially the not really important things. And we don't have the many test machines for OSX, so it's also quite hard to do proper development. But we're happy to look at all those patches you and all the others will develop for OSX.
Re: Software renderers not repainting window in OS X
We need a developer who is familiar with Cocoa. Apparently we need to create some sort of bitmap source, some sort of presenter object, then somehow tie the presenter to the window. If I remember correctly the data should be copied to the bitmap source in CIrrDeviceOSX::present(), then when OSX repaints the display it will cause it to pull the data.