Revert "libui: Add android::GraphicBufferMapper::lock shims"

This reverts commit efa7303881.

Reason: No longer needed after 14QPR3 / 24Q2, commit 434bc98a0f
"Move PlaneLayout lookup to GraphicBuffer"

Change-Id: Ib4590b7a3b839a993f6c747c5f09a6312f7ab329
This commit is contained in:
Chirayu Desai 2024-06-13 21:23:50 +05:30 committed by Michael Bestas
parent 543ade588a
commit a723dd3d79
No known key found for this signature in database
GPG key ID: CC95044519BE6669
2 changed files with 0 additions and 26 deletions

View file

@ -401,7 +401,6 @@ cc_library_shared {
srcs: [
"libui/Fence.cpp",
"libui/GraphicBuffer.cpp",
"libui/GraphicBufferMapper.cpp",
],
system_ext_specific: true,
vendor_available: true,

View file

@ -1,25 +0,0 @@
/*
* Copyright (C) 2023 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdint.h>
#include <ui/GraphicBufferMapper.h>
#include <ui/Rect.h>
#include <utils/Errors.h>
using android::Rect;
using android::status_t;
extern "C" {
status_t _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_(
void* thisptr, buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr,
int32_t* outBytesPerPixel, int32_t* outBytesPerStride);
status_t _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPv(
void* thisptr, buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr) {
return _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_(
thisptr, handle, usage, bounds, vaddr, nullptr, nullptr);
}
}