diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-20 10:44:27 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-20 10:44:27 -0600 |
commit | 8c71406c74b80fa2d2b1a488938c3b9dfc156343 (patch) | |
tree | 0cfd6fe2832d720d9319b2404422594de48bb390 /src/gallium/auxiliary/util/u_draw_quad.h | |
parent | 8dd90ee19d97c4b032c2b057d96b3e674be3e1fd (diff) |
gallium: added util_draw_vertex_buffer()
Diffstat (limited to 'src/gallium/auxiliary/util/u_draw_quad.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_draw_quad.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_draw_quad.h b/src/gallium/auxiliary/util/u_draw_quad.h index a97f55d2ef..5b6539a99c 100644 --- a/src/gallium/auxiliary/util/u_draw_quad.h +++ b/src/gallium/auxiliary/util/u_draw_quad.h @@ -29,9 +29,25 @@ #define U_DRAWQUAD_H +#ifdef __cplusplus +extern "C" { +#endif + + +extern void +util_draw_vertex_buffer(struct pipe_context *pipe, + struct pipe_buffer *vbuf, + uint num_attribs, uint num_verts, uint prim_type); + + extern void util_draw_texquad(struct pipe_context *pipe, float x0, float y0, float x1, float y1, float z); +#ifdef __cplusplus +} +#endif + + #endif |