[regression] First frame is composited as black (even though the client has provided a non-black frame)
Bug #1362444 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Kevin DuBois | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
mir (Ubuntu RTM) |
Fix Released
|
High
|
Unassigned |
Bug Description
[regression] First frame is composited as black (even though the client has provided a non-black frame).
Test case A:
1. Run mir_demo_
Expected: The canvas coloured window to appear.
Observed: A black window appears. The canvas only appears after you start painting.
Test case B:
1. Insert a sleep into the start of mir_demo_
Expected: After the sleep, the first composited frame has a blue background.
Observed: After the sleep, the first composited frame is all black.
Related branches
lp:~kdub/mir/fix-1362444
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Alan Griffiths: Approve
-
Diff: 171 lines (+32/-14)6 files modifiedinclude/server/mir/compositor/recently_used_cache.h (+1/-0)
server-ABI-sha1sums (+1/-1)
src/server/compositor/recently_used_cache.cpp (+3/-3)
tests/unit-tests/compositor/test_buffer_queue.cpp (+10/-8)
tests/unit-tests/compositor/test_gl_texture_cache.cpp (+15/-0)
tests/unit-tests/frontend/test_client_buffer_tracker.cpp (+2/-2)
Changed in mir: | |
assignee: | nobody → Kevin DuBois (kdub) |
status: | Triaged → In Progress |
Changed in mir (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in mir (Ubuntu RTM): | |
importance: | Undecided → High |
status: | New → Triaged |
no longer affects: | mir/0.7 |
To post a comment you must log in.
Bisected. The bug came from this commit:
------- ------- ------- ------- ------- ------- ------- ------- ----
revno: 1864 [merge]
author: Kevin DuBois <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Tue 2014-08-26 08:57:09 +0000
message:
graphics: change mg::BufferID to be mir::IntWrapper. More consistent with other id's in the code, as well as more friendly to the stl contaniner types.
Approved by PS Jenkins bot, Chris Halse Rogers, Andreas Pokorny, Alan Griffiths. ------- ------- ------- ------- ------- ------- ------- ----
-------