Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 1426) sorted by relevance

12345678910>>...58

/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_context.c68 struct pipe_context *pipe = dd_context(_pipe)->pipe; in dd_context_create_query() local
71 query = pipe->create_query(pipe, query_type, index); in dd_context_create_query()
81 pipe->destroy_query(pipe, query); in dd_context_create_query()
93 struct pipe_context *pipe = dd_context(_pipe)->pipe; in dd_context_create_batch_query() local
96 query = pipe->create_batch_query(pipe, num_queries, query_types); in dd_context_create_batch_query()
107 pipe->destroy_query(pipe, query); in dd_context_create_batch_query()
119 struct pipe_context *pipe = dd_context(_pipe)->pipe; in dd_context_destroy_query() local
121 pipe->destroy_query(pipe, dd_query_unwrap(query)); in dd_context_destroy_query()
129 struct pipe_context *pipe = dctx->pipe; in dd_context_begin_query() local
131 return pipe->begin_query(pipe, dd_query_unwrap(query)); in dd_context_begin_query()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/core/
Ddevice.cpp33 get_compute_param(pipe_screen *pipe, pipe_shader_ir ir_format, in get_compute_param() argument
35 int sz = pipe->get_compute_param(pipe, ir_format, cap, NULL); in get_compute_param()
38 pipe->get_compute_param(pipe, ir_format, cap, &v.front()); in get_compute_param()
45 pipe = pipe_loader_create_screen(ldev); in device()
46 if (!pipe || !pipe->get_param(pipe, PIPE_CAP_COMPUTE)) { in device()
47 if (pipe) in device()
48 pipe->destroy(pipe); in device()
54 if (pipe) in ~device()
55 pipe->destroy(pipe); in ~device()
103 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE); in max_image_buffer_size()
[all …]
Dresource.cpp36 pipe({ (int)origin[0], (int)origin[1], in box()
42 return &pipe; in operator const pipe_box*()
46 pipe_box pipe; member in __anon0b9db1c60111::box
51 device(dev), obj(obj), pipe(NULL), offset() { in resource()
62 q.pipe->resource_copy_region(q.pipe, pipe, 0, p[0], p[1], p[2], in copy()
63 src_res.pipe, 0, in copy()
90 u_sampler_view_default_template(&info, pipe, pipe->format); in bind_sampler_view()
91 return q.pipe->create_sampler_view(q.pipe, pipe, &info); in bind_sampler_view()
97 q.pipe->sampler_view_destroy(q.pipe, st); in unbind_sampler_view()
104 info.format = pipe->format; in bind_surface()
[all …]
/external/mesa3d/src/gallium/drivers/trace/
Dtr_context.c114 struct pipe_context *pipe = tr_ctx->pipe; in trace_context_draw_vbo() local
118 trace_dump_arg(ptr, pipe); in trace_context_draw_vbo()
130 pipe->draw_vbo(pipe, &_info); in trace_context_draw_vbo()
132 pipe->draw_vbo(pipe, info); in trace_context_draw_vbo()
145 struct pipe_context *pipe = tr_ctx->pipe; in trace_context_create_query() local
150 trace_dump_arg(ptr, pipe); in trace_context_create_query()
154 query = pipe->create_query(pipe, query_type, index); in trace_context_create_query()
168 pipe->destroy_query(pipe, query); in trace_context_create_query()
182 struct pipe_context *pipe = tr_ctx->pipe; in trace_context_destroy_query() local
190 trace_dump_arg(ptr, pipe); in trace_context_destroy_query()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c146 util_blitter_get_next_surface_layer(struct pipe_context *pipe,
149 struct blitter_context *util_blitter_create(struct pipe_context *pipe) in util_blitter_create() argument
163 ctx->base.pipe = pipe; in util_blitter_create()
167 ctx->bind_fs_state = pipe->bind_fs_state; in util_blitter_create()
168 ctx->delete_fs_state = pipe->delete_fs_state; in util_blitter_create()
184 pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_GEOMETRY, in util_blitter_create()
188 pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_TESS_CTRL, in util_blitter_create()
192 pipe->screen->get_param(pipe->screen, in util_blitter_create()
196 pipe->screen->get_param(pipe->screen, in util_blitter_create()
200 pipe->screen->get_param(pipe->screen, PIPE_CAP_TEXTURE_MULTISAMPLE); in util_blitter_create()
[all …]
Du_simple_shaders.h48 util_make_vertex_passthrough_shader(struct pipe_context *pipe,
55 util_make_vertex_passthrough_shader_with_so(struct pipe_context *pipe,
63 util_make_layered_clear_vertex_shader(struct pipe_context *pipe);
66 util_make_layered_clear_helper_vertex_shader(struct pipe_context *pipe);
69 util_make_layered_clear_geometry_shader(struct pipe_context *pipe);
72 util_make_fragment_tex_shader_writemask(struct pipe_context *pipe,
80 util_make_fragment_tex_shader(struct pipe_context *pipe, unsigned tex_target,
86 util_make_fragment_tex_shader_writedepth(struct pipe_context *pipe,
92 util_make_fragment_tex_shader_writedepthstencil(struct pipe_context *pipe,
98 util_make_fragment_tex_shader_writestencil(struct pipe_context *pipe,
[all …]
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_context.c45 struct pipe_context *pipe = rb_pipe->pipe; in rbug_destroy() local
50 pipe->destroy(pipe); in rbug_destroy()
51 rb_pipe->pipe = NULL; in rbug_destroy()
120 struct pipe_context *pipe = rb_pipe->pipe; in rbug_draw_vbo() local
130 pipe->draw_vbo(pipe, info); in rbug_draw_vbo()
143 struct pipe_context *pipe = rb_pipe->pipe; in rbug_create_query() local
147 query = pipe->create_query(pipe, in rbug_create_query()
159 struct pipe_context *pipe = rb_pipe->pipe; in rbug_destroy_query() local
162 pipe->destroy_query(pipe, in rbug_destroy_query()
172 struct pipe_context *pipe = rb_pipe->pipe; in rbug_begin_query() local
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_deint_filter.c83 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
119 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_copy_frag_shader()
232 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_deint_frag_shader()
236 vl_deint_filter_init(struct vl_deint_filter *filter, struct pipe_context *pipe, in vl_deint_filter_init() argument
247 assert(filter && pipe); in vl_deint_filter_init()
251 filter->pipe = pipe; in vl_deint_filter_init()
258 templ.buffer_format = pipe->screen->get_video_param in vl_deint_filter_init()
260 pipe->screen, in vl_deint_filter_init()
269 filter->video_buffer = vl_video_buffer_create(pipe, &templ); in vl_deint_filter_init()
277 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_deint_filter_init()
[all …]
Dvl_matrix_filter.c68 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
147 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
151 vl_matrix_filter_init(struct vl_matrix_filter *filter, struct pipe_context *pipe, in vl_matrix_filter_init() argument
163 assert(filter && pipe); in vl_matrix_filter_init()
168 filter->pipe = pipe; in vl_matrix_filter_init()
174 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_matrix_filter_init()
187 filter->blend = pipe->create_blend_state(pipe, &blend); in vl_matrix_filter_init()
201 filter->sampler = pipe->create_sampler_state(pipe, &sampler); in vl_matrix_filter_init()
205 filter->quad = vl_vb_upload_quads(pipe); in vl_matrix_filter_init()
214 filter->ves = pipe->create_vertex_elements_state(pipe, 1, &ve); in vl_matrix_filter_init()
[all …]
Dvl_median_filter.c66 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
80 struct pipe_screen *screen = filter->pipe->screen; in create_frag_shader()
154 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
239 vl_median_filter_init(struct vl_median_filter *filter, struct pipe_context *pipe, in vl_median_filter_init() argument
250 assert(filter && pipe); in vl_median_filter_init()
255 filter->pipe = pipe; in vl_median_filter_init()
261 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_median_filter_init()
274 filter->blend = pipe->create_blend_state(pipe, &blend); in vl_median_filter_init()
288 filter->sampler = pipe->create_sampler_state(pipe, &sampler); in vl_median_filter_init()
292 filter->quad = vl_vb_upload_quads(pipe); in vl_median_filter_init()
[all …]
Dvl_mc.c156 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ref_vert_shader()
184 field = calc_line(r->pipe->screen, shader); in create_ref_frag_shader()
225 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ref_frag_shader()
310 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ycbcr_vert_shader()
331 tmp = calc_line(r->pipe->screen, shader); in create_ycbcr_frag_shader()
372 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ycbcr_frag_shader()
395 r->sampler_ref = r->pipe->create_sampler_state(r->pipe, &sampler); in init_pipe_state()
413 r->blend_clear[i] = r->pipe->create_blend_state(r->pipe, &blend); in init_pipe_state()
419 r->blend_add[i] = r->pipe->create_blend_state(r->pipe, &blend); in init_pipe_state()
425 r->blend_sub[i] = r->pipe->create_blend_state(r->pipe, &blend); in init_pipe_state()
[all …]
Dvl_bicubic_filter.c69 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
153 struct pipe_screen *screen = filter->pipe->screen; in create_frag_shader()
236 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
240 vl_bicubic_filter_init(struct vl_bicubic_filter *filter, struct pipe_context *pipe, in vl_bicubic_filter_init() argument
250 assert(filter && pipe); in vl_bicubic_filter_init()
254 filter->pipe = pipe; in vl_bicubic_filter_init()
260 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_bicubic_filter_init()
273 filter->blend = pipe->create_blend_state(pipe, &blend); in vl_bicubic_filter_init()
287 filter->sampler = pipe->create_sampler_state(pipe, &sampler); in vl_bicubic_filter_init()
291 filter->quad = vl_vb_upload_quads(pipe); in vl_bicubic_filter_init()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c114 struct pipe_context *pipe; member
125 struct pipe_context *pipe = pstip->pipe; in generate_pstip_fs() local
126 struct pipe_screen *screen = pipe->screen; in generate_pstip_fs()
145 pstip->fs->pstip_fs = pstip->driver_create_fs_state(pipe, &pstip_fs); in generate_pstip_fs()
169 pstip->driver_bind_fs_state(pstip->pipe, pstip->fs->pstip_fs); in bind_pstip_fragment_shader()
186 struct pipe_context *pipe = pstip->pipe; in pstip_first_tri() local
214 pstip->driver_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, in pstip_first_tri()
217 pstip->driver_set_sampler_views(pipe, PIPE_SHADER_FRAGMENT, 0, in pstip_first_tri()
233 struct pipe_context *pipe = pstip->pipe; in pstip_flush() local
240 pstip->driver_bind_fs_state(pipe, pstip->fs ? pstip->fs->driver_fs : NULL); in pstip_flush()
[all …]
/external/libdrm/freedreno/
Dfreedreno_pipe.c39 struct fd_pipe *pipe = NULL; in fd_pipe_new() local
47 pipe = dev->funcs->pipe_new(dev, id); in fd_pipe_new()
48 if (!pipe) { in fd_pipe_new()
53 pipe->dev = dev; in fd_pipe_new()
54 pipe->id = id; in fd_pipe_new()
56 fd_pipe_get_param(pipe, FD_GPU_ID, &val); in fd_pipe_new()
57 pipe->gpu_id = val; in fd_pipe_new()
59 return pipe; in fd_pipe_new()
61 if (pipe) in fd_pipe_new()
62 fd_pipe_del(pipe); in fd_pipe_new()
[all …]
/external/mesa3d/src/mesa/main/
Dpipelineobj.c229 struct gl_pipeline_object *pipe = _mesa_lookup_pipeline_object(ctx, pipeline); in _mesa_UseProgramStages() local
237 if (!pipe) { in _mesa_UseProgramStages()
245 pipe->EverBound = GL_TRUE; in _mesa_UseProgramStages()
277 if (ctx->_Shader == pipe) { in _mesa_UseProgramStages()
328 _mesa_use_shader_program(ctx, GL_VERTEX_SHADER, shProg, pipe); in _mesa_UseProgramStages()
331 _mesa_use_shader_program(ctx, GL_FRAGMENT_SHADER, shProg, pipe); in _mesa_UseProgramStages()
334 _mesa_use_shader_program(ctx, GL_GEOMETRY_SHADER, shProg, pipe); in _mesa_UseProgramStages()
337 _mesa_use_shader_program(ctx, GL_TESS_CONTROL_SHADER, shProg, pipe); in _mesa_UseProgramStages()
340 _mesa_use_shader_program(ctx, GL_TESS_EVALUATION_SHADER, shProg, pipe); in _mesa_UseProgramStages()
343 _mesa_use_shader_program(ctx, GL_COMPUTE_SHADER, shProg, pipe); in _mesa_UseProgramStages()
[all …]
/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc55 void SendPackets(FakeNetworkPipe* pipe, int number_packets, int kPacketSize) { in SendPackets() argument
58 pipe->SendPacket(packet.get(), kPacketSize); in SendPackets()
77 rtc::scoped_ptr<FakeNetworkPipe> pipe( in TEST_F() local
79 pipe->SetReceiver(receiver_.get()); in TEST_F()
85 SendPackets(pipe.get(), kNumPackets , kPacketSize); in TEST_F()
93 pipe->Process(); in TEST_F()
98 pipe->Process(); in TEST_F()
103 pipe->Process(); in TEST_F()
108 pipe->Process(); in TEST_F()
117 rtc::scoped_ptr<FakeNetworkPipe> pipe( in TEST_F() local
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c88 nvc0_blend_state_create(struct pipe_context *pipe, in nvc0_blend_state_create() argument
99 so->pipe = *cso; in nvc0_blend_state_create()
194 nvc0_blend_state_bind(struct pipe_context *pipe, void *hwcso) in nvc0_blend_state_bind() argument
196 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_blend_state_bind()
203 nvc0_blend_state_delete(struct pipe_context *pipe, void *hwcso) in nvc0_blend_state_delete() argument
210 nvc0_rasterizer_state_create(struct pipe_context *pipe, in nvc0_rasterizer_state_create() argument
219 so->pipe = *cso; in nvc0_rasterizer_state_create()
325 nvc0_rasterizer_state_bind(struct pipe_context *pipe, void *hwcso) in nvc0_rasterizer_state_bind() argument
327 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_rasterizer_state_bind()
334 nvc0_rasterizer_state_delete(struct pipe_context *pipe, void *hwcso) in nvc0_rasterizer_state_delete() argument
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_queryobj.c65 free_queries(struct pipe_context *pipe, struct st_query_object *stq) in free_queries() argument
68 pipe->destroy_query(pipe, stq->pq); in free_queries()
73 pipe->destroy_query(pipe, stq->pq_begin); in free_queries()
82 struct pipe_context *pipe = st_context(ctx)->pipe; in st_DeleteQuery() local
85 free_queries(pipe, stq); in st_DeleteQuery()
95 struct pipe_context *pipe = st->pipe; in st_BeginQuery() local
143 free_queries(pipe, stq); in st_BeginQuery()
151 stq->pq_begin = pipe->create_query(pipe, type, 0); in st_BeginQuery()
155 ret = pipe->end_query(pipe, stq->pq_begin); in st_BeginQuery()
158 stq->pq = pipe->create_query(pipe, type, q->Stream); in st_BeginQuery()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_blend.c39 softpipe_create_blend_state(struct pipe_context *pipe, in softpipe_create_blend_state() argument
47 softpipe_bind_blend_state(struct pipe_context *pipe, in softpipe_bind_blend_state() argument
50 struct softpipe_context *softpipe = softpipe_context(pipe); in softpipe_bind_blend_state()
61 softpipe_delete_blend_state(struct pipe_context *pipe, in softpipe_delete_blend_state() argument
69 softpipe_set_blend_color(struct pipe_context *pipe, in softpipe_set_blend_color() argument
72 struct softpipe_context *softpipe = softpipe_context(pipe); in softpipe_set_blend_color()
89 softpipe_create_depth_stencil_state(struct pipe_context *pipe, in softpipe_create_depth_stencil_state() argument
97 softpipe_bind_depth_stencil_state(struct pipe_context *pipe, in softpipe_bind_depth_stencil_state() argument
100 struct softpipe_context *softpipe = softpipe_context(pipe); in softpipe_bind_depth_stencil_state()
109 softpipe_delete_depth_stencil_state(struct pipe_context *pipe, void *depth) in softpipe_delete_depth_stencil_state() argument
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c116 nv50_blend_state_create(struct pipe_context *pipe, in nv50_blend_state_create() argument
124 if (nv50_context(pipe)->screen->tesla->oclass >= NVA3_3D_CLASS) { in nv50_blend_state_create()
129 so->pipe = *cso; in nv50_blend_state_create()
145 if (nv50_context(pipe)->screen->tesla->oclass >= NVA3_3D_CLASS) { in nv50_blend_state_create()
208 nv50_blend_state_bind(struct pipe_context *pipe, void *hwcso) in nv50_blend_state_bind() argument
210 struct nv50_context *nv50 = nv50_context(pipe); in nv50_blend_state_bind()
217 nv50_blend_state_delete(struct pipe_context *pipe, void *hwcso) in nv50_blend_state_delete() argument
224 nv50_rasterizer_state_create(struct pipe_context *pipe, in nv50_rasterizer_state_create() argument
233 so->pipe = *cso; in nv50_rasterizer_state_create()
345 nv50_rasterizer_state_bind(struct pipe_context *pipe, void *hwcso) in nv50_rasterizer_state_bind() argument
[all …]
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c66 struct pipe_context *pipe; member
285 if (u_vbuf_get_caps(cso->pipe->screen, &caps)) { in cso_init_vbuf()
286 cso->vbuf = u_vbuf_create(cso->pipe, &caps, in cso_init_vbuf()
291 struct cso_context *cso_create_context( struct pipe_context *pipe ) in cso_create_context() argument
304 ctx->pipe = pipe; in cso_create_context()
314 if (pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_GEOMETRY, in cso_create_context()
318 if (pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_TESS_CTRL, in cso_create_context()
322 if (pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_COMPUTE, in cso_create_context()
325 pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_COMPUTE, in cso_create_context()
331 if (pipe->screen->get_param(pipe->screen, in cso_create_context()
[all …]
/external/libdrm/freedreno/msm/
Dmsm_pipe.c35 static int query_param(struct fd_pipe *pipe, uint32_t param, in query_param() argument
38 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in query_param()
40 .pipe = msm_pipe->pipe, in query_param()
45 ret = drmCommandWriteRead(pipe->dev->fd, DRM_MSM_GET_PARAM, in query_param()
55 static int msm_pipe_get_param(struct fd_pipe *pipe, in msm_pipe_get_param() argument
58 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_get_param()
71 return query_param(pipe, MSM_PARAM_MAX_FREQ, value); in msm_pipe_get_param()
73 return query_param(pipe, MSM_PARAM_TIMESTAMP, value); in msm_pipe_get_param()
80 static int msm_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in msm_pipe_wait() argument
83 struct fd_device *dev = pipe->dev; in msm_pipe_wait()
[all …]
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_driver_query.c45 struct pipe_context *pipe; member
59 struct pipe_context *pipe; in hud_batch_query_update() local
64 pipe = bq->pipe; in hud_batch_query_update()
67 pipe->end_query(pipe, bq->query[bq->head]); in hud_batch_query_update()
84 if (!pipe->get_query_result(pipe, query, FALSE, bq->result[idx])) in hud_batch_query_update()
100 pipe->destroy_query(bq->pipe, bq->query[bq->head]); in hud_batch_query_update()
107 bq->query[bq->head] = pipe->create_batch_query(pipe, in hud_batch_query_update()
127 if (!bq->pipe->begin_query(bq->pipe, bq->query[bq->head])) { in hud_batch_query_begin()
137 struct pipe_context *pipe, unsigned query_type, in batch_query_add() argument
147 bq->pipe = pipe; in batch_query_add()
[all …]
/external/valgrind/coregrind/m_scheduler/
Dsema.c59 r = VG_(pipe)(sema->pipe); in ML_()
62 vg_assert(sema->pipe[0] != sema->pipe[1]); in ML_()
64 sema->pipe[0] = VG_(safe_fd)(sema->pipe[0]); in ML_()
65 sema->pipe[1] = VG_(safe_fd)(sema->pipe[1]); in ML_()
68 VG_(debugLog)(0,"zz","sema_init: %d %d\n", sema->pipe[0], in ML_()
69 sema->pipe[1]); in ML_()
70 vg_assert(sema->pipe[0] != sema->pipe[1]); in ML_()
82 res = VG_(write)(sema->pipe[1], buf, 1); in ML_()
89 vg_assert(sema->pipe[0] != sema->pipe[1]); in ML_()
91 VG_(close)(sema->pipe[0]); in ML_()
[all …]
/external/webrtc/webrtc/video/
Dfull_stack.cc62 foreman_cif.pipe.loss_percent = 5; in TEST_F()
63 foreman_cif.pipe.queue_delay_ms = 50; in TEST_F()
73 foreman_cif.pipe.queue_length_packets = 0; in TEST_F()
74 foreman_cif.pipe.queue_delay_ms = 0; in TEST_F()
75 foreman_cif.pipe.link_capacity_kbps = 500; in TEST_F()
86 foreman_cif.pipe.queue_length_packets = 32; in TEST_F()
87 foreman_cif.pipe.queue_delay_ms = 0; in TEST_F()
88 foreman_cif.pipe.link_capacity_kbps = 500; in TEST_F()
98 foreman_cif.pipe.queue_length_packets = 0; in TEST_F()
99 foreman_cif.pipe.queue_delay_ms = 100; in TEST_F()
[all …]

12345678910>>...58