Some snapshots on Nexus10 have swapped red/blue channels
Bug #1265787 reported by
Gerry Boland
This bug affects 1 person
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. Occasionally, a snapshot will have incorrect colouring (suspect the red and blue channels are swapped). Note upside-down snapshots reported in separate bug: https:/
Related branches
lp://staging/~kdub/mir/fix-1238695
- 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)
tags: | added: nexus10 |
Changed in mir: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 0.1.4 |
description: | updated |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Like lp:1263741, this is a side-effect of occasional GL_OUT_OF_MEMORY errors when trying to read the pixels from the FBO backed by the application surface texture in GLPixelBuffer. Fixed by lp:~kdub/mir/fix-1238695 .