discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Cocoa ports of QuartzCore tests


From: Fred Kiefer
Subject: Re: Cocoa ports of QuartzCore tests
Date: Wed, 13 Jun 2012 23:30:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120421 Thunderbird/12.0

On 13.06.2012 22:48, Ivan Vučica wrote:
Hi all,

This evening I sat down and worked on Cocoa ports for the QC tests. Things 
mostly went smoothly; an extra header was needed here, another backing type was 
needed for the window there... Generally, everything should be fine, and the 
OpenGL content should be painted just as under GNUstep. (Even more so 
considering that I based the context creation in the demos on some old code I 
had hanging around. And that code was working just fine.)

However nothing is being painted; in fact, even the glClear() seems to be 
having no effect.

I'm afraid I need another pair of eyeballs to look at the code. I'm probably 
missing something obvious.

Can someone under OS X take a look at the demos? They should be building out of 
the box from the Xcode project.

Since Gregory and I are testing the bridge between git and svn, this latest 
commit is currently available in this repository on Github:
   https://github.com/gnustep/gnustep-quartzcore
and in case everything goes smoothly it should, at some point, appear in the 
Subversion repository. If not, I'll commit it there manually later on.

When I look at the GIT repository you linked to I see that the last change was three days ago, which matches the last SVN commit. I would expect that all your changes are visible in both systems. But I did not see any Mac specific changes there.

If nothing shows up when painting, you may be missing a flush call. Maybe just add a glFlush() somewhere? In you code I see a call to flushBuffer, which may not be what you need (See http://renderingpipeline.com/2012/05/nsopenglcontext-flushbuffer-might-not-do-what-you-think/)

Hope this helps
Fred



reply via email to

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