Fix DrawTargetD2D1::mVRAMUsageSS handling
Categories
(Core :: Graphics, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file)
This bug is created from bug 1697476 comment 10
It is weird that mVRAMUsageSS is incremented only at one place and the value is not decremented.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
•
|
||
DrawTargetD2D::mVRAMUsageSS that existed in the past(Bug 738189) was added/removed correctly.
DrawTargetD2D1::mVRAMUsageSS was added by Bug 883004. And the change did not have decrement of DrawTargetD2D1::mVRAMUsageSS.
Assignee | ||
Comment 2•4 years ago
|
||
It seems simpler to handle the decrement like SourceSurfaceD2DTarget::mOwnsCopy that existed in the past.
https://searchfox.org/mozilla-esr45/rev/e58e94fb0696e9d99b8685348f02278a4bafced7/gfx/2d/SourceSurfaceD2DTarget.cpp#31
https://searchfox.org/mozilla-esr45/rev/e58e94fb0696e9d99b8685348f02278a4bafced7/gfx/2d/SourceSurfaceD2DTarget.cpp#133
Assignee | ||
Comment 3•4 years ago
|
||
During looking intoDrawTargetD2D1::mVRAMUsageSS. I found that DrawTargetD2D1::mVRAMUsageDT is not counted at all.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #3)
During looking intoDrawTargetD2D1::mVRAMUsageSS. I found that DrawTargetD2D1::mVRAMUsageDT is not counted at all.
Created Bug 1699361 for DrawTargetD2D1::mVRAMUsageDT.
Assignee | ||
Comment 5•4 years ago
|
||
Comment 7•4 years ago
|
||
bugherder |
Description
•