Closed
Bug 263151
Opened 20 years ago
Closed 17 years ago
Turn on libpng MMX optimizations
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bernard.alleysson, Assigned: bernard.alleysson)
Details
Attachments
(1 obsolete file)
libpng has support for MMX but it is not currently enabled in Mozilla browsers.
| Assignee | ||
Comment 1•20 years ago
|
||
I don't know the status of libpng MMX code, but I guess that this bug has to be filed. I'm running with it with no problem so far. It should speed up png decoding in some cases.
| Assignee | ||
Comment 2•20 years ago
|
||
tor, let me know if you think it is worth considering.
Comment 3•17 years ago
|
||
Is this something worth considering still? Also, is the patch above incomplete? From what I can tell, it also needs the following #defines to be enabled, no? #define PNG_ASSEMBLER_CODE_SUPPORTED #define PNG_MMX_CODE_SUPPORTED #define PNG_HAVE_MMX_READ_FILTER_ROW #define PNG_HAVE_MMX_READ_INTERLACE #define PNG_HAVE_MMX_COMBINE_ROW #define PNG_USE_PNGVCRD
Comment 4•17 years ago
|
||
This patch has been used in unofficial builds for quite some time with no problems that I'm aware of. The performance improvement is about 25% in my png image suite.
Comment 5•17 years ago
|
||
Comment on attachment 161259 [details] [diff] [review] enable MMX According to the comments in pngconf.h, this patch is actually obsolete anyway. http://mxr.mozilla.org/mozilla/source/modules/libimg/png/pngconf.h#725
Attachment #161259 -
Attachment is obsolete: true
Updated•17 years ago
|
Status: NEW → ASSIGNED
Comment 6•17 years ago
|
||
Yes, this bug was fixed by checkin of bug #334110 if not earlier.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•