X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fauxiliary%2Futil%2Fu_draw_quad.h;h=f1167786f0efc4dfccf037587e2dc81866189c67;hb=213b9004a6ee033a16af3dcd187aa68b56c39858;hp=ec4862ead39f1534a5be8b9332a9d247aa488ce5;hpb=61d3a66456852642ed8fdc1106dc0012e4b89779;p=mesa.git diff --git a/src/gallium/auxiliary/util/u_draw_quad.h b/src/gallium/auxiliary/util/u_draw_quad.h index ec4862ead39..f1167786f0e 100644 --- a/src/gallium/auxiliary/util/u_draw_quad.h +++ b/src/gallium/auxiliary/util/u_draw_quad.h @@ -29,20 +29,27 @@ #define U_DRAWQUAD_H +#include "pipe/p_compiler.h" +#include "pipe/p_context.h" + + #ifdef __cplusplus extern "C" { #endif -struct pipe_buffer; +struct pipe_resource; +struct cso_context; + +#include "util/u_draw.h" extern void -util_draw_vertex_buffer(struct pipe_context *pipe, - struct pipe_buffer *vbuf, +util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso, + struct pipe_resource *vbuf, uint offset, uint num_attribs, uint num_verts, uint prim_type); extern void -util_draw_texquad(struct pipe_context *pipe, +util_draw_texquad(struct pipe_context *pipe, struct cso_context *cso, float x0, float y0, float x1, float y1, float z);