View Single Post
Old 01-01-05, 04:09 PM   #23 (permalink)
SeanX
Aximsite Rookie
 
Join Date: Nov 2004
Posts: 61
Thanked 0 Times in 0 Posts
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.
Attached Images:
File Type: jpg Out3a.jpg (13.2 KB, 456 views)
__________________
Sean Cross
mailto:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Pics Print - The photo printing solution for Windows.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Rental Property Manager: Rental management made easy

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yeti 3d - First Person shooter for the PocketPC
http://www.intuitex.com/yeti.html
SeanX is offline   Reply With Quote