Closed Bug 83192 Opened 23 years ago Closed 23 years ago

XIE scaling of alpha images is borked

Categories

(Core :: Graphics: ImageLib, defect, P4)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 77914
mozilla0.9.2

People

(Reporter: timecop, Assigned: pavlov)

References

()

Details

(Whiteboard: dupme)

From Bugzilla Helper: User-Agent: Mozilla/4.77 [ja] (X11; U; Linux 2.4.4 i586; Nav) BuildID: 20000528 Builds that use XIE scaling (linux, gtk, xlib + patches) do not scale images with 1-bit alpha properly. The clipmask is not set correctly, resulting in the image appearing only when it is scrolled up to the top of the screen. Reproducible: Always Steps to Reproduce: 1. xdpyinfo | grep XIE 2. if you see "XIE", goto the url in desription. 3. If you don't see the image, scroll down the page until you see it. Actual Results: No image until scrolled up to the top. Also on my system, this process makes the CPU use 100% Expected Results: Should appear.
I'm seeing the same behavior (0.9 Linux). The CPU doesn't go up to 100% here, though.
confirming
Status: UNCONFIRMED → NEW
Ever confirmed: true
Same issue on Solaris 7/Xsun (MU4+108376-21)... CC:'ing syd as one of the original XIE authors... syd... do you see any issues in the code ?
More results: 1. XIE enabled: Issue as described, CPU load ~22% 2. XIE _disabled_ (% export MOZ_DISABLE_XIE=1; ./mozilla http://211.9.115.254/text.html): Issue as described, CPU load 100% Conclusions: Looks like there is a general problem with this page+Mozilla5 - which is independant from XIE scaling stuff (but the CPU load tells the story how efficient the use of XIE is... :-)
Ouch. disabling XIE and using gdkpixbuf to scale makes the image black (the original color is red). Drawing using scale.c routines does exactly same thing as XIE drawing. Bad clip mask calculation?
Target Milestone: --- → mozilla0.9.2
Priority: -- → P4
Sounds like a duplicate of the animated gif + transparency problem.
Whiteboard: dupme
Definately not a problem if XIE client or server code. XIE _works_ in Solaris... :-) Does anyone know the bugid that we can mark this bug as duplicate ?
Marking dup *** This bug has been marked as a duplicate of 77914 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.