summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_cb_bitmap.h')
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.h b/src/mesa/state_tracker/st_cb_bitmap.h
index 81cf61981d..8af975b74f 100644
--- a/src/mesa/state_tracker/st_cb_bitmap.h
+++ b/src/mesa/state_tracker/st_cb_bitmap.h
@@ -30,6 +30,10 @@
#define ST_CB_BITMAP_H
+#include "main/mtypes.h"
+
+#if FEATURE_drawpix
+
extern void
st_init_bitmap_functions(struct dd_function_table *functions);
@@ -48,5 +52,33 @@ st_flush_bitmap_cache(struct st_context *st);
extern void
st_flush_bitmap(struct st_context *st);
+#else
+
+static INLINE void
+st_init_bitmap_functions(struct dd_function_table *functions)
+{
+}
+
+static INLINE void
+st_init_bitmap(struct st_context *st)
+{
+}
+
+static INLINE void
+st_destroy_bitmap(struct st_context *st)
+{
+}
+
+static INLINE void
+st_flush_bitmap_cache(struct st_context *st)
+{
+}
+
+static INLINE void
+st_flush_bitmap(struct st_context *st)
+{
+}
+
+#endif /* FEATURE_drawpix */
#endif /* ST_CB_BITMAP_H */