Updated Texture throughout to allow for passing dataformat
This pr allows the ability to set up fast path textures with dataType = GL_UNSIGNED_INT_8_8_8_8_REV and dataFormat = GL_BGRA. Currently dataFormat is chosen by default in Cinder. This brings the dataFormat argument of glTex* functions in line with internalFormat and dataType. Fast path textures are textures that the driver implementation doesn't have to convert as many GPU's implement GL_RGBA memory layout as BGRA. This form of texture format is not available without hand rolling a texture and handing it over to cinder.
Hey Ryan, this PR looks clean and serves a useful purpose, so you have my support. One thing I would like to say is that I, personally, have a hard time remembering what the difference is between data type and data format and so I often look at the comments to see examples of them. Could you add a few more comments, too?
Absolutely. I'll go back through tonight.