summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Tianyu Jiang <tianyuj@google.com> 2018-10-26 15:39:18 -0700
committer Tianyu Jiang <tianyuj@google.com> 2018-10-26 15:55:11 -0700
commit7e204b7213c8f73e1fa4e7cdf21638358240cfb1 (patch)
treef942708a0f08c6f6c759ac1f8dfe7dcfefd5f35c /libs/input/KeyLayoutMap.cpp
parent73a961515af1fa2c97516bcd0568dd375737e022 (diff)
Change the variable name "buffer_state_bit" into "client_state_mask".
Reasons: 1. This variable is not refering to a property of the buffer. It refers to a client of the buffer. 2. The original "buffer_state_bit" of a producer/consumer is actually the client state bit mask for both buffer_state and fence_state in shared memory. Thus, "buffer_state_bit" does not make sense for the fence state. 3. In the future, Every clients takes up two bits in the buffer_state. For simpler bit manipulation, there will be a future change making the client_state_bits two bits as well. Please refer to ag/5236978 for an early look at the future bit manipulation. Thus, this change replaces "bit" with "mask". Test: build Bug: 112007999 Change-Id: I72f59ab9491bd2f135da068f578195fbf5e6c2b6
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions