[Mesa-dev] [PATCH 0/6] Enable Pixman for Mesa

Jason Ekstrand jason at jlekstrand.net
Thu Jul 17 15:32:06 PDT 2014


Juha-Pekka,
The patch I just sent to the list here:

http://lists.freedesktop.org/archives/mesa-dev/2014-July/063501.html

Should also help with chrome performance.  We have had a fast-path inside
the intel driver for some time to do BGRA/RGBA -> BGRA conversions.  For
some reason, chrome seems to have switched to using RGBA textures (they
used to use BGRA).  The above patch enables the fastpath for converting to
RGBA as well as BGRA.  Because this fastpath is in the driver itself and
handles tiling directly, it's much faster than anything that goes through
the paths in main/texstore.c. It would be interesting to note what that
does to power consumption.
--Jason Ekstrand



On Wed, Jun 25, 2014 at 5:38 AM, Juha-Pekka Heikkila <
juhapekka.heikkila at gmail.com> wrote:

> This is my old set which enable using Pixman on Mesa for some texture
> conversion fast paths. As is this passes Piglit quick set on my IVB.
>
> For general case this does not offer essentially better fps or such but
> these were recently tested on Chromebook with HSW inside where it showed
> promising drop on Watt drain. With/without Pixman Mesa was compiled
> with march=corei7
>
> Number here indicate % change in Watts, for comparison was used averages
> of multiple runs. While Watt drain reduced performance remained +/- on
> the same level.
>
> Javascript - Octane v2            0.457%
> Page Rendering - Page Loading    -0.280%
> HTML5 Games - JSGameBench        -2.275%
> HTML5 Games - AngryBirds         -4.483%
> Canvas 2D - CanvasEarth          -4.003%
> Canvas2D - FishTank 250 fish     -3.176%
> WebGL - EarthScreen              -2.959%
> Browser Performance - RoboHornet -5.833%
> WebGL - Aquarium 50 fish         -4.448%
> WebGL - Aquarium 100 fish        -4.094%
>
> /Juha-Pekka
>
> Juha-Pekka Heikkila (6):
>   mesa: Add Pixman library to configure.ac
>   mesa: Add Pixman usage to texstore.c
>   mesa: Pixman texture conversion rgb to abgr
>   mesa: Pixman texture conversion argb to abgr
>   mesa: Pixman texture conversion argb to rgb
>   mesa: Pixman texture conversion rgb to rgb565 and rgb565_rev
>
>  configure.ac             |  32 +++++++++++++++
>  src/mesa/main/texstore.c | 105
> +++++++++++++++++++++++++++++++++++++++++++++--
>  2 files changed, 134 insertions(+), 3 deletions(-)
>
> --
> 1.8.1.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140717/3cfc0cb2/attachment.html>


More information about the mesa-dev mailing list