Re: [Mesa-dev] [xorg 1/3] dri2: Allow GetBuffers to match any format

2015-06-16 Thread Martin Peres
On 20/01/15 22:49, Ian Romanick wrote: On 01/19/2015 03:00 AM, Chris Wilson wrote: Since the introduction of DRI2GetBuffersWithFormat, the old DRI2GetBuffers interface would always recreate all buffers all the time as it was no longer agnostic to the format value being set by the DDXes. This cau

Re: [Mesa-dev] [xorg 1/3] dri2: Allow GetBuffers to match any format

2015-01-20 Thread Ian Romanick
On 01/19/2015 03:00 AM, Chris Wilson wrote: > Since the introduction of DRI2GetBuffersWithFormat, the old > DRI2GetBuffers interface would always recreate all buffers all the time > as it was no longer agnostic to the format value being set by the DDXes. > This causes an issue with clients intermix

[Mesa-dev] [xorg 1/3] dri2: Allow GetBuffers to match any format

2015-01-19 Thread Chris Wilson
Since the introduction of DRI2GetBuffersWithFormat, the old DRI2GetBuffers interface would always recreate all buffers all the time as it was no longer agnostic to the format value being set by the DDXes. This causes an issue with clients intermixing the two requests, rendering any sharing or cachi