mesa: Expose GL_ARB_framebuffer_no_attachments to GLES 3.1
V2: Conform to new standard for exposing enums for OpenGL ES 3.1. Signed-off-by: Marta Lofstedt <marta.lofstedt@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
committed by
Tapani Pälli
parent
e16531fbe3
commit
d770e2746c
@@ -15,13 +15,13 @@
|
||||
<enum name="MAX_FRAMEBUFFER_LAYERS" value="0x9317" />
|
||||
<enum name="MAX_FRAMEBUFFER_SAMPLES" value="0x9318" />
|
||||
|
||||
<function name="FramebufferParameteri">
|
||||
<function name="FramebufferParameteri" es2="3.1">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="param" type="GLint" />
|
||||
</function>
|
||||
|
||||
<function name="GetFramebufferParameteriv">
|
||||
<function name="GetFramebufferParameteriv" es2="3.1">
|
||||
<param name="target" type="GLenum" />
|
||||
<param name="pname" type="GLenum" />
|
||||
<param name="params" type="GLint *" output="true" />
|
||||
|
||||
@@ -151,8 +151,8 @@ functions = {
|
||||
|
||||
# OpenGL 4.3 / GL_ARB_framebuffer_no_attachments. Mesa can expose the
|
||||
# extension with OpenGL 3.0.
|
||||
"FramebufferParameteri": exec_info(compatibility=30, core=31),
|
||||
"GetFramebufferParameteri": exec_info(compatibility=30, core=31),
|
||||
"FramebufferParameteri": exec_info(compatibility=30, core=31, es2=31),
|
||||
"GetFramebufferParameteri": exec_info(compatibility=30, core=31, es2=31),
|
||||
|
||||
# OpenGL 4.5 / GL_ARB_direct_state_access. Mesa can expose the extension
|
||||
# with core profile.
|
||||
|
||||
Reference in New Issue
Block a user