Re: [Mesa-dev] [PATCH] gallium/dri2: Fix RGB565 EGLImage creation

2016-01-08 Thread Nicolas Dufresne
Le vendredi 08 janvier 2016 à 18:55 +0900, Michel Dänzer a écrit : > The addition of this function and refactoring of existing code to use > it > should be split out into a separate patch. > > Other than that, looks good to me. Great, will do. Nicolas signature.asc Description: This is a digita

Re: [Mesa-dev] [PATCH] gallium/dri2: Fix RGB565 EGLImage creation

2016-01-08 Thread Michel Dänzer
On 08.01.2016 01:53, Nicolas Dufresne wrote: > When creating egl images we do a bytes to pixel conversion by deviding > by 4 regardless of the pixel format. This does not work for RGB565. In > this patch, we avoid useless conversion and use proper API when the > conversion cannot be avoided. > > S