[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #6630] Patch to always check -isFlipped as Cocoa does rather than
From: |
Nicola Pero |
Subject: |
[patch #6630] Patch to always check -isFlipped as Cocoa does rather than accessing the flag directly |
Date: |
Sun, 07 Sep 2008 09:34:47 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1 |
Follow-up Comment #2, patch #6630 (project gnustep):
Well ... I don't remember much about this, so I can only state the obvious
...
how often would -isFlipped be called when a standard window is drawn ? Is
it 10 times, 1k times, 10k times ? That gives you an idea of how important
it would be to keep the optimization ...
If the optimization is useful, then maybe you could compute the flag once
at the beginning of each draw cycle ?
Anyway my guess is that it's quite likely that the optimization can go away
without any noticeable impact on the performance, but it's worth checking
Thanks
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?6630>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/