From: Christopher <pe...@pa...> - 2000-05-16 13:21:31
|
Can anyone help me with the problem: For a research project I am trying to use various Mesa primitives to do rendering. I am attempting to create a single XMesa Context, and have multiple XMesa buffers. Then I need to be able to tell the Context to render its information into any of these given buffers at any given point in time. I do this by simply having the context refer to the respective buffers. The problem is not with the switching of the buffers in respect to the context, I've been able to manage this. After I switch the buffer, meaning that the context now points to a completely different XMesa buffer, all the rendering information still gets set to the original buffer instead of the new one. I suspect that the context must be keeping track of the original buffer but I can't determine how. I've tried just about everything (ie. Use makecurrent, doing things with XImages at an even lower level). Any ideas? |