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: Textures in multiple contexts



QA 1031 was written in 2001 and covers both Mac OS X v10.0 and Mac OS 9.

QA 1248 "Context Sharing Tips" at <http://developer.apple.com/qa/qa2001/qa1248.html> written in 2003 is more up to date, more complete, and likely more helpful to you. Specifically it is no longer required to do all sharing prior to creating textures, I believe this only applied to Mac OS X v10.0.

On Nov 15, 2004, at 11:54 AM, James W. Walker wrote:

In Q&A 1031, "OpenGL Texture Sharing Between Contexts", it says:

"First, create all contexts as shared contexts (see below). The requirement to create all contexts first maybe lifted in future versions of Mac OS X. Once all contexts are created, create the texture(s) and texture to any one context."

That seems to say that I can't create context A, do some texture loading and drawing there, then create context B sharing textures with A. Yet the Carbon SetupGL Test sample code, which is referred to in the Q&A, seems to do just that. Am I misunderstanding the Q&A?


Geoff Stahl
3D Software Engineer
Apple

_______________________________________________
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: 
 >Textures in multiple contexts (From: "James W. Walker" <email@hidden>)
 >Re: Textures in multiple contexts (From: John Stauffer <email@hidden>)
 >Re: Textures in multiple contexts (From: "James W. Walker" <email@hidden>)
 >Re: Textures in multiple contexts (From: Keith Bauer <email@hidden>)
 >Re: Textures in multiple contexts (From: "James W. Walker" <email@hidden>)
 >Re: Textures in multiple contexts (From: John Stauffer <email@hidden>)
 >Re: Textures in multiple contexts (From: "James W. Walker" <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.