OSDN Git Service
(root)
/
android-x86
/
external-drmfb-composer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d63424
)
Avoid logging handlePageFlip() warning after disconnect
author
lambdadroid
<lambdadroid@gmail.com>
Wed, 16 Jan 2019 18:10:39 +0000
(19:10 +0100)
committer
lambdadroid
<lambdadroid@gmail.com>
Wed, 16 Jan 2019 18:10:39 +0000
(19:10 +0100)
This usually happens once after disconnecting a display, because
the disconnection code resets mFlipPending (in case the flip never
succeeds successfully). We can just ignore the warning in this case.
DrmDisplay.cpp
patch
|
blob
|
history
diff --git
a/DrmDisplay.cpp
b/DrmDisplay.cpp
index
f2c756c
..
528341e
100644
(file)
--- a/
DrmDisplay.cpp
+++ b/
DrmDisplay.cpp
@@
-199,7
+199,7
@@
drmEventContext pageFlipEvCtx = {
void DrmDisplay::handlePageFlip() {
if (mFlipPending) {
mFlipPending = false;
- } else {
+ } else
if (mConnected)
{
LOG(WARNING) << "handlePageFlip() called for display " << *this
<< " without flip pending";
}