We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8be9e01 + 3003fe9 commit 9211819Copy full SHA for 9211819
1 file changed
services/surfaceflinger/DisplayHardware/HWC2.cpp
@@ -640,7 +640,15 @@ Error Display::getRequestedLuts(LayerLuts* outLuts,
640
lutFileDescriptorMapper.emplace_or_replace(layer.get(),
641
ndk::ScopedFileDescriptor(
642
layerLut.luts.pfd.release()));
643
+ } else {
644
+ ALOGE("getRequestedLuts: invalid luts on layer %" PRIu64 " found"
645
+ " on display %" PRIu64 ". pfd.get()=%d, offsets.has_value()=%d",
646
+ layerIds[i], mId, layerLut.luts.pfd.get(), layerLut.luts.offsets.has_value());
647
}
648
649
+ ALOGE("getRequestedLuts: invalid layer %" PRIu64 " found"
650
+ " on display %" PRIu64,
651
+ layerIds[i], mId);
652
653
654
0 commit comments