From: Nicolas Dufresne <nicolas.dufre...@collabora.com> Sorry for the long delay breaking down this patch. I have now rebased on top recent mesa tree. First patch creates a new function to convert DRI2 format into PIPE format (to avoid more copy paste). The second fixes the wrong pitch to stride calculation fixing RGB565 support. Note that, in that part of the code, pitch is considered to be in pixels while stride is in bytes.
Nicolas Dufresne (2): gallium/dri2: Factor out DRI2 to PIPE_FORMAT conversion gallium/dri2: Fix RGB565 EGLImage creation src/gallium/state_trackers/dri/dri2.c | 105 +++++++++++++++++----------------- 1 file changed, 51 insertions(+), 54 deletions(-) -- 2.5.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev