Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cacfcc66 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

libgui: add helper to find CpuConsumer::AcquiredBuffer

Add CpuConsumer::findAcquiredBufferLocked.  Rename mBufferPointer to
mLockedBufferId.

This also fixes a nullptr-dereference when unlockBuffer is called
with a LockedBuffer whose data is nullptr.

Test: libgui_test
Change-Id: I36c665099f145731197a6ff8ab940c5d7a326df8
parent e3362a79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment