gnustep-dev
[Top][All Lists]
Advanced

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

Re: NSView caching of isFlipped


From: Fred Kiefer
Subject: Re: NSView caching of isFlipped
Date: Sat, 31 Jul 2010 10:18:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.11) Gecko/20100714 SUSE/3.0.6 Thunderbird/3.0.6

Am 31.07.2010 02:08, schrieb Quentin Mathé:
>> So - how much of a performance gain do we get from caching the
>> flipped status in NSView?  If it is significant,  then is there
>> any way that the value could be sampled upon the first message
>> sent _after_ init?  Or should the caching simply be removed?
> 
> I submitted a patch (which needs improvements iirc) a while ago about
> this -isFlipped issue: http://savannah.gnu.org/patch/?6630
> I'm in favor of removing the caching completely since there is nothing
> in Cocoa doc that states -isFlipped return value must be constant. In my
> tests, Mac OS X reacts transparently to -isFlipped value change at any
> time.

Hi Quentin,

I think you should go ahead and commit your patch. Now that we have two
real live examples of code failing because of this caching we may safely
ignore the performance considerations. Even a small slow down is nothing
compared to valid code not working on GNUstep.

Fred



reply via email to

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