Closed
Bug 1011569
Opened 10 years ago
Closed 10 years ago
Remove PreferMemoryOverShmem
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: cwiiis, Assigned: cwiiis)
References
Details
Attachments
(1 file)
6.24 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
PreferMemoryOverShmem has been superseded by IsSameProcess, we can remove the former and reduce code complexity a little.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8423963 -
Flags: review?(nical.bugzilla)
Comment 2•10 years ago
|
||
Actually I would like to remove the non-Shmem case altogether. What do you think?
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Andreas Gal :gal from comment #2) > Actually I would like to remove the non-Shmem case altogether. What do you > think? TL;DR: Broadly in favour. I'd like to, but last I checked it was an appreciable performance hit on Android at least. I think we'd need to profile any significant regression and understand where it's coming from before doing that. It may not actually be a regression now we have the tile cache, but if it is we definitely need to investigate why (which may lead to some nice low-hanging fruit :)) That shouldn't stop this landing though (if it passes review).
Comment 4•10 years ago
|
||
This should only be a hit if we don't cache content clients properly. Especially with tiling we should have a 100% cache hit rate for that.
Comment 5•10 years ago
|
||
There are still other places where we do a poor job of caching textures (pretty much everywhere except tiled layers) I don't think we can get rid of MemoryTextureClient/Host just yet (although I am all for removing it as soon as it doesn't cause a performance hit).
Updated•10 years ago
|
Attachment #8423963 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/a6f85ff386c1
Comment 7•10 years ago
|
||
sorry had to backout for test failures like https://tbpl.mozilla.org/php/getParsedLog.php?id=39938148&tree=Mozilla-Inbound
Assignee | ||
Comment 8•10 years ago
|
||
The assertions were likely caused by shmem being used where previously it wasn't because IsSameProcess is broken (bug 1012639). I'll re-land once that bug is resolved.
Assignee | ||
Comment 9•10 years ago
|
||
Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/e7537b4f7a6c
https://hg.mozilla.org/mozilla-central/rev/e7537b4f7a6c
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in
before you can comment on or make changes to this bug.
Description
•