I am using a samsung galaxy s2 and I am doing a glReadPixels operation
with this parameters:

glReadPixels(0, 0, sw, sh, GL_RGBA, GL_UNSIGNED_BYTE, ptr);

But this is taking more than one second to be performed. So, I think
that it's doing some kind of cast from "something" to
GL_UNSIGNED_BYTE. As I don't know how the OpenGL system is initialized
(the framebuffer layout), I also don't know the values that I have to
use in the function in order to avoid the casting.

Thanks,

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to