*/
typedef struct {
GLfloat win[4];
- GLfloat eye[4]; /* for GL_EXT_point_param only */
GLfloat texcoord[MAX_TEXTURE_UNITS][4];
GLchan color[4];
GLchan specular[4];
GLfloat fog;
GLuint index;
+ GLfloat pointSize;
} SWvertex;
GLint width, GLint height );
-/* Get a pointer to the stipple counter.
+/* Reset the stipple counter
*/
-extern GLuint *
-_swrast_get_stipple_counter_ref( GLcontext *ctx );
-
+extern void
+_swrast_ResetLineStipple( GLcontext *ctx );
/* These will always render the correct point/line/triangle for the
* current state.
+ *
+ * For flatshaded primitives, the provoking vertex is the final one.
*/
extern void
_swrast_Point( GLcontext *ctx, const SWvertex *v );
extern void
_swrast_allow_pixel_fog( GLcontext *ctx, GLboolean value );
+/* Debug:
+ */
+extern void
+_swrast_print_vertex( GLcontext *ctx, const SWvertex *v );
+
#endif