Closed Bug 1299410 Opened 8 years ago Closed 8 years ago

Shrink TextureClientRecycleAllocator more aggressively

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(2 files, 1 obsolete file)

When TextureClientRecycleAllocator::ShrinkToMinimumSize() is called, it clears only mPooledClients. mInUseClients also needs to be cleared.
Blocks: 1298158
Version: 49 Branch → Trunk
Assignee: nobody → sotaro.ikeda.g
Attachment #8786648 - Flags: review?(nical.bugzilla)
Attachment #8786648 - Flags: review?(nical.bugzilla) → review+
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/42031a1a09e8 Shrink TextureClientRecycleAllocator more aggressively r=nical
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Blocks: 1299415
From Bug 1299415 Comment 4, I re-checked attachment 8786648 [details] [diff] [review]. It has a problem. It releases TextureClient without clearing the callback. But we do not have a safe way to clear a callback until the callback is called.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #8786648 - Attachment is obsolete: true
Attachment #8787485 - Flags: review?(nical.bugzilla)
Attachment #8787486 - Flags: review?(nical.bugzilla)
Attachment #8787485 - Flags: review?(nical.bugzilla) → review+
Comment on attachment 8787486 [details] [diff] [review] patch ver2 - Shrink TextureClientRecycleAllocator Review of attachment 8787486 [details] [diff] [review]: ----------------------------------------------------------------- Too bad, I much preferred the simplicity of the previous version. We should really simplify the recycling system (there are much simpler ways than the callback mechanism).
Attachment #8787486 - Flags: review?(nical.bugzilla) → review+
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d082b9cabd17 Shrink TextureClientRecycleAllocator more aggressively r=nical
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
See Also: → 1300501
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: