diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-28 14:53:47 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-28 14:53:47 -0600 |
commit | c62b197b528293abb56b099503344e3cdd7d6c40 (patch) | |
tree | 2c288f52217dce9747b54a5942bd686a71b5ad3a /src/mesa/state_tracker/st_cb_bitmap.h | |
parent | 13041da714106ae61b4184b79e847c2b382e07ad (diff) |
gallium: implement a glBitmap cache
The bitmap cache attempts to accumulate a series of glBitmap calls in a
buffer to effectively render a whole bunch of bitmaps at once.
The cache can be disabled, if needed, by setting UseBitmapCache=GL_FALSE.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_bitmap.h')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bitmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.h b/src/mesa/state_tracker/st_cb_bitmap.h index ac19e0ebb1..aae11d34c9 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.h +++ b/src/mesa/state_tracker/st_cb_bitmap.h @@ -33,9 +33,14 @@ 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 +st_flush_bitmap_cache(struct st_context *st); + #endif /* ST_CB_BITMAP_H */ |