Re: [PATCH] [RFC] glamor: implement write-only prepares

2016-03-10 Thread Eric Anholt
Dave Airlie writes: > From: Dave Airlie > > For some putimages we know we won't ever care about the data we readback, > we are going to trash it with the putimage contents. So implement > GLAMOR_ACCESS_WO mode. > > This will avoid doing the readbacks. Use

Re: [PATCH] [RFC] glamor: implement write-only prepares

2016-03-09 Thread Michel Dänzer
On 10.03.2016 10:51, Dave Airlie wrote: > From: Dave Airlie > > For some putimages we know we won't ever care about the data we readback, > we are going to trash it with the putimage contents. So implement > GLAMOR_ACCESS_WO mode. > > This will avoid doing the readbacks. Use

[PATCH] [RFC] glamor: implement write-only prepares

2016-03-09 Thread Dave Airlie
From: Dave Airlie For some putimages we know we won't ever care about the data we readback, we are going to trash it with the putimage contents. So implement GLAMOR_ACCESS_WO mode. This will avoid doing the readbacks. Use it for putimages that are copy with a solid