Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

DBX

glTexSubImage too slow

This topic is 5772 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

Is there a faster way to update a texture than using glTexSubImage. I want to draw a textured quad on screen, and occasionaly (sometimes every frame, sometimes not) update the contents of the texture used. I am using glTexSubImage to transfer the new data when it is changed but am finding it quite slow to transfer - the framerate drops somewhat sharply the more transfers I do per frame. I am using RGBA, UNSIGNED_BYTE for the transfer.

Share this post


Link to post
Share on other sites
Advertisement
texsubimage is quite slow (on my system about 18million pixels second) is this what youre getting?
perhaps u can do
copytexsubimage though is fast 130millionpixessec

http://uk.geocities.com/sloppyturds/kea/kea.html
http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites

  • 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!