Best format for glReadPixels ?

Can anyone tell me the best format for the fastest glReadPixels ?
Matt ?
Anyone ?

Originally posted by paddy:
Can anyone tell me the best format for the fastest glReadPixels ?
Matt ?
Anyone ?

16-bit color: GL_UNSIGNED_INT_5_6_5/GL_RGB
32-bit color: GL_UNSIGNED_BYTE/GL_BGRA
16-bit depth: GL_UNSIGNED_SHORT/GL_DEPTH_COMPONENT
24-bit depth: GL_UNSIGNED_INT/GL_DEPTH_COMPONENT
8-bit stencil: GL_UNSIGNED_BYTE/GL_STENCIL_INDEX

  • Matt

So BGRA is faster than RGBA ?
Good
Thanks very much !