Some snapshots on Nexus10 upside-down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Kevin DuBois | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Have a go with this demo:
lp:~gerboland/+junk/qml-demo-shell/
(to compile, ensure you have qt5-default, qtbase5-dev, qtdeclarative5-dev, qtbase5-
The bottom bar has 3 app launching buttons. Tap one, the app will start and slide in. On the left is a black rectangle - tapping this fetches a new snapshot of the application.
To reproduce this bug, keep fetching snapshots by tapping. I see some snapshots are upside down, and a subset of those with incorrect colouring (suspect the red and blue channels are swapped).
Update:
This bug is now just about the upside-down issue. The swapped colours are covered by bug 1265787.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Gerry Boland (community): Approve (functional)
- Andreas Pokorny (community): Approve
- Alan Griffiths: Needs Fixing
- Alexandros Frantzis (community): Approve
- Daniel van Vugt: Approve
- Kevin DuBois: Pending requested
-
Diff: 124 lines (+56/-13)3 files modifiedsrc/platform/graphics/android/buffer.cpp (+19/-10)
src/platform/graphics/android/buffer.h (+3/-3)
tests/unit-tests/graphics/android/test_buffer_tex_bind.cpp (+34/-0)
summary: |
- Some snapshots on Nexus10 upside-down (and occasionally swapped red/blue - channels) + Some snapshots on Nexus10 upside-down |
description: | updated |
Changed in mir: | |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
importance: | Undecided → Critical |
Changed in mir: | |
milestone: | none → 0.1.4 |
status: | New → Triaged |
description: | updated |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in mir: | |
status: | Fix Committed → Fix Released |
When you say snapshots do you mean actual Mir "snapshot" buffers?
It sounds like the snapshots we're getting no longer have valid contents and you're seeing the wrong area of graphics memory. Have you by any chance resized these surfaces before snapshotting them?