gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenGL context without AppKit


From: Ivan Vučica
Subject: OpenGL context without AppKit
Date: Sat, 28 Jan 2012 13:38:06 +0100

Hi,

I've began working on CARenderer for quartzcore. 

Since I'm trying to avoid depending on -gui, and since -back depends on -gui, I have no way to replace the following function:
+ (CARenderer *)rendererWithCGLContext:(void *)ctx options:(NSDictionary *)dict

The reason for avoiding depending on -gui in quartzcore is, naturally, UIKit.

Any chance that this is enabled in the nearby future? Without that I'll probably just add extra method to pass GLX context, since the little amount of platform-specific code in UIKit will probably initially be working solely with GLX (considering that, again, I can't use -back without -gui).

To start development, I'll use NSOpenGLContext instance as the first argument, however that's far from ideal.

On a side note, should quartzcore perhaps be renamed? I feel that name such as "coreanimation" is not implying OS X as much as "quartzcore".

--
Ivan Vučica - address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]