summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-02-05 16:38:11 -0800
committerFredrik Höglund <[email protected]>2015-05-14 15:48:15 +0200
commit9f1db78a83feebefb9e1ef889b3b6b0532482c14 (patch)
tree2eb421837077f54099cb7d9ef292561a49e677ce /src/mapi/glapi/gen
parenta0329c7b40de3db22d22c74793a7c268e8904e53 (diff)
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 <[email protected]> Signed-off-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/ARB_direct_state_access.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/ARB_direct_state_access.xml b/src/mapi/glapi/gen/ARB_direct_state_access.xml
index 8bafe3f0bb0..3617e48a19c 100644
--- a/src/mapi/glapi/gen/ARB_direct_state_access.xml
+++ b/src/mapi/glapi/gen/ARB_direct_state_access.xml
@@ -166,6 +166,12 @@
<param name="renderbuffer" type="GLuint" />
</function>
+ <function name="NamedFramebufferParameteri" offset="assign">
+ <param name="framebuffer" type="GLuint" />
+ <param name="pname" type="GLenum" />
+ <param name="param" type="GLint" />
+ </function>
+
<function name="NamedFramebufferTexture" offset="assign">
<param name="framebuffer" type="GLuint" />
<param name="attachment" type="GLenum" />
@@ -246,6 +252,12 @@
<param name="target" type="GLenum" />
</function>
+ <function name="GetNamedFramebufferParameteriv" offset="assign">
+ <param name="framebuffer" type="GLuint" />
+ <param name="pname" type="GLenum" />
+ <param name="param" type="GLint *" />
+ </function>
+
<function name="GetNamedFramebufferAttachmentParameteriv" offset="assign">
<param name="framebuffer" type="GLuint" />
<param name="attachment" type="GLenum" />