[xorg-bugzilla-noise] [Bug 990] New: Compiling with Composite causes incorrect colors on radeon driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 5 16:09:53 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=990        
   
           Summary: Compiling with Composite causes incorrect colors on
                    radeon driver
           Product: xorg
           Version: CVS_head
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Server/general
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: kem at freedesktop.org


It seems that when you compile the server with Composite, the color tables are
sometimes incorrectly initialized.  Go through several server generations and
you should easily see this problem.

I have tracked this down to the changes in dix/colormap.c.  When I compile with
-UCOMPOSITE on that file alone, the problems go away.  I suspect this has to do
with alphaMask (and offsetAlpha) not being initialized.  I see that there are
some cases where they are initialized in the composite/compinit.c but that code
only affects the alternate visuals.

Where should alphaMask/offsetAlpha initialized for the standard visuals?  And
what should they be initialized to?

I suspect this will cause problems on other drivers as well.        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list