Loading services/surfaceflinger/SurfaceFlinger.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -3199,7 +3199,7 @@ void SurfaceFlinger::commitTransactionsLocked(uint32_t transactionFlags) { } } if (!hintDisplay) { if (!hintDisplay && mDisplays.size() > 0) { // NOTE: TEMPORARY FIX ONLY. Real fix should cause layers to // redraw after transform hint changes. See bug 8508397. Loading @@ -3209,7 +3209,11 @@ void SurfaceFlinger::commitTransactionsLocked(uint32_t transactionFlags) { hintDisplay = getDefaultDisplayDeviceLocked(); } if (hintDisplay) { layer->updateTransformHint(hintDisplay->getTransformHint()); } else { ALOGW("Ignoring transform hint update for %s", layer->getDebugName()); } }); } Loading services/surfaceflinger/tests/tracing/testdata/layers_trace_nodisplayfound.winscope 0 → 100644 +1020 KiB File added.No diff preview for this file type. View file services/surfaceflinger/tests/tracing/testdata/transactions_trace_nodisplayfound.winscope 0 → 100644 +542 KiB File added.No diff preview for this file type. View file Loading
services/surfaceflinger/SurfaceFlinger.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -3199,7 +3199,7 @@ void SurfaceFlinger::commitTransactionsLocked(uint32_t transactionFlags) { } } if (!hintDisplay) { if (!hintDisplay && mDisplays.size() > 0) { // NOTE: TEMPORARY FIX ONLY. Real fix should cause layers to // redraw after transform hint changes. See bug 8508397. Loading @@ -3209,7 +3209,11 @@ void SurfaceFlinger::commitTransactionsLocked(uint32_t transactionFlags) { hintDisplay = getDefaultDisplayDeviceLocked(); } if (hintDisplay) { layer->updateTransformHint(hintDisplay->getTransformHint()); } else { ALOGW("Ignoring transform hint update for %s", layer->getDebugName()); } }); } Loading
services/surfaceflinger/tests/tracing/testdata/layers_trace_nodisplayfound.winscope 0 → 100644 +1020 KiB File added.No diff preview for this file type. View file
services/surfaceflinger/tests/tracing/testdata/transactions_trace_nodisplayfound.winscope 0 → 100644 +542 KiB File added.No diff preview for this file type. View file