Commit 3d6900d7 authored by Marek Olšák's avatar Marek Olšák

glapi: define AMD_framebuffer_multisample_advanced and add its functions

Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
parent 2d115056
......@@ -13035,6 +13035,33 @@
<!-- Unnumbered extensions sorted by name. -->
<category name="GL_AMD_framebuffer_multisample_advanced">
<enum name="RENDERBUFFER_STORAGE_SAMPLES_AMD" value="0x91B2"/>
<enum name="MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD" value="0x91B3"/>
<enum name="MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD" value="0x91B4"/>
<enum name="MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD" value="0x91B5"/>
<enum name="NUM_SUPPORTED_MULTISAMPLE_MODES_AMD" value="0x91B6"/>
<enum name="SUPPORTED_MULTISAMPLE_MODES_AMD" value="0x91B7"/>
<function name="RenderbufferStorageMultisampleAdvancedAMD" es2="2.0">
<param name="target" type="GLenum"/>
<param name="samples" type="GLsizei"/>
<param name="storageSamples" type="GLsizei"/>
<param name="internalformat" type="GLenum"/>
<param name="width" type="GLsizei"/>
<param name="height" type="GLsizei"/>
</function>
<function name="NamedRenderbufferStorageMultisampleAdvancedAMD" es2="2.0">
<param name="renderbuffer" type="GLuint" />
<param name="samples" type="GLsizei" />
<param name="storageSamples" type="GLsizei"/>
<param name="internalformat" type="GLenum" />
<param name="width" type="GLsizei" />
<param name="height" type="GLsizei" />
</function>
</category>
<category name="GL_ATI_blend_equation_separate">
<function name="BlendEquationSeparateATI" alias="BlendEquationSeparate">
<param name="modeRGB" type="GLenum"/>
......
......@@ -2492,6 +2492,17 @@ _mesa_RenderbufferStorageMultisample(GLenum target, GLsizei samples,
}
void GLAPIENTRY
_mesa_RenderbufferStorageMultisampleAdvancedAMD(
GLenum target, GLsizei samples, GLsizei storageSamples,
GLenum internalFormat, GLsizei width, GLsizei height)
{
renderbuffer_storage_target(target, internalFormat, width, height,
samples, storageSamples,
"glRenderbufferStorageMultisampleAdvancedAMD");
}
/**
* OpenGL ES version of glRenderBufferStorage.
*/
......@@ -2536,6 +2547,17 @@ _mesa_NamedRenderbufferStorageMultisample(GLuint renderbuffer, GLsizei samples,
}
void GLAPIENTRY
_mesa_NamedRenderbufferStorageMultisampleAdvancedAMD(
GLuint renderbuffer, GLsizei samples, GLsizei storageSamples,
GLenum internalformat, GLsizei width, GLsizei height)
{
renderbuffer_storage_named(renderbuffer, internalformat, width, height,
samples, storageSamples,
"glNamedRenderbufferStorageMultisampleAdvancedAMD");
}
static void
get_render_buffer_parameteriv(struct gl_context *ctx,
struct gl_renderbuffer *rb, GLenum pname,
......
......@@ -173,6 +173,11 @@ _mesa_RenderbufferStorageMultisample(GLenum target, GLsizei samples,
GLenum internalformat,
GLsizei width, GLsizei height);
extern void GLAPIENTRY
_mesa_RenderbufferStorageMultisampleAdvancedAMD(
GLenum target, GLsizei samples, GLsizei storageSamples,
GLenum internalFormat, GLsizei width, GLsizei height);
extern void GLAPIENTRY
_es_RenderbufferStorageEXT(GLenum target, GLenum internalFormat,
GLsizei width, GLsizei height);
......@@ -186,6 +191,11 @@ _mesa_NamedRenderbufferStorageMultisample(GLuint renderbuffer, GLsizei samples,
GLenum internalformat,
GLsizei width, GLsizei height);
extern void GLAPIENTRY
_mesa_NamedRenderbufferStorageMultisampleAdvancedAMD(
GLuint renderbuffer, GLsizei samples, GLsizei storageSamples,
GLenum internalformat, GLsizei width, GLsizei height);
extern void GLAPIENTRY
_mesa_EGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment