|
Originally Posted by Tala
|
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
|
I don't get the tearing with my game. It may just because I am only running at 30fps, but it all seems fine. I did have some problems early on, but that was becuase I was calling eglSwapBuffers twice instead of once DOH.
Totally gratuitous iimage attached. How do you post large images? I can only post upto 450*450.