• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Quartz blitter/hardware support?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Quartz blitter/hardware support?
      • From: Shawn Erickson <email@hidden>
References: 
 >Re: [OT] Quartz blitter/hardware support? (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Re(2): [OT] Quartz blitter/hardware support?
  • Next by Date: Re: What's wrong with "symbol" fonts?
  • Previous by thread: Re: Re(2): [OT] Quartz blitter/hardware support?
  • Next by thread: Re: Quartz blitter/hardware support?
  • Index(es):
    • Date
    • Thread