commit | 17774c23fdc771cb5e711d7f480457c88f11b66a | [log] [tgz] |
---|---|---|
author | Sushil Chauhan <sushilchauhan@codeaurora.org> | Wed Mar 25 19:35:54 2015 -0700 |
committer | Sushil Chauhan <sushilchauhan@codeaurora.org> | Thu Mar 26 12:36:55 2015 -0700 |
tree | f4cd33d193e4c8e490e0b2147df3f2941e7b6712 | |
parent | 416705e0b95c067595d29a47d312944d491e78c6 [diff] [blame] |
hwc: Reset PTOR information Reset PTOR info in HWC reset to make sure that Copybit does not draw any Overlap region, even if there is no App layer in HWC layer list. Change-Id: Ie2fb3408ba0171fd098a6b2627f4b9d59ae94ee6
diff --git a/libhwcomposer/hwc.cpp b/libhwcomposer/hwc.cpp index 3026d99..5287377 100644 --- a/libhwcomposer/hwc.cpp +++ b/libhwcomposer/hwc.cpp
@@ -222,6 +222,7 @@ ctx->mLayerRotMap[i]->reset(); } + memset(&(ctx->mPtorInfo), 0, sizeof(ctx->mPtorInfo)); ctx->mAD->reset(); }