Merge "hwc: Fix locking."
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
dd07a6ffce
@@ -357,17 +357,8 @@ struct hwc_context_t {
|
||||
bool mVirtualonExtActive;
|
||||
//Display in secure mode indicator
|
||||
bool mSecureMode;
|
||||
//Lock to prevent set from being called while blanking
|
||||
mutable Locker mBlankLock;
|
||||
//Lock to protect prepare & set when detaching external disp
|
||||
mutable Locker mExtLock;
|
||||
/*Lock to set both mSecureMode and mSecuring as part
|
||||
of binder thread without context switch to composition
|
||||
thread. This lock is needed only for A-family targets
|
||||
since the state of mSecureMode and mSecuring variables
|
||||
are not checked in B-family targets.
|
||||
*/
|
||||
mutable Locker mSecureLock;
|
||||
//Lock to protect drawing data structures
|
||||
mutable Locker mDrawLock;
|
||||
//Drawing round when we use GPU
|
||||
bool isPaddingRound;
|
||||
// External Orientation
|
||||
|
||||
Reference in New Issue
Block a user