Android gralloc hacks for Joggler (legacy/unused)