mesa: add missing queries for ARB_direct_state_access
authorDaniel Scharrer <daniel@constexpr.org>
Fri, 28 Aug 2015 09:45:35 +0000 (11:45 +0200)
committerFredrik Höglund <fredrik@kde.org>
Fri, 28 Aug 2015 16:08:26 +0000 (18:08 +0200)
commit5aaaaebf22c920745d577c49e463d23b90ba5ea8
treeb1ef92b0d6a4da3a21e7f32d432c967dc7938e0d
parent2dbc6a0ad9f5432e5a9a1e66b1c27c574f0def80
mesa: add missing queries for ARB_direct_state_access

This adds index queries (glGet*i_v) for GL_TEXTURE_BINDING_* and
GL_SAMPLER_BINDING, as well as textue queries
(glGetTex{,ture}Parameter*) for GL_TEXTURE_TARGET.

CC: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Signed-off-by: Fredrik Höglund <fredrik@kde.org>
src/mesa/main/get.c
src/mesa/main/texparam.c