Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to several sources, doing a glTexSubImage2D with GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV can be faster than using GL_RGBA/GL_UNSIGNED_BYTE. Sources include:
We'll need a separate code path for OpenGL and OpenGL ES, since the latter does not support BGRA out of the box.
The text was updated successfully, but these errors were encountered:
cc8d282
Merge pull request #16 from renpy/master
fccac2a
Keep going to latest
No branches or pull requests
renpytom commentedAug 10, 2012
According to several sources, doing a glTexSubImage2D with GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV can be faster than using GL_RGBA/GL_UNSIGNED_BYTE. Sources include:
We'll need a separate code path for OpenGL and OpenGL ES, since the latter does not support BGRA out of the box.
The text was updated successfully, but these errors were encountered: