Closed
Bug 1582210
Opened 5 years ago
Closed 5 years ago
Support splitting blob images into different sizes
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Currently if we split a blob image the first image gets the same size as the subsequent image. It would be quite beneficial to performance to instead have blob images sized to the bounds of the items that they contain.
Assignee | ||
Updated•5 years ago
|
Blocks: wr-blob-perf
Assignee | ||
Comment 2•5 years ago
|
||
The basic idea here would be to just union the BlobItemData.mRects for a given group and then intersect this rectangle with initial visible rect and use the result as the visible rect for the blob.
Assignee | ||
Comment 3•5 years ago
|
||
This makes things better especially when the bounds of the combined blob
is changing but the bound of the separate ones are not.
The current implementation is a bit ugly, but it's simple and
can be cleaned up in the cleanups I have in mind for the future.
Assignee | ||
Comment 4•5 years ago
|
||
Pushed by jmuizelaar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4c696f6996de Support splitting blob images into different sizes. r=nical
Comment 6•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Updated•5 years ago
|
Assignee: nobody → jmuizelaar
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•