Path: blob/21.2-virgl/src/gallium/auxiliary/driver_trace/tr_dump_state.h
4565 views
/**************************************************************************1*2* Copyright 2008 VMware, Inc.3* All Rights Reserved.4*5* Permission is hereby granted, free of charge, to any person obtaining a6* copy of this software and associated documentation files (the7* "Software"), to deal in the Software without restriction, including8* without limitation the rights to use, copy, modify, merge, publish,9* distribute, sub license, and/or sell copies of the Software, and to10* permit persons to whom the Software is furnished to do so, subject to11* the following conditions:12*13* The above copyright notice and this permission notice (including the14* next paragraph) shall be included in all copies or substantial portions15* of the Software.16*17* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS18* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF19* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.20* IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR21* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,22* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE23* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.24*25**************************************************************************/2627#ifndef TR_DUMP_STATE_H_28#define TR_DUMP_STATE_H_2930#include "pipe/p_state.h"31#include "pipe/p_shader_tokens.h"323334void trace_dump_resource_template(const struct pipe_resource *templat);3536void trace_dump_box(const struct pipe_box *box);3738void trace_dump_rasterizer_state(const struct pipe_rasterizer_state *state);3940void trace_dump_poly_stipple(const struct pipe_poly_stipple *state);4142void trace_dump_viewport_state(const struct pipe_viewport_state *state);4344void trace_dump_scissor_state(const struct pipe_scissor_state *state);4546void trace_dump_clip_state(const struct pipe_clip_state *state);4748void trace_dump_token(const struct tgsi_token *token);4950void trace_dump_shader_state(const struct pipe_shader_state *state);5152void trace_dump_compute_state(const struct pipe_compute_state *state);5354void trace_dump_depth_stencil_alpha_state(const struct pipe_depth_stencil_alpha_state *state);5556void trace_dump_blend_state(const struct pipe_blend_state *state);5758void trace_dump_blend_color(const struct pipe_blend_color *state);5960void trace_dump_stencil_ref(const struct pipe_stencil_ref *state);6162void trace_dump_framebuffer_state(const struct pipe_framebuffer_state *state);6364void trace_dump_framebuffer_state_deep(const struct pipe_framebuffer_state *state);6566void trace_dump_sampler_state(const struct pipe_sampler_state *state);6768void trace_dump_sampler_view_template(const struct pipe_sampler_view *view,69enum pipe_texture_target target);7071void trace_dump_surface(const struct pipe_surface *surface);7273void trace_dump_surface_template(const struct pipe_surface *state,74enum pipe_texture_target target);7576void trace_dump_transfer(const struct pipe_transfer *state);7778void trace_dump_vertex_buffer(const struct pipe_vertex_buffer *state);7980void trace_dump_vertex_element(const struct pipe_vertex_element *state);8182void trace_dump_constant_buffer(const struct pipe_constant_buffer *state);8384void trace_dump_shader_buffer(const struct pipe_shader_buffer *buffer);8586void trace_dump_draw_info(const struct pipe_draw_info *state);8788void trace_dump_draw_start_count(const struct pipe_draw_start_count_bias *state);8990void trace_dump_draw_indirect_info(const struct pipe_draw_indirect_info *state);9192void trace_dump_blit_info(const struct pipe_blit_info *);9394void trace_dump_query_result(unsigned query_type,95const union pipe_query_result *result);9697void trace_dump_grid_info(const struct pipe_grid_info *state);9899void trace_dump_image_view(const struct pipe_image_view *view);100101void trace_dump_memory_info(const struct pipe_memory_info *state);102#endif /* TR_STATE_H */103104105