Closed
Bug 946541
Opened 11 years ago
Closed 11 years ago
Skia doesn't purge GPU resources properly
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: gal, Assigned: gal)
Details
Attachments
(1 file, 1 obsolete file)
4.14 KB,
patch
|
gw280
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → gal
Assignee | ||
Updated•11 years ago
|
Attachment #8342780 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8342780 -
Attachment is obsolete: true
Attachment #8342780 -
Flags: review?(matt.woodrow)
Assignee | ||
Updated•11 years ago
|
Attachment #8342790 -
Flags: review?(gwright)
Assignee | ||
Updated•11 years ago
|
Attachment #8342790 -
Flags: review?(snorp)
Updated•11 years ago
|
Attachment #8342790 -
Flags: review?(gwright) → review+
Assignee | ||
Updated•11 years ago
|
Attachment #8342790 -
Flags: review?(snorp)
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 3•11 years ago
|
||
This probably blocks any FFOS release that uses skiaGL.
blocking-b2g: --- → koi?
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/eb7a2bcb3e6f
Please include commit information in your patches. It makes it much easier for those checking in on your behalf.
https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Keywords: checkin-needed
Updated•11 years ago
|
blocking-b2g: koi? → koi+
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Comment 6•11 years ago
|
||
status-b2g-v1.2:
--- → fixed
status-firefox26:
--- → wontfix
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
Comment 7•11 years ago
|
||
Do we know how much of an improvement this is? This patch is certainly correct, but I would've thought that textures are the overwhelming majority of stuff that would be freed here...
Assignee | ||
Comment 8•11 years ago
|
||
I didn't do any representative measurements. All I can say is that this patch makes things visibly better. Also, I can confirm that its definitely not enough. Skia is still hanging on to a bunch of gray matter.
Comment 9•11 years ago
|
||
(In reply to Andreas Gal :gal from comment #8)
> I didn't do any representative measurements. All I can say is that this
> patch makes things visibly better. Also, I can confirm that its definitely
> not enough. Skia is still hanging on to a bunch of gray matter.
SkiaGL is definitely going to take more memory than software. The GLContext (and underlying EGL context) and triple-buffered SurfaceStream alone could account for a few megs. Do we have any idea how much we need to get rid of before things will work?
Maybe instead of purging the GL resources on memory pressure we should just demote it to software. Performance is going to suck anyway if we're constantly dumping the texture cache.
You need to log in
before you can comment on or make changes to this bug.
Description
•