Merge lp://qastaging/~afrantzis/mir/android-one-buffer-allocator into lp://qastaging/mir
Proposed by
Alexandros Frantzis
Status: | Merged |
---|---|
Merged at revision: | 3123 |
Proposed branch: | lp://qastaging/~afrantzis/mir/android-one-buffer-allocator |
Merge into: | lp://qastaging/mir |
Diff against target: |
213 lines (+41/-48) 3 files modified
src/platforms/android/server/platform.cpp (+30/-41) src/platforms/android/server/platform.h (+2/-3) tests/unit-tests/graphics/android/test_platform.cpp (+9/-4) |
To merge this branch: | bzr merge lp://qastaging/~afrantzis/mir/android-one-buffer-allocator |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andreas Pokorny (community) | Approve | ||
Kevin DuBois (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Review via email: mp+278441@code.qastaging.launchpad.net |
Commit message
android: Create and use a single buffer allocator instance
Description of the change
android: Create and use a single buffer allocator instance
This change fixed (worked around?) the segmentation faults I was seeing locally on krillin, and which match the ones we are seeing in CI. I am not sure how/why this improves the situation, since the problem seems to come from gralloc and we can't investigate further (no sources). Let's see what CI thinks.
To post a comment you must log in.
It is a workaround, but not that bad of one. If it does work, lets put an obvious comment in there about why we should only have one gralloc instance.