From b980b2eeb62dc48101a7481d02d196c80b9da397 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 8 Jan 2001 04:09:41 +0000 Subject: Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86. --- src/mesa/main/dd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/dd.h') diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 9c600783dc..d3cd4f8a6e 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -1,4 +1,4 @@ -/* $Id: dd.h,v 1.45 2001/01/05 02:26:48 keithw Exp $ */ +/* $Id: dd.h,v 1.46 2001/01/08 04:09:41 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -746,6 +746,7 @@ struct dd_function_table { void (*RenderStart)( GLcontext *ctx ); + void (*RenderPrimitive)( GLcontext *ctx, GLenum mode ); void (*RenderFinish)( GLcontext *ctx ); /* Wrap around all rendering functions. Suitable for * grabbing/releasing hardware locks. @@ -895,6 +896,7 @@ struct dd_function_table { void (*LogicOpcode)(GLcontext *ctx, GLenum opcode); void (*PolygonMode)(GLcontext *ctx, GLenum face, GLenum mode); 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); void (*ShadeModel)(GLcontext *ctx, GLenum mode); void (*StencilFunc)(GLcontext *ctx, GLenum func, GLint ref, GLuint mask); -- cgit v1.2.3