Archived

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

DBX

glTexSubImage too slow

Recommended Posts

DBX    178
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
zedzeek    529
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