Synchronized glBufferData

Check if ANDROID_EMU_sync_buffer_data is provided, if so, use
glBufferDataSyncAEMU when glBufferData is called.

glBufferDataSyncAEMU won't return until the glBufferData returns on the
host.

Test: run the emulator
Change-Id: Ifa57f8c6181960b894a7ec3e0789f7f344f498b7
11 files changed