Re: Trouble centering window after mode switch (solved)
Re: Trouble centering window after mode switch (solved)
- Subject: Re: Trouble centering window after mode switch (solved)
- From: Ricky Sharp <email@hidden>
- Date: Tue, 30 Jan 2007 18:52:07 -0600
On Jan 30, 2007, at 6:21 PM, John Stiles wrote:
As I understand it, you can't capture a display and then use the
window server to draw on it. It will work sometimes on some
machines, but not all the time on all machines.
I think a captured display is basically only good for OpenGL, or
you can blit on it yourself (the OS provides a CG call to get the
base address and rowbytes of the framebuffer).
If this is an overgeneralization, I hope someone else on-list can
provide clarification.
This is correct. I did respond to the original e-mail, but perhaps
it never got through. Basically, yes, you cannot mix AppKit with
captured displays. Things may or may not work.
Avoid the cocoa-dev sample (named 'slideshow' something). There are
Apple examples that show how to use OpenGL or even direct-pixel
access to draw into a captured display.
For details as to the why, search quartz-dev (subject 'Alerts above a
shielding window').
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden