[Glamor] [PATCH] Add the feature for radial gradient.

Chris Wilson chris at chris-wilson.co.uk
Thu Mar 22 04:45:35 PDT 2012


On Thu, 22 Mar 2012 08:39:22 +0800, junyan.he at linux.intel.com wrote:
> From: Junyan He <junyan.he at linux.intel.com>
> 
>  Add the feature for radial gradient. The transform
>  matrix and the 4 type of repeat mode are supported.
>  Less than 2/255 difference for every color component
>  comparing to pixman's result. Extract the common logic
>  of linear and radial's to another shader. The array
>  usage in shader seems slow, so use 8 uniform variables
>  to avoid using array when stops number is not very big.
>  This make code look verbose but the performance
>  improved a lot.

I don't have the correct base for this patch. Do you have a tree with
your patches?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Glamor mailing list