View Full Version : Multiple contexts and shared memory...
06-14-2006, 08:36 AM
When we switch between OpenGL contexts, witch kind of data are keeped by the new current context?
06-14-2006, 11:03 AM
Can you elaborate a little more ?
06-14-2006, 11:26 AM
When I use wglMakeCurrent could you tell me if the new current context keep the same value of the previous one for the modelview matrix, GL_DEPTH_TEST, textures are still available or vertex buffer object as well ?
06-14-2006, 12:08 PM
States such as the current modelview matrix, material state, enables, ... won't be shared. Every context has it's own seperate state.
Textures, shaders, VBOs, display lists (in general: data objects) are seperate per default, but you can share them between contexts with wglShareLists.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.