• 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 07:17:27 -0700

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.

-Shawn

[1] <http://developer.apple.com/documentation/GraphicsImaging/Reference/Quartz_Services_Ref/Reference/reference.html#//apple_ref/doc/uid/TP30001070-CH202-F17088>
 _______________________________________________
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: "Shawn Erickson" <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>)

  • Prev by Date: Re: Trying to read PICT data using Quartz functions
  • Next by Date: Re: Horizontal NSTableView OR How I learned to Bind NSTableView Columns Instead of Rows
  • Previous by thread: Re: Screenshot code for Tiger
  • Next by thread: Re: Screenshot code for Tiger
  • Index(es):
    • Date
    • Thread