gallium: avoid mapping same vertex buffer in subsequent frames
[mesa.git] / src / gallium / auxiliary / util / u_gen_mipmap.h
index 3277024f07d878bf4f31fe8b81de97a3d1725bb6..54608f9466dafc108eebbfd7685cd108e8bd3466 100644 (file)
@@ -50,6 +50,11 @@ util_create_gen_mipmap(struct pipe_context *pipe, struct cso_context *cso);
 extern void
 util_destroy_gen_mipmap(struct gen_mipmap_state *ctx);
 
+/* Release vertex buffer at end of frame to avoid synchronous
+ * rendering.
+ */
+extern void 
+util_gen_mipmap_flush( struct gen_mipmap_state *ctx );
 
 
 extern void