st/mesa: flush the glBitmap cache before changing framebuffer state
[mesa.git] / src / mesa / state_tracker / st_cb_flush.h
index c26f77922593d2b471b3114637269c4c376d02c4..598536ba045a657f713c18c57c068bf56ce1b649 100644 (file)
 #define ST_CB_FLUSH_H
 
 
+#include "pipe/p_compiler.h"
+
+struct dd_function_table;
+struct pipe_fence_handle;
+struct st_context;
+
 extern void
 st_init_flush_functions(struct dd_function_table *functions);
 
+extern void
+st_flush(struct st_context *st,
+         struct pipe_fence_handle **fence);
+
+extern void
+st_finish(struct st_context *st);
+
 
 #endif /* ST_CB_FLUSH_H */