Add ANativeWindow_getBuffersDefaultDataSpace()

This is useful for ANGLE (OpenGL ES implementation layered on top
of Vulkan) which needs to the know the default dataspace to pass
along to Vulkan when creating a surface/swapchain for an
ANativeWindow.

See http://aosp/q/topic:cuttlefish-angle-colorspace

Bug: b/229286407
Test: lunch aosp_cf_x86_64_phone-userdebug &&
      m &&
      cts -m CtsMediaCodecTestCases
Change-Id: Ie7a0c4b4f409f730f5c70bd88485644cfa03f10d
3 files changed