Commit graph

3 commits

Author SHA1 Message Date
Quallenauge
3ba089b453 sdm660-common: libshims: Respect non-static member function calls.
As stated in
https://www.learncpp.com/cpp-tutorial/8-8-the-hidden-this-pointer/
member functions contains a hidden parameter (a pointer of the current
reference of teh object, aka "this"). This way the code knows in which
context the member function is called. We have to resprect that behavior
into our shims which otherwise crashes or lead to memory corruption.

Change-Id: I68197ebafde8773fd73d7dafb9b2f1bae92ee170
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-09-03 23:21:48 +02:00
Max Weffers
017ca61bf3
sdm660: add missing libgui symbol for camera hal 2019-09-27 17:13:44 +02:00
Erfan Abdi
cc53ae1eb7
sdm660: Make shim for camera.sdm660
P: GraphicBuffer::lock(uint32_t inUsage, void** vaddr);
Q: GraphicBuffer::lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, int32_t* outBytesPerStride);
Error: cannot locate symbol "_ZN7android13GraphicBuffer4lockEjPPv" referenced by "/vendor/lib/hw/camera.sdm660.so"

Change-Id: I1c1fe66f3f73149ced601eae87b970ce392d50ee
2019-09-16 10:39:53 +02:00