[Mesa-dev] [PATCH v2] i965: extend fast texture upload
Chad Versace
chad.versace at linux.intel.com
Thu Oct 10 18:20:36 PDT 2013
On 10/07/2013 06:17 PM, Frank Henigman wrote:
> Extend the fast texture upload from BGRA X-tiled to include RGBA,
> Alpha/Luminance, and Y-tiled. Speed improvements, measured with
> mesa demos teximage program, on 256 x 256 texture, in MB/s, on a
> Sandy Bridge (Ivy is comparable):
>
> before after increase
> BGRA/X-tiled 3266 4524 1.39x
> BGRA/Y-tiled 1739 3971 2.28x
> RGBA/X-tiled 474 4694 9.90x
> RGBA/Y-tiled 477 3368 7.06x
> L/X-tiled 1268 1516 1.20x
> L/Y-tiled 1439 1581 1.10x
>
> v2: Cosmetic changes only: reformat and reword comments, make doxygen-friendly,
> rename variables, use existing macros, add an assert.
>
> Signed-off-by: Frank Henigman <fjhenigman at google.com>
> ---
> src/mesa/drivers/dri/i965/intel_tex_subimage.c | 471 +++++++++++++++++++++----
> 1 file changed, 402 insertions(+), 69 deletions(-)
Thanks a bunch for the perf improvements. The v2 changes look good.
Its now committed to master.
More information about the mesa-dev
mailing list