Home
last modified time | relevance | path

Searched refs:hud (Results 1 - 25 of 36) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_context.c40 #include "hud/hud_context.h"
41 #include "hud/hud_private.h"
71 hud_draw_colored_prims(struct hud_context *hud, unsigned prim, in hud_draw_colored_prims() argument
76 struct cso_context *cso = hud->cso; in hud_draw_colored_prims()
77 struct pipe_context *pipe = hud->pipe; in hud_draw_colored_prims()
80 hud->constants.color[0] = r; in hud_draw_colored_prims()
81 hud->constants.color[1] = g; in hud_draw_colored_prims()
82 hud->constants.color[2] = b; in hud_draw_colored_prims()
83 hud->constants.color[3] = a; in hud_draw_colored_prims()
84 hud in hud_draw_colored_prims()
103 hud_draw_colored_quad(struct hud_context *hud, unsigned prim, unsigned x1, unsigned y1, unsigned x2, unsigned y2, float r, float g, float b, float a) hud_draw_colored_quad() argument
118 hud_draw_background_quad(struct hud_context *hud, unsigned x1, unsigned y1, unsigned x2, unsigned y2) hud_draw_background_quad() argument
142 hud_draw_string(struct hud_context *hud, unsigned x, unsigned y, const char *str, ...) hud_draw_string() argument
301 hud_draw_graph_line_strip(struct hud_context *hud, const struct hud_graph *gr, unsigned xoffset, unsigned yoffset, float yscale) hud_draw_graph_line_strip() argument
326 hud_pane_accumulate_vertices(struct hud_context *hud, const struct hud_pane *pane) hud_pane_accumulate_vertices() argument
401 hud_pane_accumulate_vertices_simple(struct hud_context *hud, const struct hud_pane *pane) hud_pane_accumulate_vertices_simple() argument
421 hud_pane_draw_colored_objects(struct hud_context *hud, const struct hud_pane *pane) hud_pane_draw_colored_objects() argument
445 hud_prepare_vertices(struct hud_context *hud, struct vertex_queue *v, unsigned num_vertices, unsigned stride) hud_prepare_vertices() argument
459 hud_draw_results(struct hud_context *hud, struct pipe_resource *tex) hud_draw_results() argument
626 hud_start_queries(struct hud_context *hud, struct pipe_context *pipe) hud_start_queries() argument
644 hud_stop_queries(struct hud_context *hud, struct pipe_context *pipe) hud_stop_queries() argument
721 hud_run(struct hud_context *hud, struct cso_context *cso, struct pipe_resource *tex) hud_run() argument
744 hud_record_only(struct hud_context *hud, struct pipe_context *pipe) hud_record_only() argument
869 hud_pane_create(struct hud_context *hud, unsigned x1, unsigned y1, unsigned x2, unsigned y2, unsigned y_simple, unsigned period, uint64_t max_value, uint64_t ceiling, boolean dyn_ceiling, boolean sort_items) hud_pane_create() argument
1180 hud_parse_env_var(struct hud_context *hud, struct pipe_screen *screen, const char *env) hud_parse_env_var() argument
1622 hud_unset_draw_context(struct hud_context *hud) hud_unset_draw_context() argument
1653 hud_set_draw_context(struct hud_context *hud, struct cso_context *cso, struct st_context_iface *st) hud_set_draw_context() argument
1787 hud_unset_record_context(struct hud_context *hud) hud_unset_record_context() argument
1810 hud_set_record_context(struct hud_context *hud, struct pipe_context *pipe) hud_set_record_context() argument
1857 struct hud_context *hud; hud_create() local
1977 hud_destroy(struct hud_context *hud, struct cso_context *cso) hud_destroy() argument
1992 hud_add_queue_for_monitoring(struct hud_context *hud, struct util_queue_monitoring *queue_info) hud_add_queue_for_monitoring() argument
[all...]
H A Dhud_context.h43 hud_destroy(struct hud_context *hud, struct cso_context *cso);
46 hud_run(struct hud_context *hud, struct cso_context *cso,
50 hud_record_only(struct hud_context *hud, struct pipe_context *pipe);
53 hud_add_queue_for_monitoring(struct hud_context *hud,
H A Dhud_private.h34 #include "hud/font.h"
123 struct hud_context *hud; member
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_query.c745 svga->hud.uses_time = TRUE; in svga_create_query()
884 sq->begin_count = svga->hud.num_draw_calls; in svga_begin_query()
887 sq->begin_count = svga->hud.num_fallbacks; in svga_begin_query()
890 sq->begin_count = svga->hud.num_flushes; in svga_begin_query()
893 sq->begin_count = svga->hud.num_validations; in svga_begin_query()
896 sq->begin_count = svga->hud.map_buffer_time; in svga_begin_query()
899 sq->begin_count = svga->hud.num_buffers_mapped; in svga_begin_query()
902 sq->begin_count = svga->hud.num_textures_mapped; in svga_begin_query()
905 sq->begin_count = svga->hud.num_bytes_uploaded; in svga_begin_query()
911 sq->begin_count = svga->hud in svga_begin_query()
[all...]
H A Dsvga_resource_buffer.c175 svga->hud.num_readbacks++; in svga_buffer_transfer_map()
326 svga->hud.map_buffer_time += (svga_get_time(svga) - begin); in svga_buffer_transfer_map()
443 ss->hud.total_resource_bytes -= sbuf->size; in svga_resource_destroy()
444 assert(ss->hud.num_resources > 0); in svga_resource_destroy()
445 if (ss->hud.num_resources > 0) in svga_resource_destroy()
446 ss->hud.num_resources--; in svga_resource_destroy()
469 ss->hud.total_resource_bytes -= tex->size; in svga_resource_destroy()
476 assert(ss->hud.num_resources > 0); in svga_resource_destroy()
477 if (ss->hud.num_resources > 0) in svga_resource_destroy()
478 ss->hud in svga_resource_destroy()
[all...]
H A Dsvga_resource_texture.c251 svga->hud.num_readbacks++; in readback_texture_surface()
365 svga->hud.surface_write_flushes++; in svga_texture_transfer_map_direct()
404 svga->hud.surface_write_flushes++; in svga_texture_transfer_map_direct()
608 svga->hud.num_textures_mapped++; in svga_texture_transfer_map()
611 svga->hud.num_bytes_uploaded += in svga_texture_transfer_map()
620 svga->hud.map_buffer_time += (svga_get_time(svga) - begin); in svga_texture_transfer_map()
797 svga->hud.num_resource_updates++; in svga_texture_transfer_unmap()
1121 svgascreen->hud.total_resource_bytes += tex->size; in svga_texture_create()
1122 svgascreen->hud.num_resources++; in svga_texture_create()
1213 ss->hud in svga_texture_from_handle()
[all...]
H A Dsvga_pipe_sampler.c288 svga->hud.num_sampler_objects++; in svga_create_sampler_state()
356 svga->hud.num_sampler_objects--; in svga_delete_sampler_state()
380 svga->hud.num_samplerview_objects++; in svga_create_sampler_view()
408 svga->hud.num_samplerview_objects--; in svga_sampler_view_destroy()
H A Dsvga_resource_buffer_upload.c559 svga->hud.num_resource_updates++; in svga_buffer_upload_gb_command()
636 svga->hud.num_buffer_uploads++; in svga_buffer_upload_hb_command()
700 svga->hud.num_bytes_uploaded += box->w; in svga_buffer_upload_flush()
701 svga->hud.num_buffer_uploads++; in svga_buffer_upload_flush()
728 svga->hud.num_bytes_uploaded += box->w; in svga_buffer_upload_flush()
729 svga->hud.num_buffer_uploads++; in svga_buffer_upload_flush()
H A Dsvga_screen.h101 } hud; member
H A Dsvga_context.c433 svga->hud.command_buffer_size += in svga_context_flush()
440 svga->hud.flush_time += (svga_get_time(svga) - t0); in svga_context_flush()
442 svga->hud.num_flushes++; in svga_context_flush()
H A Dsvga_pipe_draw.c242 svga->hud.num_draw_calls++; /* for SVGA_QUERY_NUM_DRAW_CALLS */ in svga_draw_vbo()
300 svga->hud.num_fallbacks++; /* for SVGA_QUERY_NUM_FALLBACKS */ in svga_draw_vbo()
H A Dsvga_pipe_depthstencil.c213 svga->hud.num_depthstencil_objects++; in svga_create_depth_stencil_state()
260 svga->hud.num_depthstencil_objects--; in svga_delete_depth_stencil_state()
H A Dsvga_pipe_vertex.c267 svga->hud.num_vertexelement_objects++; in svga_create_vertex_elements_state()
306 svga->hud.num_vertexelement_objects--; in svga_delete_vertex_elements_state()
H A Dsvga_shader.c613 svga->hud.shader_mem_used += codeLen; in define_gb_shader_vgpu9()
652 svga->hud.shader_mem_used += len; in define_gb_shader_vgpu10()
804 svga->hud.num_shaders++; in svga_new_shader_variant()
839 svga->hud.num_shaders--; in svga_destroy_shader_variant()
H A Dsvga_resource.c53 svgascreen->hud.num_failed_allocations++; in svga_resource_create()
H A Dsvga_resource_buffer.h292 svga->hud.num_buffers_mapped++; in svga_buffer_hw_storage_map()
H A Dsvga_pipe_blend.c417 svga->hud.num_blend_objects++; in svga_create_blend_state()
452 svga->hud.num_blend_objects--; in svga_delete_blend_state()
/third_party/mesa3d/src/gallium/frontends/dri/
H A Ddri_context.c203 ctx->hud = hud_create(ctx->st->cso_context, ctx->st, in dri_create_context()
204 share_ctx ? share_ctx->hud : NULL); in dri_create_context()
241 if (ctx->hud) { in dri_destroy_context()
242 hud_destroy(ctx->hud, ctx->st->cso_context); in dri_destroy_context()
273 if (ctx->hud) in dri_unbind_context()
274 hud_record_only(ctx->hud, st->pipe); in dri_unbind_context()
H A Ddri_context.h37 #include "hud/hud_context.h"
63 struct hud_context *hud; member
H A Ddri_drawable.c445 if (args->ctx->hud) { in notify_before_flush_cb()
446 hud_run(args->ctx->hud, args->ctx->st->cso_context, in notify_before_flush_cb()
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_context.h49 struct hud_context *hud; member
H A Dstw_context.c41 #include "hud/hud_context.h"
289 ctx->hud = hud_create(ctx->st->cso_context, ctx->st, NULL); in stw_create_context_attribs()
334 if (ctx->hud) { in stw_destroy_context()
335 hud_destroy(ctx->hud, NULL); in stw_destroy_context()
H A Dstw_framebuffer.c33 #include "hud/hud_context.h"
692 if (ctx->hud) { in stw_framebuffer_swap_locked()
697 hud_run(ctx->hud, NULL, back); in stw_framebuffer_swap_locked()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dxm_api.c71 #include "hud/hud_context.h"
1024 c->hud = hud_create(c->st->cso_context, c->st, NULL); in XMesaCreateContext()
1039 if (c->hud) { in XMesaDestroyContext()
1040 hud_destroy(c->hud, NULL); in XMesaDestroyContext()
1346 if (xmctx && xmctx->hud) { in XMesaSwapBuffers()
1349 hud_run(xmctx->hud, NULL, back); in XMesaSwapBuffers()
H A Dxm_api.h311 struct hud_context *hud; member

Completed in 22 milliseconds

12