FROM : Ben Lachman
DATE : Wed Feb 20 22:04:13 2008
I just finished working on a view that draws some stuff at an angle
including an NSImage created from a tiff with alpha. It worked great
in the test project with no noticeable performance issues. I
imported it into my main project and hooked it into my view hierarchy
and it now hangs for about 8 seconds while loading the view. Looking
at samples all the time is being spent in -[NSBitmapImageRep
loadData] for that image (its only 138x188px). If I comment out the
drawAtPoint: call that draws the image the view loads without any
hang time. Any thoughts on why this would be happening? This is on
10.4.11.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
<email_removed>
740.590.0009
DATE : Wed Feb 20 22:04:13 2008
I just finished working on a view that draws some stuff at an angle
including an NSImage created from a tiff with alpha. It worked great
in the test project with no noticeable performance issues. I
imported it into my main project and hooked it into my view hierarchy
and it now hangs for about 8 seconds while loading the view. Looking
at samples all the time is being spent in -[NSBitmapImageRep
loadData] for that image (its only 138x188px). If I comment out the
drawAtPoint: call that draws the image the view loads without any
hang time. Any thoughts on why this would be happening? This is on
10.4.11.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
<email_removed>
740.590.0009
| Related mails | Author | Date |
|---|---|---|
| Ben Lachman | Feb 20, 22:04 | |
| Ben Lachman | Feb 20, 22:13 | |
| Graham | Feb 21, 00:04 | |
| Vince DeMarco | Feb 21, 01:26 |






Cocoa mail archive

