void trace_dump_format(enum pipe_format format)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
trace_dump_enum(pf_name(format) );
}
void trace_dump_block(const struct pipe_format_block *block)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
trace_dump_struct_begin("pipe_format_block");
trace_dump_member(uint, block, size);
trace_dump_member(uint, block, width);
static void trace_dump_reference(const struct pipe_reference *reference)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
trace_dump_struct_begin("pipe_reference");
trace_dump_member(int, &reference->count, count);
trace_dump_struct_end();
void trace_dump_template(const struct pipe_texture *templat)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!templat) {
trace_dump_null();
return;
void trace_dump_rasterizer_state(const struct pipe_rasterizer_state *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_poly_stipple(const struct pipe_poly_stipple *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_viewport_state(const struct pipe_viewport_state *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_scissor_state(const struct pipe_scissor_state *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
{
unsigned i;
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_constant_buffer(const struct pipe_constant_buffer *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
{
static char str[8192];
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
{
unsigned i;
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_blend_state(const struct pipe_blend_state *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_blend_color(const struct pipe_blend_color *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_framebuffer_state(const struct pipe_framebuffer_state *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
trace_dump_struct_begin("pipe_framebuffer_state");
trace_dump_member(uint, state, width);
void trace_dump_sampler_state(const struct pipe_sampler_state *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_surface(const struct pipe_surface *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_transfer(const struct pipe_transfer *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_vertex_buffer(const struct pipe_vertex_buffer *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;
void trace_dump_vertex_element(const struct pipe_vertex_element *state)
{
+ if (!trace_dumping_enabled_locked())
+ return;
+
if(!state) {
trace_dump_null();
return;