summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-12-31 01:47:15 -0500
committerIlia Mirkin <imirkin@alum.mit.edu>2015-02-02 20:35:36 -0500
commit83321009dede4dc70aae14c4e5ef48973208f931 (patch)
tree1bf879dddbc9d3d6f8e415fef053ddd33bc4bfd5 /src/mesa
parent0f06f12c119ab9518f513f0a9bfdd06e3f5ce0c4 (diff)
glapi: add GL_EXT_polygon_offset_clamp
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/polygon.c6
-rw-r--r--src/mesa/main/polygon.h5
-rw-r--r--src/mesa/main/tests/dispatch_sanity.cpp3
3 files changed, 13 insertions, 1 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c
index cdaa2448334..e3b90739d03 100644
--- a/src/mesa/main/polygon.c
+++ b/src/mesa/main/polygon.c
@@ -265,6 +265,12 @@ _mesa_PolygonOffsetEXT( GLfloat factor, GLfloat bias )
_mesa_PolygonOffset(factor, bias * ctx->DrawBuffer->_DepthMaxF );
}
+void GLAPIENTRY
+_mesa_PolygonOffsetClampEXT( GLfloat factor, GLfloat units, GLfloat clamp )
+{
+
+}
+
/**********************************************************************/
diff --git a/src/mesa/main/polygon.h b/src/mesa/main/polygon.h
index 530adba4cb4..6cf14d3e2ac 100644
--- a/src/mesa/main/polygon.h
+++ b/src/mesa/main/polygon.h
@@ -55,12 +55,15 @@ extern void GLAPIENTRY
_mesa_PolygonOffsetEXT( GLfloat factor, GLfloat bias );
extern void GLAPIENTRY
+_mesa_PolygonOffsetClampEXT( GLfloat factor, GLfloat units, GLfloat clamp );
+
+extern void GLAPIENTRY
_mesa_PolygonStipple( const GLubyte *mask );
extern void GLAPIENTRY
_mesa_GetPolygonStipple( GLubyte *mask );
-extern void
+extern void
_mesa_init_polygon( struct gl_context * ctx );
#endif
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
index ee4db45402f..1f1a3a842c6 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -988,6 +988,9 @@ const struct function gl_core_functions_possible[] = {
{ "glTextureStorage3DMultisample", 45, -1 },
{ "glTextureBuffer", 45, -1 },
+ /* GL_EXT_polygon_offset_clamp */
+ { "glPolygonOffsetClampEXT", 11, -1 },
+
{ NULL, 0, -1 }
};