Closed
Bug 418494
Opened 17 years ago
Closed 17 years ago
tell image rendering to use SOURCE instead of OVER
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: vlad, Assigned: vlad)
References
Details
(Keywords: perf)
Attachments
(1 file)
1.67 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
Image rendering can use the SOURCE operator instead of OVER in a bunch of cases; let's do that.
Flags: blocking1.9+
Attachment #304308 -
Flags: review?(pavlov)
Updated•17 years ago
|
Attachment #304308 -
Flags: review?(pavlov) → review+
Comment 1•17 years ago
|
||
How does code with OPREATOR_OVER compile?
Assignee | ||
Comment 2•17 years ago
|
||
(In reply to comment #1) > How does code with OPREATOR_OVER compile? I'm not sure what you mean?
Assignee | ||
Comment 3•17 years ago
|
||
oh, the typo; I edited the patch manually because I caught that check that was needed.. then fixed it when I went to compile. so yeah, fixed in my local tree ;)
Assignee | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 4•16 years ago
|
||
This optimization is not correct for RGB24 unless we are sure that we will never sample outside of the image area. When EXTEND_NONE (or the xserver doesn't support PAD?) and the source is transformed it's hard to be sure of that. I see symptoms of this when zoomed in on the mozilla.org page in fennec: There are grey/black borders that appear/disappear around the images.
Comment 5•16 years ago
|
||
Jeff, you reverted this patch and it fixed the fennec bug you saw, right?
Comment 6•16 years ago
|
||
Yes, it did.
Comment 7•14 years ago
|
||
Jeff, did you file a bug on that? I've hit that exact issue just now.
Comment 8•14 years ago
|
||
I don't recall filing one, but this quite a while ago.
Comment 9•14 years ago
|
||
However, there is bug 566283 which is a recent regression.
You need to log in
before you can comment on or make changes to this bug.
Description
•