Merge change 21059

* changes:
  make sure EGL_ANDROID_swap_rectangle is actually supported before using it