[Glamor] [PATCH 1/3] Change the trapezoid render to use VBO.

Zhigang Gong zhigang.gong at linux.intel.com
Thu Jul 26 20:10:20 PDT 2012


> -----Original Message-----
> From: junyan.he at linux.intel.com [mailto:junyan.he at linux.intel.com]
> Sent: Friday, July 20, 2012 5:53 AM
> To: zhigang.gong at linux.intel.com
> Cc: glamor at lists.freedesktop.org; Junyan He
> Subject: [PATCH 1/3] Change the trapezoid render to use VBO.
> 
> From: Junyan He <junyan.he at linux.intel.com>
> 
>  Because some uniform variables need to be set for every  trapezoid
> rendering, we can not use vbo to render multi  trapezoids one time,
> which have performance big loss.
>  We now add attributes which contain the same value to bypass  the
> uniform variable problem. The uniform value for one  trapezoid will be
> set to the same value to all the vertex  of that trapezoid as an
attribute,
> then in FS, it is still  a constant.
> 
> Signed-off-by: Junyan He <junyan.he at linux.intel.com>
> ---
Applied. Thanks for the patch. 



More information about the Glamor mailing list