Merge lp:~alan-griffiths/mir/partial-fix-for-1532202 into lp:mir
Proposed by
Alan Griffiths
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~alan-griffiths/mir/partial-fix-for-1532202 | ||||
Merge into: | lp:mir | ||||
Diff against target: |
23 lines (+4/-2) 1 file modified
src/platforms/android/server/hwc_fallback_gl_renderer.cpp (+4/-2) |
||||
To merge this branch: | bzr merge lp:~alan-griffiths/mir/partial-fix-for-1532202 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Needs Fixing | ||
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Kevin DuBois (community) | Needs Fixing | ||
Review via email: mp+282349@code.launchpad.net |
Commit message
android: mga::HWCFallbac
Description of the change
android: mga::HWCFallbac
This isn't a complete solution to the linked bug - the hack mentioned in lp:1532202/comments/12 gets better performance than this. But it gives a noticeable improvement and I'm at EOD.
I'll look further tomorrow, and also try to figure if there's a way to automate testing.
To post a comment you must log in.
Unmerged revisions
- 3238. By Alan Griffiths
-
Don't use a gl program to do nothing
Clearing the contents appropriately will correct artifacts present in the buffer from previous renders, so we need some way to know whether a clear is needed or not.
So maybe something like:
if (renderlist.empty() && clear) return;
(where clear is a variable that gets set after the first clear, and unset when the renderables are drawn)
would work.
Still thinking what could be the root cause. If the swapping (ie, producing gpu traffic) is slowing us down, maybe its a bus traffic jam issue. (and if thats the case, maybe the n7 wouldn't have the problem)