[Xorg-driver-geode] Glyph rendering

Huang, FrankR FrankR.Huang at amd.com
Thu Jul 15 02:16:31 PDT 2010


If that is so, it is easy to handle.
But actually from my debug, it is
Src:PICT_a8r8g8b8, Mask:0, Dest: PICT_a8.
Can we do that directly and drop R,G,B of source?

Thanks,
Frank

-----Original Message-----
From: xorg-driver-geode-bounces+frankr.huang=amd.com at lists.x.org [mailto:xorg-driver-geode-bounces+frankr.huang=amd.com at lists.x.org] On Behalf Of Jonathan Morton
Sent: 2010?7?14? 19:22
To: Mart Raudsepp
Cc: Huang, FrankR; xorg-driver-geode at lists.x.org; michel at daenzer.net
Subject: Re: [Xorg-driver-geode] Glyph rendering

On Wed, 2010-07-14 at 14:17 +0300, Mart Raudsepp wrote:
> Op:PictOpAdd, Src:PICT_a8 Mask:0 Dest:PICT_a8

Okay, this is really really easy to do - it's a saturating addition:

d = MIN(s + d, 255);

That should solve your immediate problem.

-- 
------
From: Jonathan Morton
      jonathan.morton at movial.com


_______________________________________________
Xorg-driver-geode mailing list
Xorg-driver-geode at lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-geode




More information about the Xorg-driver-geode mailing list