mesa,st/mesa: implement GL_RGB565 from ARB_ES2_compatibility
authorMarek Olšák <maraeo@gmail.com>
Thu, 12 Jul 2012 12:07:41 +0000 (14:07 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 12 Jul 2012 23:36:07 +0000 (01:36 +0200)
commit1a06e8454ec714e950bc88882cd985534a18bf1f
tree7e1e08477f19f38fd2fd6f6e2951cba4b100dcad
parentfe911c1d433c6fddc8f1e1226286b26d635d6ad4
mesa,st/mesa: implement GL_RGB565 from ARB_ES2_compatibility

This was not implemented, because the spec was changed just recently.

Everything has been in place already.

Gallium has PIPE_FORMAT_B5G6R5_UNORM, while Mesa has MESA_FORMAT_RGB565.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/fbobject.c
src/mesa/main/image.c
src/mesa/main/texformat.c
src/mesa/main/teximage.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_format.c