OpenGL data formats

BlitzMax Forums/BlitzMax Programming/OpenGL data formats

ImaginaryHuman(Posted 2004) [#1]
I am wondering, are there recommendations for using the same data format for color information throughout OpenGL? ie, if I make sure my pixmaps are in RGBA, will that ensure that there will be no data conversion needed when using something like glDrawPixels, or similarly should I make sure all my textures are RGBA? From what I can tell the default format in OpenGL is RGBA for the color buffer. I just want to make sure there are no unnecessary conversions going on from the source image all the way through to rendering.? ????