Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ is missing or empty.

### Desktop

- On the GPU desktop, the shell and Qt apps draw without depth and stencil
buffers, as iOS draws its interface. On the iPod touch 6 the shell uses
about 50 MB less memory, and every Qt app about 18 MB less.
- On the GPU desktop, the shell no longer stays invisible on a device whose
screen is driven by simpledrm. Labwc used to try to show it straight from
the GPU's buffer, which simpledrm cannot take, and now composites it there.
Expand Down
5 changes: 5 additions & 0 deletions desktop/configuration/login-session
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ if [[ -n $gpu ]]; then
export "${gpu_desktop[@]}"
# The shell (and every app) draws on the GPU too, not Qt's software renderer.
unset LIBGL_ALWAYS_SOFTWARE QT_QUICK_BACKEND
# Qt Quick draws without a depth or stencil buffer, as iOS draws its 2D
# UI: on these tile-based GPUs each window and each layer otherwise
# keeps a full-size depth/stencil buffer in memory that the UI never
# reads (on the iPod touch 6 that is about 50 MB in the shell alone).
export QSG_NO_DEPTH_BUFFER=1 QSG_NO_STENCIL_BUFFER=1
else
gpu_verdict="software desktop: ${gpu_detail:-the GPU probe failed}"
fi
Expand Down
Loading