Closed Bug 59386 Opened 24 years ago Closed 24 years ago

When overlapping PNG images with pure transparancy there is a faint residue that is displayed

Categories

(Core Graveyard :: GFX, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dcone, Assigned: tor)

References

()

Details

Attachments

(2 files)

This bug an offshoot of bug number 51179, and has a patch posted in that bug.  I 
am making a new bug because the platforms seem to need different solutions to 
solve this
Taking responsibility to check in the fix to my code (already has r=bryner
and sr=blizzard recorded in bug 51179).
Assignee: dcone → tor
I going to suggest a more aggressive patch. It dereferences pointers only once
which seems to give egcs a better chance of optimizing without interfering with gcc 2.95.2.
Ok, cleaning up this code somewhat with a macro while fixing the problem
seems worthwhile.  My patch fixes the other two compositing areas, uses
the proper spelling of alpha, and removes the two local variables that
are only used once.
r=bryner on this patch as well
sr=blizzard
Fix checked into the trunk.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
For the record, I know how to spell alpha. I was trying to avoid name collisions. :-)

Also, gcc is clever and knows how to optimize division by 255 so it's not
necessary to do anything clever.
Marking verified in the Feb 26th build.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: