summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_bitmap.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-02-08 09:59:40 -0700
committerBrian Paul <[email protected]>2016-02-09 11:27:48 -0700
commit7d18faf8e7509a575f39b0a409b8167db7561153 (patch)
tree1713633190ec8657a32f11e0a4017da867396a0a /src/mesa/state_tracker/st_cb_bitmap.h
parenta5799de3dc8ddf0e90c2e64438664df3ce84f5ae (diff)
st/mesa: don't allocate bitmap drawing state until needed
Most apps don't use glBitmap so don't allocate the bitmap cache or gallium state objects/shaders/etc until the first call to st_Bitmap(). v2: simplify a conditional, per Gustaw Smolarczyk. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_bitmap.h')
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.h b/src/mesa/state_tracker/st_cb_bitmap.h
index dc7e5cb5c9e..4d1ae222b81 100644
--- a/src/mesa/state_tracker/st_cb_bitmap.h
+++ b/src/mesa/state_tracker/st_cb_bitmap.h
@@ -42,9 +42,6 @@ extern void
st_init_bitmap_functions(struct dd_function_table *functions);
extern void
-st_init_bitmap(struct st_context *st);
-
-extern void
st_destroy_bitmap(struct st_context *st);
extern void