⚖ Compare news

Put up to three stories side by side. Pick IDs from any article URL: /compare?id=123&id=456

Как мы рисуем в чёлке MacBook, в которой нельзя рисовать

habrahabr.ru ·Russian Federation · culture
Words
75
Chars
461
AI summary
Yes
Full story

The article answers a common question about how Lumio draws into the MacBook notch even though the notch is a cutout in the screen. It notes that there are no pixels in that area because the camera sits there. It explains how the team determines the cutout size without a model table, how it handles icons on the right and the menu on the left, and how it behaves on screens without a notch, in full-screen apps and on other desktops. It also covers processor usage.

Под прошлыми статьями про Lumio чаще всего спрашивали: «Как вы рисуете в чёлке, если чёлка — это вырез в экране?» Пикселей там действительно нет, там камера. Рассказываем, как мы узнаём размер выреза без таблицы моделей, что делаем со значками справа и меню слева, как ведём себя на экранах без выреза, в полноэкранных приложениях и на других рабочих столах, и сколько процессора на это уходит — с цифрами замеров и подвохами, на которые наступили. Читать далее

Open article