eglfs: improve EGLStream logging
Make it possible to identify from the logs that QT_QPA_EGLFS_LAYER_INDEX was set, in order to help troubleshooting. Change-Id: Ic22825e5df9f0eeb31f817f398b9f6c000c3a00f Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>bb10
parent
b1789d8c00
commit
09d481987b
|
|
@ -193,8 +193,10 @@ void QEglJetsonTK1Window::resetSurface()
|
|||
QByteArray reqLayerIndex = qgetenv("QT_QPA_EGLFS_LAYER_INDEX");
|
||||
if (!reqLayerIndex.isEmpty()) {
|
||||
int idx = reqLayerIndex.toInt();
|
||||
if (idx >= 0 && idx < layers.count())
|
||||
if (idx >= 0 && idx < layers.count()) {
|
||||
qCDebug(qLcEglfsKmsDebug, "EGLOutput layer index override = %d", idx);
|
||||
layer = layers[idx];
|
||||
}
|
||||
}
|
||||
|
||||
if (layer == EGL_NO_OUTPUT_LAYER_EXT) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue