Re: [Mesa-dev] [PATCH] Gallium/dri2: Fix dri2_dup_image

2014-02-05 Thread Kristian Høgsberg
On Fri, Jan 31, 2014 at 09:13:57AM +0100, Axel Davy wrote: > On 31/01/2014, Michel Dänzer wrote : > >On Don, 2014-01-30 at 16:10 +0100, Axel Davy wrote: > >>dri2_dup_image was not copying the dri_format field. > >> > >>This was causing some bugs, for example: > >>. we create an gbm_bo. > >>. we get

Re: [Mesa-dev] [PATCH] Gallium/dri2: Fix dri2_dup_image

2014-01-31 Thread Axel Davy
On 31/01/2014, Michel Dänzer wrote : On Don, 2014-01-30 at 16:10 +0100, Axel Davy wrote: dri2_dup_image was not copying the dri_format field. This was causing some bugs, for example: . we create an gbm_bo. . we get an EGLImage from the gbm_bo. . Bug: impossible to get again the gbm_bo from the

Re: [Mesa-dev] [PATCH] Gallium/dri2: Fix dri2_dup_image

2014-01-30 Thread Michel Dänzer
On Don, 2014-01-30 at 16:10 +0100, Axel Davy wrote: > dri2_dup_image was not copying the dri_format field. > > This was causing some bugs, for example: > . we create an gbm_bo. > . we get an EGLImage from the gbm_bo. > . Bug: impossible to get again the gbm_bo from the EGLImage by importing. > (g

[Mesa-dev] [PATCH] Gallium/dri2: Fix dri2_dup_image

2014-01-30 Thread Axel Davy
dri2_dup_image was not copying the dri_format field. This was causing some bugs, for example: . we create an gbm_bo. . we get an EGLImage from the gbm_bo. . Bug: impossible to get again the gbm_bo from the EGLImage by importing. (gbm dri2 backend) Signed-off-by: Axel Davy --- src/gallium/state