Re: [OT] Quartz blitter/hardware support?
Re: [OT] Quartz blitter/hardware support?
- Subject: Re: [OT] Quartz blitter/hardware support?
- From: Jason Harris <email@hidden>
- Date: Wed, 26 Jun 2002 20:40:17 -0700
Allan Odgaard Tried to Tell Me:
[snipped lots of stuff about slow scrolling in Quartz]
It's interesting that this comes up. I just wrote some code that
automatically scrolls an NSScrollView that contains a fairly complicated
view hierarchy. I'm making extensive use of isOpaque in the views, and I've
used Quartz Debug to verify that I'm not doing extra redraws.
On a 500MHz iBook, I get about 2 frames per second. Absolutely horrible.
I did notice, however, that using scrollToPoint made a big difference. When
I first implemented it, I was using setBoundsOrigin on my NSClipView
instead. I got about one update per two seconds. Really, really horrible.
Anyway, I don't see how I could improve my code much beyond setting isOpaque
and making sure it's not drawing extraneous stuff. Except maybe by using
NSView's drawRect routine instead of subclassing it :)
So, basically, not much to this post except to say, "Me too!"
Jason Harris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.