/*
* p_defines.h
- *
- * XXX: These functions don't really dump anything -- just translate into
- * strings so a verb better than "dump" should be used instead, in order to
- * free up the namespace to the true dumper functions.
*/
const char *
-util_dump_blend_factor(unsigned value, boolean shortened);
+util_str_blend_factor(unsigned value, boolean shortened);
const char *
-util_dump_blend_func(unsigned value, boolean shortened);
+util_str_blend_func(unsigned value, boolean shortened);
const char *
-util_dump_logicop(unsigned value, boolean shortened);
+util_str_logicop(unsigned value, boolean shortened);
const char *
-util_dump_func(unsigned value, boolean shortened);
+util_str_func(unsigned value, boolean shortened);
const char *
-util_dump_stencil_op(unsigned value, boolean shortened);
+util_str_stencil_op(unsigned value, boolean shortened);
const char *
-util_dump_tex_target(unsigned value, boolean shortened);
+util_str_tex_target(unsigned value, boolean shortened);
const char *
-util_dump_tex_wrap(unsigned value, boolean shortened);
+util_str_tex_wrap(unsigned value, boolean shortened);
const char *
-util_dump_tex_mipfilter(unsigned value, boolean shortened);
+util_str_tex_mipfilter(unsigned value, boolean shortened);
const char *
-util_dump_tex_filter(unsigned value, boolean shortened);
+util_str_tex_filter(unsigned value, boolean shortened);
const char *
-util_dump_query_type(unsigned value, boolean shortened);
+util_str_query_type(unsigned value, boolean shortened);
const char *
-util_dump_prim_mode(unsigned value, boolean shortened);
+util_str_query_value_type(unsigned value, boolean shortened);
+const char *
+util_str_prim_mode(unsigned value, boolean shortened);
+
+void
+util_dump_ns(FILE *f, uint64_t time);
+
+void
+util_dump_ptr(FILE *stream, const void *value);
+
+void
+util_dump_query_type(FILE *stream, unsigned value);
+
+void
+util_dump_query_value_type(FILE *stream, unsigned value);
+
+void
+util_dump_transfer_usage(FILE *stream, unsigned value);
/*
* p_state.h, through a FILE
void
util_dump_image_view(FILE *stream, const struct pipe_image_view *state);
+void
+util_dump_shader_buffer(FILE *stream, const struct pipe_shader_buffer *state);
+
void
util_dump_sampler_view(FILE *stream, const struct pipe_sampler_view *state);
util_dump_constant_buffer(FILE *stream,
const struct pipe_constant_buffer *state);
-void
-util_dump_index_buffer(FILE *stream, const struct pipe_index_buffer *state);
-
void
util_dump_vertex_buffer(FILE *stream,
const struct pipe_vertex_buffer *state);
void
util_dump_draw_info(FILE *stream, const struct pipe_draw_info *state);
+void
+util_dump_grid_info(FILE *stream, const struct pipe_grid_info *state);
+
void
util_dump_box(FILE *stream, const struct pipe_box *box);