summaryrefslogtreecommitdiff
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2001-03-22 00:36:27 +0000
committerGareth Hughes <gareth@valinux.com>2001-03-22 00:36:27 +0000
commitd2733fa1963ddaa6dd4bb41ef488a029964dd8f1 (patch)
tree31f6aa5cf96241357a9e7d11c445738d4cf80739 /src/mesa/main/dd.h
parent8ac1f97e9ecbd2f5ef9cda5d3c51411e0e36bb26 (diff)
Add PolygonOffset driver callback.
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 2dd3751faa..469f2363cb 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1,4 +1,4 @@
-/* $Id: dd.h,v 1.59 2001/03/19 02:25:35 keithw Exp $ */
+/* $Id: dd.h,v 1.60 2001/03/22 00:36:27 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -439,7 +439,7 @@ struct dd_function_table {
/***
*** Imaging functionality:
***/
- void (*CopyColorTable)( GLcontext *ctx,
+ void (*CopyColorTable)( GLcontext *ctx,
GLenum target, GLenum internalformat,
GLint x, GLint y, GLsizei width );
@@ -447,13 +447,13 @@ struct dd_function_table {
GLenum target, GLsizei start,
GLint x, GLint y, GLsizei width );
- void (*CopyConvolutionFilter1D)( GLcontext *ctx, GLenum target,
- GLenum internalFormat,
+ void (*CopyConvolutionFilter1D)( GLcontext *ctx, GLenum target,
+ GLenum internalFormat,
GLint x, GLint y, GLsizei width );
-
- void (*CopyConvolutionFilter2D)( GLcontext *ctx, GLenum target,
- GLenum internalFormat,
- GLint x, GLint y,
+
+ void (*CopyConvolutionFilter2D)( GLcontext *ctx, GLenum target,
+ GLenum internalFormat,
+ GLint x, GLint y,
GLsizei width, GLsizei height );
@@ -498,6 +498,7 @@ struct dd_function_table {
const GLfloat *params);
void (*PointSize)(GLcontext *ctx, GLfloat size);
void (*PolygonMode)(GLcontext *ctx, GLenum face, GLenum mode);
+ void (*PolygonOffset)(GLcontext *ctx, GLfloat factor, GLfloat units);
void (*PolygonStipple)(GLcontext *ctx, const GLubyte *mask );
void (*RenderMode)(GLcontext *ctx, GLenum mode );
void (*Scissor)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h);