aboutsummaryrefslogtreecommitdiff
path: root/system/hals/cb_handle_30.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/hals/cb_handle_30.h')
-rw-r--r--system/hals/cb_handle_30.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/hals/cb_handle_30.h b/system/hals/cb_handle_30.h
index 374008eb..7e5e73dd 100644
--- a/system/hals/cb_handle_30.h
+++ b/system/hals/cb_handle_30.h
@@ -53,7 +53,9 @@ struct cb_handle_30_t : public cb_handle_t {
p_mmapedOffset),
mmapedSize(p_mmapedSize),
bytesPerPixel(p_bytesPerPixel),
- stride(p_stride) {
+ stride(p_stride),
+ locked(0),
+ lockedUsage(0) {
numInts = CB_HANDLE_NUM_INTS(numFds);
}
@@ -76,6 +78,8 @@ struct cb_handle_30_t : public cb_handle_t {
uint32_t mmapedSize; // real allocation side
uint32_t bytesPerPixel;
uint32_t stride;
+ uint32_t locked;
+ uint32_t lockedUsage;
};
#endif // SYSTEM_HALS_CB_HANDLE_30_H