summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_state.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-08-07 18:55:05 +0100
committerJosé Fonseca <[email protected]>2008-08-07 18:58:30 +0100
commit9dee60969df7ff263e05430e69ef26982fe2bd94 (patch)
tree5f5723afe4c237c8c721ebea57d8dabb312ea9e3 /src/gallium/drivers/trace/tr_state.h
parentf2e19c34e06dfc33557a481f764fc75a5aef15ff (diff)
trace: Dump state.
Diffstat (limited to 'src/gallium/drivers/trace/tr_state.h')
-rw-r--r--src/gallium/drivers/trace/tr_state.h57
1 files changed, 54 insertions, 3 deletions
diff --git a/src/gallium/drivers/trace/tr_state.h b/src/gallium/drivers/trace/tr_state.h
index e52524ee90f..c1df63db6af 100644
--- a/src/gallium/drivers/trace/tr_state.h
+++ b/src/gallium/drivers/trace/tr_state.h
@@ -28,11 +28,13 @@
#ifndef TR_STATE_H
#define TR_STATE_H
+#include "pipe/p_format.h"
+#include "pipe/p_state.h"
+#include "pipe/p_shader_tokens.h"
-struct trace_stream;
-struct pipe_format_block;
-struct pipe_texture;
+void trace_dump_format(struct trace_stream *stream,
+ enum pipe_format format);
void trace_dump_block(struct trace_stream *stream,
const struct pipe_format_block *block);
@@ -41,4 +43,53 @@ void trace_dump_template(struct trace_stream *stream,
const struct pipe_texture *templat);
+void trace_dump_rasterizer_state(struct trace_stream *stream,
+ const struct pipe_rasterizer_state *state);
+
+void trace_dump_poly_stipple(struct trace_stream *stream,
+ const struct pipe_poly_stipple *state);
+
+void trace_dump_viewport_state(struct trace_stream *stream,
+ const struct pipe_viewport_state *state);
+
+void trace_dump_scissor_state(struct trace_stream *stream,
+ const struct pipe_scissor_state *state);
+
+void trace_dump_clip_state(struct trace_stream *stream,
+ const struct pipe_clip_state *state);
+
+void trace_dump_constant_buffer(struct trace_stream *stream,
+ const struct pipe_constant_buffer *state);
+
+void trace_dump_token(struct trace_stream *stream,
+ const struct tgsi_token *token);
+
+void trace_dump_shader_state(struct trace_stream *stream,
+ const struct pipe_shader_state *state);
+
+void trace_dump_depth_stencil_alpha_state(struct trace_stream *stream,
+ const struct pipe_depth_stencil_alpha_state *state);
+
+void trace_dump_blend_state(struct trace_stream *stream,
+ const struct pipe_blend_state *state);
+
+void trace_dump_blend_color(struct trace_stream *stream,
+ const struct pipe_blend_color *state);
+
+void trace_dump_framebuffer_state(struct trace_stream *stream,
+ const struct pipe_framebuffer_state *state);
+
+void trace_dump_sampler_state(struct trace_stream *stream,
+ const struct pipe_sampler_state *state);
+
+void trace_dump_surface(struct trace_stream *stream,
+ const struct pipe_surface *state);
+
+void trace_dump_vertex_buffer(struct trace_stream *stream,
+ const struct pipe_vertex_buffer *state);
+
+void trace_dump_vertex_element(struct trace_stream *stream,
+ const struct pipe_vertex_element *state);
+
+
#endif /* TR_STATE_H */