diff --git a/libhwcomposer/hwcomposer.cpp b/libhwcomposer/hwcomposer.cpp index 6f6b84c..ab0e757 100644 --- a/libhwcomposer/hwcomposer.cpp +++ b/libhwcomposer/hwcomposer.cpp @@ -167,6 +167,7 @@ static inline int max(const int& a, const int& b) { } #ifdef COMPOSITION_BYPASS static void timeout_handler(void *udata) { + LOGD("Comp bypass timeout_handler..."); struct hwc_context_t* ctx = (struct hwc_context_t*)(udata); if(!ctx) { @@ -181,8 +182,9 @@ static void timeout_handler(void *udata) { return; } /* Trigger SF to redraw the current frame */ - proc->invalidate(proc); ctx->idleTimeOut = true; + proc->invalidate(proc); + LOGD("Comp bypass timeout_handler...Done"); } void setLayerbypassIndex(hwc_layer_t* layer, const int bypass_index)