Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas