[PATCH xf86-video-ati resend 1/2] EXA/6xx/7xx: fast solid pixmap support

2016-05-27 Thread Tan Hu
Solid pixmaps are currently implemented with scratch pixmaps, which is slow. This replaces the hack with a proper implementation. The Composite shader can now either sample a src/mask or use a constant value. r6xx still be used on some machine, Ported from commit 94d0d14914a025525a079b556eaa66

Re: [PATCH xf86-video-ati resend 1/2] EXA/6xx/7xx: fast solid pixmap support

2016-05-31 Thread Michel Dänzer
On 27.05.2016 18:05, Tan Hu wrote: > Solid pixmaps are currently implemented with scratch pixmaps, which > is slow. This replaces the hack with a proper implementation. The > Composite shader can now either sample a src/mask or use a constant > value. > > r6xx still be used on some machine, > Port

Re: [PATCH xf86-video-ati resend 1/2] EXA/6xx/7xx: fast solid pixmap support

2016-05-31 Thread Grigori Goronzy
On 2016-05-27 11:05, Tan Hu wrote: Solid pixmaps are currently implemented with scratch pixmaps, which is slow. This replaces the hack with a proper implementation. The Composite shader can now either sample a src/mask or use a constant value. r6xx still be used on some machine, Ported from comm

Re: [PATCH xf86-video-ati resend 1/2] EXA/6xx/7xx: fast solid pixmap support

2016-05-31 Thread Grigori Goronzy
On 2016-05-27 11:05, Tan Hu wrote: Solid pixmaps are currently implemented with scratch pixmaps, which is slow. This replaces the hack with a proper implementation. The Composite shader can now either sample a src/mask or use a constant value. r6xx still be used on some machine, Ported from comm

Re: [PATCH xf86-video-ati resend 1/2] EXA/6xx/7xx: fast solid pixmap support

2016-06-01 Thread Michel Dänzer
On 01.06.2016 18:02, tan...@zte.com.cn wrote: > Michel Dänzer wrote on 2016-05-31 17:01:59: > >>> + R600SetSolidConsts(pScrn, &ps_alu_consts[0], pSrcPicture->format, >>> + pSrcPicture->pSourcePict->solidFill.color, 0); >> [...] >>> + R600SetSolidConsts(pScrn, &ps_alu_consts[4], pMaskPict

答复: Re: [PATCH xf86-video-ati resend 1/2] EXA/6xx/7xx: fast solid pixmap support

2016-06-01 Thread tan . hu
Michel Dänzer wrote on 2016-05-31 17:01:59: > > + R600SetSolidConsts(pScrn, &ps_alu_consts[0], pSrcPicture->format, > > + pSrcPicture->pSourcePict->solidFill.color, 0); > [...] > > + R600SetSolidConsts(pScrn, &ps_alu_consts[4], pMaskPicture->format, > > + pMaskPicture->pSourcePict->