kanato's picture

OpenTK Mac OS X support.

Well, I thought I would let you know I've been working on writing support for Mac OS X for OpenTK. I've successfully wrapped window creation and event processing through the Carbon API. I need to work on keyboard and mouse event processions, then AGL wrapping, then I think I'll be to the point where I can integrate with OpenTK. Hopefully I can get there by early next week.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Thanks, I'll check this in tomorrow.

I've made a simple change in AudioContext to mimic Alut.Init() behavior: the latter always calls Alc.OpenDevice() without any parameters (which opens the default device). AudioContext on the other hand first enumerates all available devices then open the default one, unless otherwise specified. Unfortunately it seems that actually specifying the default device leads to a crash - which can be avoided by not specifying any device at all.

Now that I think of it, maybe AudioContext is passing unicode data when OpenAL is expecting ascii - better check if this is the case.

kanato's picture

Any progress or issues with this?

Kamujin's picture

I'd like to do some testing on OS X also. So any progress reports would be appreciated.

FWIW, I loaded the macos branch and patched it, but it pretty much blew up trying to create a window. I'll wait till the patch is applied to the svn and test again.

Fiddler, I think you should consider giving write access to some of us. It's hard enough to find people willing to help out. Submitting everything as patches makes it harder for us.

Kamujin's picture

You still with us Fiddler?

the Fiddler's picture

Yep, but I'm on holidays in Germany right now :)

kanato's picture

What part of Germany are you in? I'll be there in a couple of weeks, in Dresden for a week for a conference and then in Augsburg for a week.

Kamujin's picture

Any word on the OS X support?