commonsys-intf: add buffer handle in Smomo buffer info

Smomo needs buffer handle to get the buffer metadata info.

Change-Id: Iaf19a96b5f054f26bacb1de7d456d0dd2187c4e0
This commit is contained in:
Ray Zhang
2022-03-17 10:49:59 +08:00
committed by Gerrit - the friendly Code Review server
parent 821831d3ac
commit f20677ef4d

View File

@@ -70,6 +70,7 @@
#include <sys/types.h>
#include <ui/Fence.h>
#include <cutils/native_handle.h>
#include <vector>
#include <string>
@@ -108,6 +109,7 @@ struct SmomoBufferStats {
nsecs_t timestamp; // layer buffer's desired present timestamp
nsecs_t dequeue_latency; // last dequeue duration
int64_t key; // buffer identity
buffer_handle_t buffer_hnd; // layer buffer handle
};
enum DisplayType {