[DEVICE] Now I doubt strongly glFence* API is thread-safe, at least in iOS6. Lock the object again. Performance penalty is negligible anyway