aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_bitmap.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-10-04 02:38:55 +0200
committerMarek Olšák <[email protected]>2015-10-09 22:02:18 +0200
commitf4ec81032bb9c1460794d3d843d0ffe47a181291 (patch)
treeec3a06e2ca8769fc5b6180eb0e6e82ca21307479 /src/mesa/state_tracker/st_cb_bitmap.h
parent3eedb633710733b38f612bdd5b2b490a7f854c9e (diff)
st/mesa: implement glBitmap shader transformation using tgsi_transform_shader
Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]> Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_bitmap.h')
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.h b/src/mesa/state_tracker/st_cb_bitmap.h
index b4254ca1eeb..dc7e5cb5c9e 100644
--- a/src/mesa/state_tracker/st_cb_bitmap.h
+++ b/src/mesa/state_tracker/st_cb_bitmap.h
@@ -31,6 +31,7 @@
#include "main/compiler.h"
+#include <stdbool.h>
struct dd_function_table;
struct st_context;
@@ -47,13 +48,11 @@ 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);
+extern const struct tgsi_token *
+st_get_bitmap_shader(const struct tgsi_token *tokens,
+ unsigned sampler_index,
+ bool use_texcoord, bool swizzle_xxxx);
#endif /* ST_CB_BITMAP_H */