mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
glapi: add GL_EXT_window_rectangles entrypoints
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
b214e0d2fb
commit
78506ad246
6 changed files with 48 additions and 0 deletions
29
src/mapi/glapi/gen/EXT_window_rectangles.xml
Normal file
29
src/mapi/glapi/gen/EXT_window_rectangles.xml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
|
||||
|
||||
<OpenGLAPI>
|
||||
|
||||
<category name="GL_EXT_window_rectangles" number="490">
|
||||
<enum name="INCLUSIVE_EXT" value="0x8F10"/>
|
||||
<enum name="EXCLUSIVE_EXT" value="0x8F11"/>
|
||||
<enum name="WINDOW_RECTANGLE_EXT" value="0x8F12" count="4">
|
||||
<size name="Get" mode="get"/>
|
||||
</enum>
|
||||
<enum name="WINDOW_RECTANGLE_MODE_EXT" value="0x8F13">
|
||||
<size name="Get" mode="get"/>
|
||||
</enum>
|
||||
<enum name="MAX_WINDOW_RECTANGLES_EXT" value="0x8F14">
|
||||
<size name="Get" mode="get"/>
|
||||
</enum>
|
||||
<enum name="NUM_WINDOW_RECTANGLES_EXT" value="0x8F15">
|
||||
<size name="Get" mode="get"/>
|
||||
</enum>
|
||||
|
||||
<function name="WindowRectanglesEXT" es2="3.0">
|
||||
<param name="mode" type="GLenum"/>
|
||||
<param name="count" type="GLsizei"/>
|
||||
<param name="box" type="const GLint *"/>
|
||||
</function>
|
||||
</category>
|
||||
|
||||
</OpenGLAPI>
|
||||
|
|
@ -188,6 +188,7 @@ API_XML = \
|
|||
EXT_texture_array.xml \
|
||||
EXT_texture_integer.xml \
|
||||
EXT_transform_feedback.xml \
|
||||
EXT_window_rectangles.xml \
|
||||
GREMEDY_string_marker.xml \
|
||||
INTEL_performance_query.xml \
|
||||
KHR_debug.xml \
|
||||
|
|
|
|||
|
|
@ -12758,6 +12758,8 @@
|
|||
</function>
|
||||
</category>
|
||||
|
||||
<xi:include href="EXT_window_rectangles.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
|
||||
<!-- Unnumbered extensions sorted by name. -->
|
||||
|
||||
<category name="GL_ATI_blend_equation_separate">
|
||||
|
|
|
|||
|
|
@ -210,6 +210,13 @@ _mesa_ScissorIndexedv(GLuint index, const GLint *v)
|
|||
ScissorIndexed(index, v[0], v[1], v[2], v[3], "glScissorIndexedv");
|
||||
}
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_WindowRectanglesEXT(GLenum mode, GLsizei count, const GLint *box)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Initialize the context's scissor state.
|
||||
* \param ctx the GL context.
|
||||
|
|
|
|||
|
|
@ -43,6 +43,9 @@ _mesa_ScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsi
|
|||
extern void GLAPIENTRY
|
||||
_mesa_ScissorIndexedv(GLuint index, const GLint * v);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_WindowRectanglesEXT(GLenum mode, GLsizei count, const GLint *box);
|
||||
|
||||
extern void
|
||||
_mesa_set_scissor(struct gl_context *ctx, unsigned idx,
|
||||
GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
|
|
|
|||
|
|
@ -952,6 +952,9 @@ const struct function common_desktop_functions_possible[] = {
|
|||
/* GL_GREMEDY_string_marker */
|
||||
{ "glStringMarkerGREMEDY", 15, -1 },
|
||||
|
||||
/* GL_EXT_window_rectangles */
|
||||
{ "glWindowRectanglesEXT", 30, -1 },
|
||||
|
||||
{ NULL, 0, -1 }
|
||||
};
|
||||
|
||||
|
|
@ -2494,6 +2497,9 @@ const struct function gles3_functions_possible[] = {
|
|||
{ "glDrawElementsInstancedBaseInstanceEXT", 30, -1 },
|
||||
{ "glDrawElementsInstancedBaseVertexBaseInstanceEXT", 30, -1 },
|
||||
|
||||
/* GL_EXT_window_rectangles */
|
||||
{ "glWindowRectanglesEXT", 30, -1 },
|
||||
|
||||
{ NULL, 0, -1 }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue