Closed
Bug 522502
Opened 16 years ago
Closed 1 month ago
Move NS_SVG_OFFSCREEN_MAX_DIMENSION into gfx
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
142 Branch
Tracking | Status | |
---|---|---|
firefox142 | --- | fixed |
People
(Reporter: jwatt, Assigned: longsonr)
Details
Attachments
(1 file)
It seems to me that the gfx code should be the place to offer clamping of surface sizes in addition to gfxASurface::CheckSurfaceSize(). Having the SVG code use NS_SVG_OFFSCREEN_MAX_DIMENSION makes it likely that as new knowledge is added to CheckSurfaceSize for different devices the SVG code will not stay in sync.
We want to limit the total number of bytes allocated, but we also want to put a cap on width/height. It's not clear to me at this point what type of clamping we want. for same use cases it seems like it would be desirable to reduce the width and height proportionally in order for reduce quality equally in both dimensions (e.g. filter regions?). In others we may just want to clamp one of the dimensions.
Updated•3 years ago
|
Severity: normal → S3
Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•1 month ago
|
||
Pushed by longsonr@gmail.com:
https://github.com/mozilla-firefox/firefox/commit/32d0446aec8a
https://hg.mozilla.org/integration/autoland/rev/94065afe9abf
replace NS_SVG_OFFSCREEN_MAX_DIMENSION by kReasonableSurfaceSize r=emilio
Comment 4•1 month ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox142:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Updated•18 days ago
|
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in
before you can comment on or make changes to this bug.
Description
•