Re: [PATCH xserver 0/3] glamor: Accelerate XY format images

2016-10-03 Thread Eric Anholt
Adam Jackson writes: > On Fri, 2016-09-30 at 22:43 -0700, Keith Packard wrote: > >>    1 2 Operation >>    -   - >>  10900.099900.0 ( 9.165)   PutImage XY 10x10 square 

Re: [PATCH xserver 0/3] glamor: Accelerate XY format images

2016-10-03 Thread Keith Packard
Adam Jackson writes: > On Fri, 2016-09-30 at 22:43 -0700, Keith Packard wrote: > >>    1 2 Operation >>    -   - >>  10900.099900.0 ( 9.165)   PutImage XY 10x10 square 

Re: [PATCH xserver 0/3] glamor: Accelerate XY format images

2016-10-03 Thread Adam Jackson
On Fri, 2016-09-30 at 22:43 -0700, Keith Packard wrote: >    1 2 Operation >    -   - >  10900.099900.0 ( 9.165)   PutImage XY 10x10 square  >   1740.0 2160.0 ( 1.241)   

[PATCH xserver 0/3] glamor: Accelerate XY format images

2016-09-30 Thread Keith Packard
I took Adam's code to speed up XY format bitmaps and generalized that for XY format pixmaps too; that speeds up small pixmaps by a bunch. Then I went and wrote some much faster XY bitmap code which expands the image with the GPU (just like core text). That turns out to be faster for large images,