Re: Question about pixman,x11perf and xserver

2011-12-06 Thread Adam Jackson

On 12/5/11 6:39 AM, 杨帅 wrote:


1.I recompile the pixman with enable-neon,but when I use the x11perf for
testing ,I can‘t see the significant difference between the pixman with
neon and pixman without neon.That's why?


Presumably because you're not hitting a neon-accelerated path.  You've 
not said which x11perf tests you are measuring with.  Be aware that many 
of them are not at all relevant for real world performance.



2.xserver use which drawing library to resizing the window,scroll the
text window ,and so on?

3.which library excepts pixman could I optimize using neon to improve
the performance of xserver?


The X server has an internal library called 'fb' for this.  fb is a 
layer around pixman that implements X core rendering, either by calling 
down to pixman or directly.


- ajax
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Question about pixman,x11perf and xserver

2011-12-05 Thread 杨帅
hi,all


I'am using ubuntu running on our chip of cortex-a9 with neon.And there is no 
2D/3D hardware in our chip.There are several questions during my trying to 
improve the user experience.


1.I recompile the pixman with enable-neon,but when I use the x11perf for 
testing ,I can‘t see the significant difference between the pixman with neon 
and pixman without neon.That's why?


2.xserver use which drawing library to resizing the window,scroll the text 
window ,and so on?


3.which library  excepts pixman could I optimize using neon to improve the 
performance of xserver?




Best Regards,
David

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: Question about pixman,x11perf and xserver

2011-12-05 Thread Peter Harris
On 2011-12-05 06:39, 杨帅 wrote:
 
 1.I recompile the pixman with enable-neon,but when I use the x11perf for
 testing ,I can‘t see the significant difference between the pixman with
 neon and pixman without neon.That's why?

x11perf is an older test suite, and mostly only tests core graphics.
Only x11perf -compwinwin and -comppixwin will make heavy use of pixman
(along with the new-style text tests, a*text, aa*text and rgb*text to
some extent).

The good news is, most modern applications draw using those requests.

 2.xserver use which drawing library to resizing the window,scroll the
 text window ,and so on?

Depends on the application. Either pixman, or the fb directory of the
server.

 3.which library  excepts pixman could I optimize using neon to improve
 the performance of xserver?

xserver/fb

But first, make sure you're working on something that matters to your
application. In particular, cairo-perf-trace is probably more relevant
these days than x11perf. See
http://cgit.freedesktop.org/cairo-traces/tree/README

Peter Harris
-- 
   Open Text Connectivity Solutions Group
Peter Harrishttp://connectivity.opentext.com/
Research and DevelopmentPhone: +1 905 762 6001
phar...@opentext.comToll Free: 1 877 359 4866
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re:Re: Question about pixman,x11perf and xserver

2011-12-05 Thread 杨帅
hi,Peter

Thanks for your reply~

Now I got the direction!

I will try to optimize the xserver/fb and use the cairo-perf-trace for testing


Best Regards,
David





在 2011-12-05 23:47:57,Peter Harris phar...@opentext.com 写道:
On 2011-12-05 06:39, 杨帅 wrote:
 
 1.I recompile the pixman with enable-neon,but when I use the x11perf for
 testing ,I can‘t see the significant difference between the pixman with
 neon and pixman without neon.That's why?

x11perf is an older test suite, and mostly only tests core graphics.
Only x11perf -compwinwin and -comppixwin will make heavy use of pixman
(along with the new-style text tests, a*text, aa*text and rgb*text to
some extent).

The good news is, most modern applications draw using those requests.

 2.xserver use which drawing library to resizing the window,scroll the
 text window ,and so on?

Depends on the application. Either pixman, or the fb directory of the
server.

 3.which library  excepts pixman could I optimize using neon to improve
 the performance of xserver?

xserver/fb

But first, make sure you're working on something that matters to your
application. In particular, cairo-perf-trace is probably more relevant
these days than x11perf. See
http://cgit.freedesktop.org/cairo-traces/tree/README

Peter Harris
-- 
   Open Text Connectivity Solutions Group
Peter Harrishttp://connectivity.opentext.com/
Research and DevelopmentPhone: +1 905 762 6001
phar...@opentext.comToll Free: 1 877 359 4866
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: yangshuai...@126.com
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com