6be2ac19ee
Change-Id: I19370532134f3ff84759177a1d6adcbd9da10a8d
20 lines
638 B
C++
20 lines
638 B
C++
/*
|
|
* Copyright (C) 2022-2023 The LineageOS Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
#include <utils/Errors.h>
|
|
|
|
using android::status_t;
|
|
|
|
extern "C" {
|
|
status_t _ZN7android13GraphicBuffer4lockEjPPvPiS3_(void* thisptr, uint32_t inUsage, void** vaddr,
|
|
int32_t* outBytesPerPixel,
|
|
int32_t* outBytesPerStride);
|
|
|
|
status_t _ZN7android13GraphicBuffer4lockEjPPv(void* thisptr, uint32_t inUsage, void** vaddr) {
|
|
return _ZN7android13GraphicBuffer4lockEjPPvPiS3_(thisptr, inUsage, vaddr, nullptr, nullptr);
|
|
}
|
|
}
|