Bug 82418
Summary: | Remove layer texture protection. Tweak ContentsTextureManager and GPU memoryManager to achieve same result. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Nat Duca <nduca> |
Component: | WebCore Misc. | Assignee: | Michal Mocny <mmocny> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | enne, jamesr, mmocny, vangelis |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Nat Duca
We have calls in strange places that protect certain layer textures, then unprotect them. This is all just a way to keep some textures around when we go into the background.
Now that we have GpuMemoryManger, we can and should do better.
1. we make gpumemorymanager give out small nonzero allocations to background but "likely to be used again" tabs.
2. we make contents texture manager drop textures such that the root layer is the last dropped. LRU may be sufficient, but we may need to tweak it.
3. we remove all this protect/unprotect crap
4. profit
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Nat Duca
Just to clarify, this is low priority --- when we get out of "ship M19 mode" and back into "lets have an awesome memory manager" territory.
Nat Duca
TMV2 obsoletes these notes.