Re: [Mesa-dev] [PATCH] dri: add missing 16bits formats mapping

2018-06-06 Thread Lionel Landwerlin
Thanks, pushed with your comment added. - Lionel On 06/06/18 23:17, Jason Ekstrand wrote: It might be good to add some additional commentary in the commit message such as: i965 advertises the 16-bit R and RG formats through eglQueryDmaBufFormatsEXT but falls over when a client tries to use o

Re: [Mesa-dev] [PATCH] dri: add missing 16bits formats mapping

2018-06-06 Thread Jason Ekstrand
It might be good to add some additional commentary in the commit message such as: i965 advertises the 16-bit R and RG formats through eglQueryDmaBufFormatsEXT but falls over when a client tries to use or asks more information about such a format because driImageFormatToGLFormat returns MESA_FORMAT

[Mesa-dev] [PATCH] dri: add missing 16bits formats mapping

2018-06-06 Thread Lionel Landwerlin
Found by Eero. v2: Add G16R16 formats (Lionel) v3: Fix G16R16 mapping to mesa format (Jason) Signed-off-by: Lionel Landwerlin Reviewed-by: Plamena Manolova (v2) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106642 --- src/mesa/drivers/dri/common/dri_util.c | 16 1 fi

Re: [Mesa-dev] [PATCH] dri: add missing 16bits formats mapping

2018-06-06 Thread Plamena Manolova
Reviewed-by: Plamena Manolova On Wed, 6 Jun 2018 at 13:53, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > Signed-off-by: Lionel Landwerlin > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106642 > --- > src/mesa/drivers/dri/common/dri_util.c | 8 > 1 file changed,

[Mesa-dev] [PATCH] dri: add missing 16bits formats mapping

2018-06-06 Thread Lionel Landwerlin
Signed-off-by: Lionel Landwerlin Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106642 --- src/mesa/drivers/dri/common/dri_util.c | 8 1 file changed, 8 insertions(+) diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index a591dfcd7d2.