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



I think John assumed your OpenGL contexts are shared. If they aren't, they probably should be ;)

Pass one context as the "shareContext" parameter to the creation function for the other context. They will then share textures, display lists, vertex buffer, objects, &c. For this to work, the pixel formats must be compatible.

Oh, I see! Does the sharing work transitively? That is, if I create context B telling it to share with context A, and then create context C telling it to share with B, do A, B, C all share textures and display lists?

Yes.

_______________________________________________
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>)



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.