The GraphicBufferAllocator class (from libui) provides a more modern interface
to Android buffer allocation.
Moreover, the gralloc.h API has been deprecated since Android P (9).
Import the GraphicBufferAllocator.h from the VNDK.
These have been imported from:
URL: https://android.googlesource.com/platform/prebuilts/vndk/v33/
rev: 390028a9da88 ("Update VNDK snapshot v33 to build 9948968. am: 3042508aee am: 7092391a46")
No changes have been made to the files, besides adding the SPDX comment.
Note: because GraphicBufferAllocator has lots of Android-specific dependencies,
a future patch is needed to stub/simplify this include.
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>