main: Add stubs for [Get]NamedFramebufferParameteri[v].
authorLaura Ekstrand <laura@jlekstrand.net>
Fri, 6 Feb 2015 00:38:11 +0000 (16:38 -0800)
committerFredrik Höglund <fredrik@kde.org>
Thu, 14 May 2015 13:48:15 +0000 (15:48 +0200)
commit9f1db78a83feebefb9e1ef889b3b6b0532482c14
tree2eb421837077f54099cb7d9ef292561a49e677ce
parenta0329c7b40de3db22d22c74793a7c268e8904e53
main: Add stubs for [Get]NamedFramebufferParameteri[v].

The ARB_direct_state_access specification says (as of 2015.02.05):
   "Interactions with OpenGL 4.3 or ARB_framebuffer_no_attachments

       If neither OpenGL 4.3 nor ARB_framebuffer_no_attachments are supported,
       ignore the support for NamedFramebufferParameteri and
       GetNamedFramebufferParameteriv."

This commit adds stubs for these entry points.

Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Signed-off-by: Fredrik Höglund <fredrik@kde.org>
src/mapi/glapi/gen/ARB_direct_state_access.xml
src/mesa/main/fbobject.c
src/mesa/main/fbobject.h
src/mesa/main/tests/dispatch_sanity.cpp