[regression] Hidden/occluded surfaces are rendering even though not visible
Bug #1308345 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Won't Fix
|
High
|
Daniel van Vugt | ||
The Ubuntu Power Consumption Project |
New
|
Undecided
|
Unassigned |
Bug Description
[regression] Hidden/occluded surfaces are rendering even when not visible. This is a regression of bug 1227739.
Test case:
1. sudo mir_demo_
2. sudo bin/mir_
sleep 5 ;
sudo bin/mir_
Expected: The smaller occluded client stops logging its frame rate after 5 seconds when the larger one starts.
Observed: Logging of the frame rate continues.
Changed in mir: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 0.1.9 |
Changed in mir: | |
status: | Triaged → In Progress |
To post a comment you must log in.
Bisected: ------- ------- ------- ------- ------- ------- ------- ----
-------
revno: 1545 [merge]
author: Alexandros Frantzis <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Thu 2014-04-10 20:17:20 +0000
message:
compositor: Consume buffers of surfaces that are not rendered on screen
This ensures that eglSwapBuffers() in clients doesn't block if a surface is not /bugs.launchpad .net/bugs/ 1233564, https:/ /bugs.launchpad .net/bugs/ 1292306.
rendered. Fixes: https:/
Approved by Alberto Aguirre, PS Jenkins bot. ------- ------- ------- ------- ------- ------- ------- ----
-------
I am aware we had a plan to unblock rendering while the screen is off. Although I disagree with that, it is separate to unblocking rendering while the screen is on. Hidden and occluded surfaces should never render at all regardless of the monitor state. This was bug 1227739 which was resolved last year. We should not reintroduce it if we're serious about conserving power.