sharing gl textures qith multple child windows
-
If i have multiple child windows, each with it's own gl context, and I load up a texture with glGenTextures(), what's the correct way to go about being able to share the same texture with multiple contexts? Do I need to manually load in the image/texture for each context?
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
-
If i have multiple child windows, each with it's own gl context, and I load up a texture with glGenTextures(), what's the correct way to go about being able to share the same texture with multiple contexts? Do I need to manually load in the image/texture for each context?
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
I've never tried this so I can't answer from personal experience. There is just one short mention of this in the edition of the Red Book I have. It says that 'texture objects and display lists can be shared between contexts using wglShareLists'. So I assume that a texture whose creation is wrapped in a display lists can be shared.
L u n a t i c F r i n g e
-
I've never tried this so I can't answer from personal experience. There is just one short mention of this in the edition of the Red Book I have. It says that 'texture objects and display lists can be shared between contexts using wglShareLists'. So I assume that a texture whose creation is wrapped in a display lists can be shared.
L u n a t i c F r i n g e
Thanks. I found something like that too, haven't got that working yet.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow