View Single Post
Old 01-01-05, 07:09 AM   #20 (permalink)
Tala
Aximsite Minor League
 
Join Date: Sep 2004
Posts: 191
Thanked 0 Times in 0 Posts
Quote:
How are you converting the texture?
It was basically reverse engineering. I loaded up a texture using glTexImage2d(). Then i observed how the texture was stored in graphics memory. Then i could write a custom routine, which loads a 256x256 texture directly into graphics memory including conversion, which was about 7 times faster.

Btw, do you know how to enable a synchronous eglSwapBuffers? To my surprise i get tearing artifacts. I first thought it was because the texture cache may hold old texels after loading a texture but upon closer examination it was because of a not synchronous eglSwapBuffers.

Tala
Tala is offline   Reply With Quote