android: add some more stub functions for cross compilation

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9796>
This commit is contained in:
Tapani Pälli 2021-03-24 09:19:41 +02:00 committed by Marge Bot
parent e10a094e0a
commit 5c7dd85e4f
1 changed files with 13 additions and 0 deletions

View File

@ -12,4 +12,17 @@ void AHardwareBuffer_acquire(AHardwareBuffer* buffer) {
void AHardwareBuffer_release(AHardwareBuffer* buffer) {
}
void AHardwareBuffer_describe(const AHardwareBuffer* buffer,
AHardwareBuffer_Desc* outDesc) {
}
int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc,
AHardwareBuffer** outBuffer) {
return 0;
}
const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer) {
return NULL;
}
}