st/mesa: add support for internalformat query2.
authorDave Airlie <airlied@redhat.com>
Fri, 4 Mar 2016 02:33:46 +0000 (12:33 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 21 Mar 2016 23:49:08 +0000 (09:49 +1000)
commitee7c8b98047f808baadb0704b1cc7eb02b510b98
tree677bc603692e3ce4db712dcf346da6463fe90341
parent4ba47f7b2adf71ed100cd390a1a9fbd4434e896a
st/mesa: add support for internalformat query2.

Add code to handle GL_INTERNALFORMAT_PREFERRED.
Add code to deal with GL_RENDERBUFFER being passes into ChooseTextureFormat.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
docs/GL3.txt
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_format.c