On Sun, Jul 30, 2017 at 10:48 AM, Chih-Wei Huang <cwhu...@android-x86.org> wrote: > Hi Rob, > Sorry to bother you again. > This patch also breaks the srwast/llvmpipe on Android > since the red and blue are just swapped.
My guess is because in this case you use the framebuffer (/dev/fb0) and the format is fixed. The same problem exists with KMS and dumb buffers as there is no way to either communicate what is the format or set the format. It should be a simple switch in the kernel to change the format, but I'm not sure what the proper fix is as there's resistance to any extending of dumb buffers. I've been trying to get llvmpipe to work in my build. I think I'm close using kms_swrast, but the only thing I can get on screen is the color I memset allocated buffers too. > I guess nouveau has the same issue but > I'm waiting Mauro's confirmation. I'd guess it doesn't. However, it could just not support those formats. I had to add them on freedreno for example. Rob _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev