Software renderers not repainting window in OS X

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Ricket
Posts: 8
Joined: Thu Nov 06, 2008 7:43 pm
Location: North Carolina, USA

Software renderers not repainting window in OS X

Post by Ricket »

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?
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Software renderers not repainting window in OS X

Post by hendu »

I can confirm the issue.
hybrid
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

Post by hybrid »

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.
Ricket
Posts: 8
Joined: Thu Nov 06, 2008 7:43 pm
Location: North Carolina, USA

Re: Software renderers not repainting window in OS X

Post by Ricket »

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...
hybrid
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

Post by hybrid »

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.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Re: Software renderers not repainting window in OS X

Post by bitplane »

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.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply