/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_init.c | 28 #include "pipe/p_compiler.h" 33 #include "pipe/p_screen.h" 42 pp_init(struct pipe_context *pipe, const unsigned int *enabled, in pp_init() argument 81 ppq->p = pp_init_prog(ppq, pipe, cso, st); in pp_init() 179 if (ppq->p->pipe && ppq->filters && ppq->shaders) { in pp_free() 203 assert(ppq->p->pipe); in pp_free() 206 assert(ppq->p->pipe->delete_fs_state); in pp_free() 207 ppq->p->pipe->delete_fs_state(ppq->p->pipe, in pp_free() 211 assert(ppq->p->pipe in pp_free() [all...] |
H A D | pp_colors.c | 40 struct pipe_context *pipe = p->pipe; in pp_nocolor() local 50 pipe->set_sampler_views(pipe, PIPE_SHADER_FRAGMENT, 0, 1, 0, false, &p->view); in pp_nocolor() 66 pp_tgsi_to_state(ppq->p->pipe, nored, false, "nored"); in pp_nored_init() 76 pp_tgsi_to_state(ppq->p->pipe, nogreen, false, "nogreen"); in pp_nogreen_init() 86 pp_tgsi_to_state(ppq->p->pipe, noblue, false, "noblue"); in pp_noblue_init()
|
/third_party/libdrm/etnaviv/ |
H A D | etnaviv_perfmon.c | 32 struct etna_device *dev = pm->pipe->gpu->dev; in etna_perfmon_query_signals() 34 .pipe = pm->pipe->id, in etna_perfmon_query_signals() 65 struct etna_device *dev = pm->pipe->gpu->dev; in etna_perfmon_query_domains() 67 .pipe = pm->pipe->id in etna_perfmon_query_domains() 124 drm_public struct etna_perfmon *etna_perfmon_create(struct etna_pipe *pipe) in etna_perfmon_create() argument 136 pm->pipe = pipe; in etna_perfmon_create()
|
/third_party/mesa3d/src/etnaviv/drm/ |
H A D | etnaviv_perfmon.c | 32 struct etna_device *dev = pm->pipe->gpu->dev; in etna_perfmon_query_signals() 34 .pipe = pm->pipe->id, in etna_perfmon_query_signals() 65 struct etna_device *dev = pm->pipe->gpu->dev; in etna_perfmon_query_domains() 67 .pipe = pm->pipe->id in etna_perfmon_query_domains() 124 struct etna_perfmon *etna_perfmon_create(struct etna_pipe *pipe) in etna_perfmon_create() argument 136 pm->pipe = pipe; in etna_perfmon_create()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_resource.c | 123 svga->pipe.buffer_map = svga_buffer_transfer_map; in svga_init_resource_functions() 124 svga->pipe.texture_map = svga_texture_transfer_map; in svga_init_resource_functions() 125 svga->pipe.transfer_flush_region = svga_buffer_transfer_flush_region; in svga_init_resource_functions() 126 svga->pipe.buffer_unmap = svga_buffer_transfer_unmap; in svga_init_resource_functions() 127 svga->pipe.texture_unmap = svga_texture_transfer_unmap; in svga_init_resource_functions() 128 svga->pipe.buffer_subdata = u_default_buffer_subdata; in svga_init_resource_functions() 129 svga->pipe.texture_subdata = u_default_texture_subdata; in svga_init_resource_functions() 132 svga->pipe.generate_mipmap = svga_texture_generate_mipmap; in svga_init_resource_functions() 134 svga->pipe.generate_mipmap = NULL; in svga_init_resource_functions()
|
H A D | svga_state_tgsi_transform.c | 74 svga->pipe.bind_vs_state(&svga->pipe, shader); in bind_shader() 78 * Avoid pipe->bind_fs_state call because it goes through aapoint in bind_shader() 82 svga_bind_fs_state(&svga->pipe, shader); in bind_shader() 85 svga->pipe.bind_gs_state(&svga->pipe, shader); in bind_shader() 88 svga->pipe.bind_tcs_state(&svga->pipe, shader); in bind_shader() 91 svga->pipe.bind_tes_state(&svga->pipe, shade in bind_shader() [all...] |
H A D | svga_pipe_streamout.c | 88 struct svga_winsys_screen *sws = svga_screen(svga->pipe.screen)->sws; in svga_define_stream_output() 343 struct svga_winsys_screen *sws = svga_screen(svga->pipe.screen)->sws; in svga_delete_stream_output() 375 svga_create_stream_output_target(struct pipe_context *pipe, in svga_create_stream_output_target() argument 380 struct svga_context *svga = svga_context(pipe); in svga_create_stream_output_target() 395 sot->base.context = pipe; in svga_create_stream_output_target() 404 svga_destroy_stream_output_target(struct pipe_context *pipe, in svga_destroy_stream_output_target() argument 416 svga_set_stream_output_targets(struct pipe_context *pipe, in svga_set_stream_output_targets() argument 421 struct svga_context *svga = svga_context(pipe); in svga_set_stream_output_targets() 533 svga->pipe.create_stream_output_target = svga_create_stream_output_target; in svga_init_stream_output_functions() 534 svga->pipe in svga_init_stream_output_functions() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | queryobj.c | 34 #include "pipe/p_context.h" 35 #include "pipe/p_screen.h" 39 #include "pipe/p_context.h" 40 #include "pipe/p_screen.h" 61 free_queries(struct pipe_context *pipe, struct gl_query_object *q) in free_queries() argument 64 pipe->destroy_query(pipe, q->pq); in free_queries() 69 pipe->destroy_query(pipe, q->pq_begin); in free_queries() 78 struct pipe_context *pipe in delete_query() local 131 struct pipe_context *pipe = ctx->pipe; begin_query() local 228 struct pipe_context *pipe = ctx->pipe; end_query() local 254 get_query_result(struct pipe_context *pipe, struct gl_query_object *q, boolean wait) get_query_result() argument 339 struct pipe_context *pipe = ctx->pipe; _mesa_wait_query() local 357 struct pipe_context *pipe = ctx->pipe; _mesa_check_query() local 366 struct pipe_context *pipe = ctx->pipe; _mesa_get_timestamp() local 385 struct pipe_context *pipe = ctx->pipe; store_query_result() local [all...] |
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_drmif.h | 47 * use that yet, so just ignoring the 2nd 2d pipe for now 147 /* pipe functions: 153 struct fd_pipe *fd_pipe_ref(struct fd_pipe *pipe); 154 struct fd_pipe *fd_pipe_ref_locked(struct fd_pipe *pipe); 155 void fd_pipe_del(struct fd_pipe *pipe); 156 void fd_pipe_purge(struct fd_pipe *pipe); 157 const struct fd_dev_id * fd_pipe_dev_id(struct fd_pipe *pipe); 158 int fd_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param, 160 int fd_pipe_set_param(struct fd_pipe *pipe, enum fd_param_id param, 162 int fd_pipe_wait(struct fd_pipe *pipe, cons [all...] |
H A D | freedreno_ringbuffer_sp.h | 107 struct fd_pipe *pipe; member 121 void fd_pipe_sp_flush(struct fd_pipe *pipe, uint32_t fence); 123 struct fd_submit *fd_submit_sp_new(struct fd_pipe *pipe, 125 void fd_pipe_sp_ringpool_init(struct fd_pipe *pipe); 126 void fd_pipe_sp_ringpool_fini(struct fd_pipe *pipe); 127 struct fd_ringbuffer *fd_ringbuffer_sp_new_object(struct fd_pipe *pipe, uint32_t size);
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor_gfx.c | 30 #include "pipe/p_compiler.h" 31 #include "pipe/p_context.h" 123 return ureg_create_shader_and_destroy(shader, c->pipe); in create_vert_shader() 284 return ureg_create_shader_and_destroy(shader, c->pipe); in create_frag_shader_video_buffer() 307 return ureg_create_shader_and_destroy(shader, c->pipe); in create_frag_shader_weave_rgb() 339 return ureg_create_shader_and_destroy(shader, c->pipe); in create_frag_shader_deint_yuv() 398 return ureg_create_shader_and_destroy(shader, c->pipe); in create_frag_shader_palette() 430 return ureg_create_shader_and_destroy(shader, c->pipe); in create_frag_shader_rgba() 467 return ureg_create_shader_and_destroy(shader, c->pipe); in create_frag_shader_rgb_yuv() 610 u_upload_alloc(c->pipe in gen_vertex_data() [all...] |
H A D | vl_vertex_buffers.h | 30 #include "pipe/p_state.h" 31 #include "pipe/p_video_state.h" 108 struct pipe_vertex_buffer vl_vb_upload_quads(struct pipe_context *pipe); 110 struct pipe_vertex_buffer vl_vb_upload_pos(struct pipe_context *pipe, unsigned width, unsigned height); 112 void *vl_vb_get_ves_ycbcr(struct pipe_context *pipe); 114 void *vl_vb_get_ves_mv(struct pipe_context *pipe); 117 struct pipe_context *pipe, 122 void vl_vb_map(struct vl_vertex_buffer *buffer, struct pipe_context *pipe); 134 void vl_vb_unmap(struct vl_vertex_buffer *buffer, struct pipe_context *pipe);
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_surface.c | 35 #include "pipe/p_defines.h" 36 #include "pipe/p_screen.h" 37 #include "pipe/p_state.h" 193 * Fallback function for pipe->resource_copy_region(). 202 util_resource_copy_region(struct pipe_context *pipe, in util_resource_copy_region() argument 292 src_map = pipe->buffer_map(pipe, in util_resource_copy_region() 302 dst_map = pipe->buffer_map(pipe, in util_resource_copy_region() 317 pipe in util_resource_copy_region() 380 util_clear_color_texture(struct pipe_context *pipe, struct pipe_resource *texture, enum pipe_format format, const union pipe_color_union *color, unsigned level, unsigned dstx, unsigned dsty, unsigned dstz, unsigned width, unsigned height, unsigned depth) util_clear_color_texture() argument 421 util_clear_render_target(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height) util_clear_render_target() argument 575 util_clear_depth_stencil_texture(struct pipe_context *pipe, struct pipe_resource *texture, enum pipe_format format, unsigned clear_flags, uint64_t zstencil, unsigned level, unsigned dstx, unsigned dsty, unsigned dstz, unsigned width, unsigned height, unsigned depth) util_clear_depth_stencil_texture() argument 615 util_clear_texture(struct pipe_context *pipe, struct pipe_resource *tex, unsigned level, const struct pipe_box *box, const void *data) util_clear_texture() argument 667 util_clear_depth_stencil(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) util_clear_depth_stencil() argument [all...] |
H A D | u_draw.c | 129 util_draw_indirect_read(struct pipe_context *pipe, in util_draw_indirect_read() argument 145 uint32_t *dc_param = pipe_buffer_map_range(pipe, in util_draw_indirect_read() 154 pipe_buffer_unmap(pipe, dc_transfer); in util_draw_indirect_read() 165 params = pipe_buffer_map_range(pipe, in util_draw_indirect_read() 186 pipe_buffer_unmap(pipe, transfer); in util_draw_indirect_read() 195 util_draw_indirect(struct pipe_context *pipe, in util_draw_indirect() argument 213 uint32_t *dc_param = pipe_buffer_map_range(pipe, in util_draw_indirect() 223 pipe_buffer_unmap(pipe, dc_transfer); in util_draw_indirect() 229 pipe_buffer_map_range(pipe, in util_draw_indirect() 249 pipe in util_draw_indirect() [all...] |
H A D | u_debug_image.h | 31 #include "pipe/p_compiler.h" 32 #include "pipe/p_format.h" 46 void debug_dump_surface(struct pipe_context *pipe, 49 void debug_dump_texture(struct pipe_context *pipe, 52 void debug_dump_surface_bmp(struct pipe_context *pipe, 55 void debug_dump_transfer_bmp(struct pipe_context *pipe, 66 #define debug_dump_surface(pipe, prefix, surface) ((void)0) 67 #define debug_dump_surface_bmp(pipe, filename, surface) ((void)0)
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_tile_cache.c | 47 sp_create_tex_tile_cache( struct pipe_context *pipe ) in sp_create_tex_tile_cache() 57 tc->pipe = pipe; in sp_create_tex_tile_cache() 77 tc->pipe->texture_unmap(tc->pipe, tc->transfer); in sp_destroy_tex_tile_cache() 80 tc->pipe->texture_unmap(tc->pipe, tc->tex_trans); in sp_destroy_tex_tile_cache() 135 tc->pipe->texture_unmap(tc->pipe, tc->tex_trans); in sp_tex_tile_cache_set_sampler_view() 233 tc->pipe in sp_find_cached_tile_tex() [all...] |
/third_party/musl/src/unistd/mips64/ |
H A D | pipe.s | 2 .global pipe 3 .type pipe,@function 4 pipe: label 5 lui $3, %hi(%neg(%gp_rel(pipe))) 6 daddiu $3, $3, %lo(%neg(%gp_rel(pipe)))
|
/third_party/musl/src/unistd/mipsn32/ |
H A D | pipe.s | 2 .global pipe 3 .type pipe,@function 4 pipe: label 5 lui $3, %hi(%neg(%gp_rel(pipe))) 6 addiu $3, $3, %lo(%neg(%gp_rel(pipe)))
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_rasterizer.c | 28 #include "pipe/p_defines.h" 58 llvmpipe_create_rasterizer_state(struct pipe_context *pipe, in llvmpipe_create_rasterizer_state() argument 102 llvmpipe_bind_rasterizer_state(struct pipe_context *pipe, void *handle) in llvmpipe_bind_rasterizer_state() argument 104 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_rasterizer_state() 123 llvmpipe_delete_rasterizer_state(struct pipe_context *pipe, in llvmpipe_delete_rasterizer_state() argument 134 llvmpipe->pipe.create_rasterizer_state = llvmpipe_create_rasterizer_state; in llvmpipe_init_rasterizer_funcs() 135 llvmpipe->pipe.bind_rasterizer_state = llvmpipe_bind_rasterizer_state; in llvmpipe_init_rasterizer_funcs() 136 llvmpipe->pipe.delete_rasterizer_state = llvmpipe_delete_rasterizer_state; in llvmpipe_init_rasterizer_funcs()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | pixelshader9.c | 29 #include "pipe/p_context.h" 40 struct pipe_context *pipe; in NinePixelShader9_ctor() local 70 pipe = nine_context_get_pipe_acquire(device); in NinePixelShader9_ctor() 71 hr = nine_translate_shader(device, &info, pipe); in NinePixelShader9_ctor() 115 struct pipe_context *pipe = nine_context_get_pipe_multithread(This->base.device); in NinePixelShader9_dtor() local 122 pipe->bind_fs_state(pipe, NULL); in NinePixelShader9_dtor() 127 pipe->delete_fs_state(pipe, var->cso); in NinePixelShader9_dtor() 135 pipe in NinePixelShader9_dtor() 177 struct pipe_context *pipe = This->base.device->context.pipe; NinePixelShader9_GetVariant() local [all...] |
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_buffer.cpp | 40 d3d12_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) in d3d12_video_buffer_create() argument 42 assert(pipe); in d3d12_video_buffer_create() 67 pD3D12VideoBuffer->base.context = pipe; in d3d12_video_buffer_create() 94 pD3D12VideoBuffer->texture = (struct d3d12_resource *) pipe->screen->resource_create(pipe->screen, &templ); in d3d12_video_buffer_create() 95 d3d12_promote_to_permanent_residency((struct d3d12_screen*) pipe->screen, pD3D12VideoBuffer->texture); in d3d12_video_buffer_create() 177 struct pipe_context * pipe = pD3D12VideoBuffer->base.context; in d3d12_video_buffer_get_surfaces() local 198 pipe->create_surface(pipe, pCurPlaneResource, &surface_template); in d3d12_video_buffer_get_surfaces() 225 struct pipe_context * pipe in d3d12_video_buffer_get_sampler_view_planes() local 276 struct pipe_context * pipe = pD3D12VideoBuffer->base.context; d3d12_video_buffer_get_sampler_view_components() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_context.c | 77 struct pipe_context *pipe = hud->pipe; in hud_draw_colored_prims() local 88 pipe->set_constant_buffer(pipe, PIPE_SHADER_VERTEX, 0, false, &hud->constbuf); in hud_draw_colored_prims() 90 u_upload_data(hud->pipe->stream_uploader, 0, in hud_draw_colored_prims() 93 u_upload_unmap(hud->pipe->stream_uploader); in hud_draw_colored_prims() 462 struct pipe_context *pipe = hud->pipe; in hud_draw_results() local 511 surf = pipe->create_surface(pipe, te in hud_draw_results() 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 724 struct pipe_context *pipe = cso ? cso_get_pipe_context(cso) : NULL; hud_run() local 744 hud_record_only(struct hud_context *hud, struct pipe_context *pipe) hud_record_only() argument 990 hud_graph_destroy(struct hud_graph *graph, struct pipe_context *pipe) hud_graph_destroy() argument 1624 struct pipe_context *pipe = hud->pipe; hud_unset_draw_context() local 1656 struct pipe_context *pipe = cso_get_pipe_context(cso); hud_set_draw_context() local 1789 struct pipe_context *pipe = hud->record_pipe; hud_unset_record_context() local 1810 hud_set_record_context(struct hud_context *hud, struct pipe_context *pipe) hud_set_record_context() argument [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/liteos/dfile/ |
H A D | sys_dfile_session.c | 49 PipeDesc pipe = session->receiverPipe[PIPE_OUT]; in WaitSocketEvent() local 50 if (pipe >= FD_SETSIZE) { in WaitSocketEvent() 51 LOGE(TAG, "pipe fd %d is too big", pipe); in WaitSocketEvent() 54 if (nfds < pipe + 1) { in WaitSocketEvent() 55 nfds = pipe + 1; in WaitSocketEvent() 57 FD_SET(pipe, &readFds); in WaitSocketEvent()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/unix/dfile/ |
H A D | sys_dfile_session.c | 49 PipeDesc pipe = session->receiverPipe[PIPE_OUT]; in WaitSocketEvent() local 50 if (pipe >= FD_SETSIZE) { in WaitSocketEvent() 51 LOGE(TAG, "pipe fd %d is too big", pipe); in WaitSocketEvent() 54 if (nfds < pipe + 1) { in WaitSocketEvent() 55 nfds = pipe + 1; in WaitSocketEvent() 57 FD_SET(pipe, &readFds); in WaitSocketEvent()
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | kernel.cpp | 27 #include "pipe/p_context.h" 83 q.pipe->bind_compute_state(q.pipe, st); in launch() 84 q.pipe->bind_sampler_states(q.pipe, PIPE_SHADER_COMPUTE, in launch() 88 q.pipe->set_sampler_views(q.pipe, PIPE_SHADER_COMPUTE, 0, in launch() 90 q.pipe->set_shader_images(q.pipe, PIPE_SHADER_COMPUTE, 0, in launch() 92 q.pipe in launch() [all...] |