Hi Patrick, > Perhaps 16-bit color isn't supported? Maybe try other color bits or set > R/G/B individually and see what happens. Also, there is an eglinfo tool > source code in Mesa that can probably tell you a whole lot more. >
I see that es and es2 renderables are not supported due to which eglChooseConfig returns 0 configs. Is it the default build of mesa with xlib s/w renderer or do I need to add any thing else to make it support gles1 and gles2? I did pass --enable-gles1 and --enable-gles2 with --with-driver=xlib to configure though. here is the output from eglinfo: Configurations: bf lv colorbuffer dp st ms vis cav bi renderable supported id sz l r g b a th cl ns b id eat nd gl es es2 vg surfaces --------------------------------------------------------------------- 0x01 24 0 8 8 8 0 16 8 0 0 0x21TC y win 0x02 24 0 8 8 8 0 16 8 0 0 0x22DC y win 0x03 24 0 8 8 8 0 16 8 0 0 0xa3TC y win 0x04 24 0 8 8 8 0 16 8 0 0 0xa4TC y win 0x05 24 0 8 8 8 0 16 8 0 0 0xa5TC y win 0x06 24 0 8 8 8 0 16 8 0 0 0xa6TC y win 0x07 24 0 8 8 8 0 16 8 0 0 0xa7TC y win 0x08 24 0 8 8 8 0 16 8 0 0 0xa8TC y win 0x09 24 0 8 8 8 0 16 8 0 0 0xa9TC y win 0x0a 24 0 8 8 8 0 16 8 0 0 0xaaTC y win 0x0b 24 0 8 8 8 0 16 8 0 0 0xabTC y win 0x0c 24 0 8 8 8 0 16 8 0 0 0xacTC y win 0x0d 24 0 8 8 8 0 16 8 0 0 0xadTC y win 0x0e 24 0 8 8 8 0 16 8 0 0 0xaeTC y win 0x0f 24 0 8 8 8 0 16 8 0 0 0xafTC y win 0x10 24 0 8 8 8 0 16 8 0 0 0xb0TC y win 0x11 24 0 8 8 8 0 16 8 0 0 0xb1DC y win 0x12 24 0 8 8 8 0 16 8 0 0 0xb2DC y win 0x13 24 0 8 8 8 0 16 8 0 0 0xb3DC y win 0x14 24 0 8 8 8 0 16 8 0 0 0xb4DC y win 0x15 24 0 8 8 8 0 16 8 0 0 0xb5DC y win 0x16 24 0 8 8 8 0 16 8 0 0 0xb6DC y win 0x17 24 0 8 8 8 0 16 8 0 0 0xb7DC y win 0x18 24 0 8 8 8 0 16 8 0 0 0xb8DC y win 0x19 24 0 8 8 8 0 16 8 0 0 0xb9DC y win 0x1a 24 0 8 8 8 0 16 8 0 0 0xbaDC y win 0x1b 24 0 8 8 8 0 16 8 0 0 0xbbDC y win 0x1c 24 0 8 8 8 0 16 8 0 0 0xbcDC y win 0x1d 24 0 8 8 8 0 16 8 0 0 0xbdDC y win 0x1e 24 0 8 8 8 0 16 8 0 0 0xbeDC y win 0x1f 24 0 8 8 8 0 16 8 0 0 0xbfDC y win 0x20 24 0 8 8 8 0 16 8 0 0 0x72TC y win Thanks & Regards, Divick _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev