Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGL + single graphics contexts across dual screen



On Apr 29, 2005, at 12:21 PM, Robert Osfield wrote:

What I'm looking for is a full-screen, but across two screens.  The
introductary paragraph to CGL suggests that its Core OpenGL and that
the lowest level integration possible, which suggest that agl etc
would be based on top of it... so any fucntionality in supporting a
single graphics context across two windows should also be possible in
CGL.

You're going to be limited by the max viewport dim's, so unless your going to require a nVIDIA 6800, your two screens could only be 1024 px wide each, and most people with multiple screens will have resolutions much larger than that.


Rendering to an offscreen buffer then pasting on screen would be awful
for peformance and a complete backwards step.  I know what I'm after
*should* be possible - its even possible under GLX under the OSX, its
even possible to stretch a single window across two screens, all
suggesting the lowest level CGL should also be able to do it, this
really shouldn't need to be that complicated, I would have expected a
simple parameters to set it.

Your large offscreen buffer can be fully hardware accelerated (ie in VRAM), and copying pixels from VRAM to VRAM is very quick with the additional benefit that the hardware wouldn't have to stride motherboard memory. This would allow you to use two separate fullscreen contexts, easily double-buffered, or faster if single-buffered (if want to perform your own VBL sync'ed blits)... and now that Tiger is okay to discuss: you can use CoreVideo callbacks to achieve VBL swaps on a high-priority kernel thread.
--
Shaun Wexler
MacFOH
http://www.macfoh.com


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >CGL + single graphics contexts across dual screen (From: Robert Osfield <email@hidden>)
 >Re: CGL + single graphics contexts across dual screen (From: John Stiles <email@hidden>)
 >Re: CGL + single graphics contexts across dual screen (From: Robert Osfield <email@hidden>)
 >Re: CGL + single graphics contexts across dual screen (From: John Stiles <email@hidden>)
 >Re: CGL + single graphics contexts across dual screen (From: Robert Osfield <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.