• 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: Screenshot code for Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screenshot code for Tiger


  • Subject: Re: Screenshot code for Tiger
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 26 Apr 2006 10:17:26 -0700

On 4/26/06, Shawn Erickson <email@hidden> wrote:
> On 4/26/06, Nir Soffer <email@hidden> wrote:
> >
> > On 26/04/2006, at 06:35, Shawn Erickson wrote:
> >
> > > Note QuickDraw is considered deprecated now so I would shy away from
> > > using any method that makes use of QuickDraw.
> >
> > That leaves us with the slow initWithViewRect:, or the example OpenGL
> > code that was removed from Apple site from unknown reason - and looks
> > like it supposed to run on PPC.
>
> The "initWithViewRect:" method only works in your own application, is
> that what you want? Or do you want to take a screen shot of things
> other then just your application? It would be better to outline
> exactly what you are trying to achieve.
>
> Assuming you want to take screen shots of things other then your own
> windows/views...
>
> Folks on the Quartz-Dev list and/or Open-GL lists likely will have
> better answers for you. Anyway I believe the "right way" to do this
> (outside of OpenGL) is to use the facilities provided by Quartz
> Display Services [1].
>
> To get optimal read back performance you need to align buffers to at
> least a 32 byte boundary IIRC.

As a follow up the best way... the way to get DMAed reads from VRAM...
is to use OpenGL.

-Shawn
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Screenshot code for Tiger
      • From: Scott Thompson <email@hidden>
References: 
 >Screenshot code for Tiger (From: Nir Soffer <email@hidden>)
 >Re: Screenshot code for Tiger (From: "Dmitry Savenok" <email@hidden>)
 >Re: Screenshot code for Tiger (From: Scott Thompson <email@hidden>)
 >Re: Screenshot code for Tiger (From: Shawn Erickson <email@hidden>)
 >Re: Screenshot code for Tiger (From: Nir Soffer <email@hidden>)
 >Re: Screenshot code for Tiger (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: FYI: Cocoa's framework scaling works great!
  • Next by Date: Re: FYI: Cocoa's framework scaling works great!
  • Previous by thread: Re: Screenshot code for Tiger
  • Next by thread: Re: Screenshot code for Tiger
  • Index(es):
    • Date
    • Thread