mupen64plus / mupen64plus-video-rice

Video plugin for the Mupen64Plus v2.0 project, using OpenGL. This plugin is based on the RiceVideoLinux plugin from earlier versions of Mupen64Plus.
31 stars 40 forks source link

Investigate if we could avoid 5551-to-RGBA texture conversion process #40

Open Narann opened 9 years ago

Narann commented 9 years ago

As OpenGL 2 and OpenGL ES 2 both supports GL_UNSIGNED_SHORT_5_5_5_1 texture type, it could be interesting to test if the whole texture conversion process could be avoided for such textures and textures uploaded directly from the TMEM adress to the GPU memory without having to allocate a CPU buffer.

It would be an experimental change. If it break everything we will not do the move.