[NTLK] Einstein and Xcode 4, problems with Cocoa graphics calls, HELP NEEDED.
mm at matthiasm.com
Wed Sep 5 19:29:03 EDT 2012
Getting closer: drawing the Screen contents in OSX is done via "CGContextDrawImage". This call used to re-read the image from the raw RGB data every time. Starting with Mountain Lion, it seems that CGContextDrawImage is now "smart" and caches the image instead, accelerating the drawing code, but ruining our strategy to drawthe Newton screen. There is a fix that deletes and recreates the entire structure on every screen refresh, but I sure hope that this is not the only solution for the issue.
Is there please someone who can take a look at this? My Cocoa knowledge only goes so far.
See TCocoaScreenView::drawRect and TCocoaScreenManager::TCocoaScreenManager
On 05.09.2012, at 22:34, Matthias Melcher <mm at matthiasm.com> wrote:
> The main problem is not Xcode. It can be convinced to compile the code. The issue seems to b with Mountain Lion. The emulator runs just fine, there is just no screen output (except black).
> There are also not close icons etc. in the window decoration. I'll investigate more.
> Any help is greatly appreciated.
> The NewtonTalk Mailing List - http://newtontalk.net/
> The Official Newton FAQ - http://splorp.com/newton/faq/
> The Newton Glossary - http://splorp.com/newton/glossary/
> WikiWikiNewt - http://tools.unna.org/wikiwikinewt/
More information about the NewtonTalk