Lines Matching refs:pipe

77    struct pipe_context *pipe = hud->pipe;
88 pipe->set_constant_buffer(pipe, PIPE_SHADER_VERTEX, 0, false, &hud->constbuf);
90 u_upload_data(hud->pipe->stream_uploader, 0,
93 u_upload_unmap(hud->pipe->stream_uploader);
462 struct pipe_context *pipe = hud->pipe;
511 surf = pipe->create_surface(pipe, tex, &surf_templ);
544 pipe->set_sampler_views(pipe, PIPE_SHADER_FRAGMENT, 0, 1, 0, false,
547 pipe->set_constant_buffer(pipe, PIPE_SHADER_VERTEX, 0, false, &hud->constbuf);
563 pipe->set_constant_buffer(pipe, PIPE_SHADER_VERTEX, 0, false, &hud->constbuf);
593 pipe->set_constant_buffer(pipe, PIPE_SHADER_VERTEX, 0, false, &hud->constbuf);
626 hud_start_queries(struct hud_context *hud, struct pipe_context *pipe)
632 hud_batch_query_begin(hud->batch_query, pipe);
637 gr->begin_query(gr, pipe);
644 hud_stop_queries(struct hud_context *hud, struct pipe_context *pipe)
657 u_upload_alloc(pipe->stream_uploader, 0,
680 hud_batch_query_update(hud->batch_query, pipe);
684 gr->query_new_value(gr, pipe);
711 u_upload_unmap(pipe->stream_uploader);
724 struct pipe_context *pipe = cso ? cso_get_pipe_context(cso) : NULL;
729 if (hud->record_pipe && (!pipe || pipe == hud->record_pipe))
735 if (hud->record_pipe && (!pipe || pipe == hud->record_pipe))
740 * Record query results and assemble vertices if "pipe" is a recording but
744 hud_record_only(struct hud_context *hud, struct pipe_context *pipe)
746 assert(pipe);
749 if (pipe == hud->pipe || pipe != hud->record_pipe)
990 hud_graph_destroy(struct hud_graph *graph, struct pipe_context *pipe)
994 graph->free_query_data(graph->query_data, pipe);
1624 struct pipe_context *pipe = hud->pipe;
1626 if (!pipe)
1632 pipe->delete_fs_state(pipe, hud->fs_color);
1636 pipe->delete_fs_state(pipe, hud->fs_text);
1640 pipe->delete_vs_state(pipe, hud->vs_color);
1644 pipe->delete_vs_state(pipe, hud->vs_text);
1649 hud->pipe = NULL;
1656 struct pipe_context *pipe = cso_get_pipe_context(cso);
1658 assert(!hud->pipe);
1659 hud->pipe = pipe;
1666 hud->font_sampler_view = pipe->create_sampler_view(pipe, hud->font.texture,
1673 util_make_fragment_passthrough_shader(pipe,
1702 hud->fs_text = pipe->create_fs_state(pipe, &state);
1738 hud->vs_color = pipe->create_vs_state(pipe, &state);
1775 hud->vs_text = pipe->create_vs_state(pipe, &state);
1789 struct pipe_context *pipe = hud->record_pipe;
1793 if (!pipe)
1799 hud_graph_destroy(graph, pipe);
1805 hud_batch_query_cleanup(&hud->batch_query, pipe);
1810 hud_set_record_context(struct hud_context *hud, struct pipe_context *pipe)
1812 hud->record_pipe = pipe;
1849 assert(!share->pipe);