4e8627e695595b2e611bcd77076863742f8fe859
6 /* These are the functions exported from swrast. (more to come)
9 _swrast_alloc_buffers( GLcontext
*ctx
);
13 _swrast_Bitmap( GLcontext
*ctx
,
15 GLsizei width
, GLsizei height
,
16 const struct gl_pixelstore_attrib
*unpack
,
17 const GLubyte
*bitmap
);
20 _swrast_CopyPixels( GLcontext
*ctx
,
21 GLint srcx
, GLint srcy
,
22 GLint destx
, GLint desty
,
23 GLsizei width
, GLsizei height
,
27 _swrast_DrawPixels( GLcontext
*ctx
,
29 GLsizei width
, GLsizei height
,
30 GLenum format
, GLenum type
,
31 const struct gl_pixelstore_attrib
*unpack
,
32 const GLvoid
*pixels
);
35 _swrast_ReadPixels( GLcontext
*ctx
,
36 GLint x
, GLint y
, GLsizei width
, GLsizei height
,
37 GLenum format
, GLenum type
,
38 const struct gl_pixelstore_attrib
*unpack
,
42 _swrast_Clear( GLcontext
*ctx
, GLbitfield mask
, GLboolean all
,
43 GLint x
, GLint y
, GLint width
, GLint height
);
46 _swrast_Accum( GLcontext
*ctx
, GLenum op
,
47 GLfloat value
, GLint xpos
, GLint ypos
,
48 GLint width
, GLint height
);
51 _swrast_set_line_function( GLcontext
*ctx
);
54 _swrast_set_point_function( GLcontext
*ctx
);
57 _swrast_set_triangle_function( GLcontext
*ctx
);
60 _swrast_set_quad_function( GLcontext
*ctx
);
63 _swrast_flush( GLcontext
*ctx
);
66 _swrast_create_context( GLcontext
*ctx
);
69 _swrast_destroy_context( GLcontext
*ctx
);
75 _swrast_set_texture_sampler( struct gl_texture_object
*t
);
79 #define _SWRAST_NEW_TRIANGLE (_NEW_RENDERMODE| \
86 _SWRAST_NEW_RASTERMASK| \
90 #define _SWRAST_NEW_LINE (_NEW_RENDERMODE| \
97 #define _SWRAST_NEW_POINT (_NEW_RENDERMODE | \