Re: Quartz blitter/hardware support?
Re: Quartz blitter/hardware support?
- Subject: Re: Quartz blitter/hardware support?
- From: Shawn Erickson <email@hidden>
- Date: Wed, 26 Jun 2002 07:49:00 -0700
On Tuesday, June 25, 2002, at 10:42 PM, Allan Odgaard wrote:
Dear list,
Slightly off topic but I hope the people here have the insight to
provide a reply anyway :-)
I use an NSScrollView with a custom NSView subclass.
I set setDrawsBackground and setCopiesOnScroll to YES for the
NSClipView. And my NSView overrides the isOpaque method to return YES.
Still, when my window grows to more than 10% of the screen size (give a
take some pixels) then scrolling can no longer happen in real time
(that is, follow the screens refresh rate) -- even when I only do a
NSFillRect(aRect) in my drawRect method (to fill the newly visible
pixels).
[snip]
If Quartz does indeed use the blitter for these simple operations then
a) what exactly will the Extreme version provide? and b) why on earth
is Quartz so sloooow? (okay, the latter has been debated to death on
this list IIRC, but that was for drawing bezier curves etc., not just a
simple scroll function).
What system with what video adapter? What is the size of the image data?
Have you used the Quartz debug tool to better understand what is getting
redrawn while scrolling? (use the flash screen updates feature).
If you want to known more about QE and/or how to optimize Quartz drawing
a few WWDC sessions covered this topic. You can get them online at ADC
(you may have to purchase them but...).
-Shawn
_______________________________________________
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.