<div dir="ltr"><div><div><div>Juha-Pekka,<br></div>The patch I just sent to the list here:<br><br><a href="http://lists.freedesktop.org/archives/mesa-dev/2014-July/063501.html">http://lists.freedesktop.org/archives/mesa-dev/2014-July/063501.html</a><br>
<br></div>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.<br>
</div><div>--Jason Ekstrand<br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 25, 2014 at 5:38 AM, Juha-Pekka Heikkila <span dir="ltr"><<a href="mailto:juhapekka.heikkila@gmail.com" target="_blank">juhapekka.heikkila@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is my old set which enable using Pixman on Mesa for some texture<br>
conversion fast paths. As is this passes Piglit quick set on my IVB.<br>
<br>
For general case this does not offer essentially better fps or such but<br>
these were recently tested on Chromebook with HSW inside where it showed<br>
promising drop on Watt drain. With/without Pixman Mesa was compiled<br>
with march=corei7<br>
<br>
Number here indicate % change in Watts, for comparison was used averages<br>
of multiple runs. While Watt drain reduced performance remained +/- on<br>
the same level.<br>
<br>
Javascript - Octane v2 0.457%<br>
Page Rendering - Page Loading -0.280%<br>
HTML5 Games - JSGameBench -2.275%<br>
HTML5 Games - AngryBirds -4.483%<br>
Canvas 2D - CanvasEarth -4.003%<br>
Canvas2D - FishTank 250 fish -3.176%<br>
WebGL - EarthScreen -2.959%<br>
Browser Performance - RoboHornet -5.833%<br>
WebGL - Aquarium 50 fish -4.448%<br>
WebGL - Aquarium 100 fish -4.094%<br>
<br>
/Juha-Pekka<br>
<br>
Juha-Pekka Heikkila (6):<br>
mesa: Add Pixman library to <a href="http://configure.ac" target="_blank">configure.ac</a><br>
mesa: Add Pixman usage to texstore.c<br>
mesa: Pixman texture conversion rgb to abgr<br>
mesa: Pixman texture conversion argb to abgr<br>
mesa: Pixman texture conversion argb to rgb<br>
mesa: Pixman texture conversion rgb to rgb565 and rgb565_rev<br>
<br>
<a href="http://configure.ac" target="_blank">configure.ac</a> | 32 +++++++++++++++<br>
src/mesa/main/texstore.c | 105 +++++++++++++++++++++++++++++++++++++++++++++--<br>
2 files changed, 134 insertions(+), 3 deletions(-)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.8.1.2<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>