To get the best performance, make sure your data is using an optimal data type and format combination. You won’t get the best performance otherwise.
Ideally, you’ll want to use:
GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV
This is the fastest data type and format combination. If it isn’t fast, you may have a problem with your driver.
If that’s not possible, you can often get acceptable performance from the following. Just make sure to test these combinations on a device-by-device basis:
GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV
GL_YCBR_422_APPLE, GL_UNSIGNED_SHORT_8_8_REV_APPLE
OpenGL Profiler does not know what the inbound data format is. So you need to check the point at which your data gets uploaded by OpenGL by performing this steps:
Select Collect Trace and Include Backtraces in the OpenGL Profiler window.
Set a breakpoint where your data is uploaded.
When your application breaks, click Call Stack in the Trace window.
Last updated: 2008-02-08