Bug 1077301 - Simplify the gralloc texture code. r=sotaro