Jump to content
  • Advertisement
Sign in to follow this  
daisy

help in sharing textures in different plot windows

This topic is 4310 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm new here.Thanks for your help! I want to create two windows to draw the same picture. I hope to use the same texture to draw the picture in the two windows so that it's unnecessary to copy the pixels from the framebuffer and then copy them into another texture. I need do this step every frame so it cost lots of time. I'm puzzled that since the texture datas have already existed in the memory of GPU, why not using them in different windows? Or are there some other functions or method to realize? Looking forward for answers.Thank you very much!

Share this post


Link to post
Share on other sites
Advertisement
On Win32, you can take a look at wglShareLists. This function was ment for display lists, but works for all OpenGL objects, as textures.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!