OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c197d
)
Wake up disp sync thread when setting display period
author
Jesse Hall
<jessehall@google.com>
Thu, 10 Oct 2013 21:48:22 +0000
(14:48 -0700)
committer
Jesse Hall
<jessehall@google.com>
Thu, 10 Oct 2013 21:48:22 +0000
(14:48 -0700)
Bug:
10624956
Change-Id: I272c15f319521bfbd1bb70451366c7dd84d60bf9
services/surfaceflinger/DispSync.cpp
patch
|
blob
|
history
diff --git
a/services/surfaceflinger/DispSync.cpp
b/services/surfaceflinger/DispSync.cpp
index
7e67138
..
b2a604c
100644
(file)
--- a/
services/surfaceflinger/DispSync.cpp
+++ b/
services/surfaceflinger/DispSync.cpp
@@
-397,6
+397,7
@@
void DispSync::setPeriod(nsecs_t period) {
Mutex::Autolock lock(mMutex);
mPeriod = period;
mPhase = 0;
+ mThread->updateModel(mPeriod, mPhase);
}
void DispSync::updateModelLocked() {