Feature #41

Port NeL on Mac

Added by vl over 10 years ago. Updated over 8 years ago.

Status:Closed Start date:09/03/2008
Priority:Normal Due date:
Assignee:rti % Done:

100%

Category:OS: Mac
Target version:Version 0.8.0

Description

NeL works on mac using X11 stuff. But it need a real native Mac integration


Related issues

related to Ryzom - Feature #947: NeL/Ryzom: Run natively on Mac OS X using Cocoa Closed 05/29/2010

History

#1 Updated by Spex over 10 years ago

As the Mac version uses OpenGL similar to the Linux "port", the idea was to rip platform specific code from the OpenGL driver and create an interface to GL context retrieval and input handling. These interfaces can be filled with platform specific implementations for Windows, Linux and MacOSX; allowing us a generic way to access functionality like mode setting and input retrieval while having it running natively.

What I'm not yet sure about in relation to the MacOSX port is which framework we should rely on. I would need to check again, we have Cocoa & Objective-C(+) and another one, which is based on C+ (which is probably easier to integrate into the NeL build).

#2 Updated by sfb about 10 years ago

  • Category set to 3d - OpenGL
  • Target version set to 0.8.0

This will be linked to a forth-coming issue regarding separating the graphics window and input emitter setup from the 3D driver. It has been decided that this is essential to scaling to additional platforms. Putting this off to 0.8.0 is therefore necessary.

#3 Updated by kervala over 9 years ago

I don't think it would be a good idea to use the Mac OS X C++ API (Carbon), because this one is only 32 bits and Snow Leopard is a 64 bits OS so it will dropped in some future versions.

We don't have other choice to code specific parts (even minimal) in Objective-C and use Cocoa (which is 32 and 64 bits compatible). Most of C++ multiplatform GUI libs (wxWidgets and Qt for example) switched from Carbon to Cocoa and we could reutilize their code :)

#4 Updated by kervala over 8 years ago

  • Project changed from NeL to Ryzom
  • Category deleted (3d - OpenGL)
  • Target version deleted (0.8.0)

#5 Updated by kervala over 8 years ago

  • Category set to OS: Mac
  • Status changed from New to Closed
  • Assignee set to rti
  • Target version set to Version 0.8.0
  • % Done changed from 0 to 100

Also available in: Atom PDF