[Mesa-dev] [PATCH] egl, wayland: RGB565 format support on Back-buffer

2015-02-10 Thread Dongwon Kim
From: Vivek Kasireddy In current code, color format is always hardcoded to __DRI_IMAGE_FORMAT_ARGB when buffer or DRI image is allocated in function calls, get_back_bo and dri2_get_buffers, regardless of current target's color format. This problem may leads to incorrect render pitch calculati

[Mesa-dev] [PATCH] egl, wayland: RGB565 format support on Back-buffer

2015-02-03 Thread Dongwon Kim
In current code, color format is always hardcoded to __DRI_IMAGE_FORMAT_ARGB when buffer or DRI image is allocated in function calls, get_back_bo and dri2_get_buffers, regardless of current target's color format. This problem may leads to incorrect render pitch calculation, which eventually e