glsl: Bitwise conversion operator support in the software renderers.
[mesa.git] / src / mesa / state_tracker / st_cb_bitmap.h
index 8af975b74fce7a81c33fa9d88f03b12339c57d5e..ed1415803767f90a77eb4e095f7e67a0c95c27c7 100644 (file)
 #define ST_CB_BITMAP_H
 
 
-#include "main/mtypes.h"
+#include "main/compiler.h"
+#include "main/mfeatures.h"
+
+struct dd_function_table;
+struct st_context;
+struct gl_fragment_program;
+struct st_fragment_program;
 
 #if FEATURE_drawpix
 
@@ -43,6 +49,12 @@ st_init_bitmap(struct st_context *st);
 extern void
 st_destroy_bitmap(struct st_context *st);
 
+extern void
+st_make_bitmap_fragment_program(struct st_context *st,
+                                struct gl_fragment_program *fpIn,
+                                struct gl_fragment_program **fpOut,
+                                GLuint *bitmap_sampler);
+
 extern void
 st_flush_bitmap_cache(struct st_context *st);