Portable and scalable solution for off-screen video frame composition and decomposition using OpenGL ES