Re: [Mesa-dev] [RFC] Change dri state tracker GetBuffersWithFormat format encoding

2011-12-06 Thread Michel Dänzer
On Mon, 2011-12-05 at 14:38 -0800, Eric Anholt wrote: > On Mon, 05 Dec 2011 15:21:57 +0100, Thomas Hellstrom > wrote: > > > > Currently the DRI state tracker sends the bits per pixel (bpp) value in > > the format member of a > > getbufferswithformat request, and assumes it can reinterpret the f

Re: [Mesa-dev] [RFC] Change dri state tracker GetBuffersWithFormat format encoding

2011-12-06 Thread Thomas Hellstrom
On 12/05/2011 11:38 PM, Eric Anholt wrote: On Mon, 05 Dec 2011 15:21:57 +0100, Thomas Hellstrom wrote: Hi! Currently the DRI state tracker sends the bits per pixel (bpp) value in the format member of a getbufferswithformat request, and assumes it can reinterpret the format of the returned

Re: [Mesa-dev] [RFC] Change dri state tracker GetBuffersWithFormat format encoding

2011-12-05 Thread Eric Anholt
On Mon, 05 Dec 2011 15:21:57 +0100, Thomas Hellstrom wrote: > Hi! > > Currently the DRI state tracker sends the bits per pixel (bpp) value in > the format member of a > getbufferswithformat request, and assumes it can reinterpret the format > of the returned buffer to something else > with an

Re: [Mesa-dev] [RFC] Change dri state tracker GetBuffersWithFormat format encoding

2011-12-05 Thread Michel Dänzer
On Mon, 2011-12-05 at 15:21 +0100, Thomas Hellstrom wrote: > > Currently the DRI state tracker sends the bits per pixel (bpp) value in > the format member of a > getbufferswithformat request, and assumes it can reinterpret the format > of the returned buffer to something else > with an identica

[Mesa-dev] [RFC] Change dri state tracker GetBuffersWithFormat format encoding

2011-12-05 Thread Thomas Hellstrom
Hi! Currently the DRI state tracker sends the bits per pixel (bpp) value in the format member of a getbufferswithformat request, and assumes it can reinterpret the format of the returned buffer to something else with an identical bpp. That doesn't really work for vmwgfx. We can't reinterpret