Nature's Solution
When the gecko pupil closes in bright light, it leaves four small pinhole openings in a row. Like a Scheiner's disc, these holes make out-of-focus objects appear as multiple images, so depth of field stays shallow and focus can be used to judge distance while total light is cut.
How it works
In bright light the slit pupil closes down to leave four tiny pinhole gaps.
Light from one point enters through each hole, and only objects in focus form a single sharp image on the retina.
Objects nearer or farther form doubled or blurred images, which may help the gecko judge how far away they are.
How sure are we?
3 evidence points. Worked out from the evidence we hold, not by hand.
Evidence
From NASA PeTaL (public domain). Credit NASA.
Where this comes from
On the gekko pupil and scheiner's disc
Claude read this paper's abstract twice, independently, and wrote this page. No product uses it yet in our records, so it is an open idea to explore.