microptimizing video rendering