[Mesa-dev] [PATCH] egl/x11: Handle both depth 30 formats for eglCreateImage(). (v2)

Emil Velikov emil.l.velikov at gmail.com
Wed Apr 11 13:58:15 UTC 2018


Hi Mario,

Just a small suggestion: be that for now or later - your call.

On 10 April 2018 at 08:43, Mario Kleiner <mario.kleiner.de at gmail.com> wrote:

> -dri3_format_for_depth(uint32_t depth)
> +dri3_format_for_depth(struct dri2_egl_display *dri2_dpy, uint32_t depth)
There is nothing DRI3 specific here. To avoid duplication - I'd move
it to platform_x11.c and reuse both places.

HTH
Emil


More information about the mesa-dev mailing list