Loading libs/ui/GraphicBufferMapper.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -109,6 +109,11 @@ status_t GraphicBufferMapper::importBuffer(buffer_handle_t rawHandle, return NO_ERROR; } status_t GraphicBufferMapper::importBufferNoValidate(const native_handle_t* rawHandle, buffer_handle_t* outHandle) { return mMapper->importBuffer(rawHandle, outHandle); } void GraphicBufferMapper::getTransportSize(buffer_handle_t handle, uint32_t* outTransportNumFds, uint32_t* outTransportNumInts) { Loading libs/ui/include/ui/GraphicBufferMapper.h +2 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ public: PixelFormat format, uint64_t usage, uint32_t stride, buffer_handle_t* outHandle); status_t importBufferNoValidate(const native_handle_t* rawHandle, buffer_handle_t* outHandle); status_t freeBuffer(buffer_handle_t handle); void getTransportSize(buffer_handle_t handle, Loading Loading
libs/ui/GraphicBufferMapper.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -109,6 +109,11 @@ status_t GraphicBufferMapper::importBuffer(buffer_handle_t rawHandle, return NO_ERROR; } status_t GraphicBufferMapper::importBufferNoValidate(const native_handle_t* rawHandle, buffer_handle_t* outHandle) { return mMapper->importBuffer(rawHandle, outHandle); } void GraphicBufferMapper::getTransportSize(buffer_handle_t handle, uint32_t* outTransportNumFds, uint32_t* outTransportNumInts) { Loading
libs/ui/include/ui/GraphicBufferMapper.h +2 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ public: PixelFormat format, uint64_t usage, uint32_t stride, buffer_handle_t* outHandle); status_t importBufferNoValidate(const native_handle_t* rawHandle, buffer_handle_t* outHandle); status_t freeBuffer(buffer_handle_t handle); void getTransportSize(buffer_handle_t handle, Loading