Home
last modified time | relevance | path

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

12345678910>>...67

/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_context.c52 struct pipe_context *pipe = dd_context(_pipe)->pipe; in dd_context_create_query() local
55 query = pipe->create_query(pipe, query_type, index); in dd_context_create_query()
65 pipe->destroy_query(pipe, query); in dd_context_create_query()
77 struct pipe_context *pipe = dd_context(_pipe)->pipe; in dd_context_create_batch_query() local
80 query = pipe->create_batch_query(pipe, num_queries, query_types); in dd_context_create_batch_query()
91 pipe->destroy_query(pipe, query); in dd_context_create_batch_query()
103 struct pipe_context *pipe = dd_context(_pipe)->pipe; in dd_context_destroy_query() local
105 pipe->destroy_query(pipe, dd_query_unwrap(query)); in dd_context_destroy_query()
113 struct pipe_context *pipe = dctx->pipe; in dd_context_begin_query() local
115 return pipe->begin_query(pipe, dd_query_unwrap(query)); in dd_context_begin_query()
[all …]
/external/mesa3d/src/gallium/drivers/trace/
Dtr_context.c95 struct pipe_context *pipe = tr_ctx->pipe; in trace_context_draw_vbo() local
99 trace_dump_arg(ptr, pipe); in trace_context_draw_vbo()
104 pipe->draw_vbo(pipe, info); in trace_context_draw_vbo()
116 struct pipe_context *pipe = tr_ctx->pipe; in trace_context_create_query() local
121 trace_dump_arg(ptr, pipe); in trace_context_create_query()
125 query = pipe->create_query(pipe, query_type, index); in trace_context_create_query()
139 pipe->destroy_query(pipe, query); in trace_context_create_query()
153 struct pipe_context *pipe = tr_ctx->pipe; in trace_context_destroy_query() local
161 trace_dump_arg(ptr, pipe); in trace_context_destroy_query()
164 pipe->destroy_query(pipe, query); in trace_context_destroy_query()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/core/
Ddevice.cpp34 get_compute_param(pipe_screen *pipe, pipe_shader_ir ir_format, in get_compute_param() argument
36 int sz = pipe->get_compute_param(pipe, ir_format, cap, NULL); in get_compute_param()
39 pipe->get_compute_param(pipe, ir_format, cap, &v.front()); in get_compute_param()
46 pipe = pipe_loader_create_screen(ldev); in device()
47 if (!pipe || !pipe->get_param(pipe, PIPE_CAP_COMPUTE)) { in device()
48 if (pipe) in device()
49 pipe->destroy(pipe); in device()
55 if (pipe) in ~device()
56 pipe->destroy(pipe); in ~device()
104 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE); in max_image_buffer_size()
[all …]
Dresource.cpp36 pipe({ (int)origin[0], (int16_t)origin[1], in box()
42 return &pipe; in operator const pipe_box*()
46 pipe_box pipe; member in __anonccc59cd00111::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/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/util/
Du_blitter.c149 struct blitter_context *util_blitter_create(struct pipe_context *pipe) in util_blitter_create() argument
163 ctx->base.pipe = pipe; in util_blitter_create()
166 ctx->bind_fs_state = pipe->bind_fs_state; in util_blitter_create()
167 ctx->delete_fs_state = pipe->delete_fs_state; in util_blitter_create()
183 pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_GEOMETRY, in util_blitter_create()
187 pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_TESS_CTRL, in util_blitter_create()
191 pipe->screen->get_param(pipe->screen, in util_blitter_create()
195 pipe->screen->get_param(pipe->screen, in util_blitter_create()
199 pipe->screen->get_param(pipe->screen, PIPE_CAP_TEXTURE_MULTISAMPLE); in util_blitter_create()
201 ctx->has_tex_lz = pipe->screen->get_param(pipe->screen, in util_blitter_create()
[all …]
Du_threaded_context.c62 typedef void (*tc_execute)(struct pipe_context *pipe, union tc_payload *payload);
78 tc_assert(tc->batch_slots[i].pipe == tc->pipe); in tc_debug_check()
86 struct pipe_context *pipe = batch->pipe; in tc_batch_execute() local
96 execute_func[iter->call_id](pipe, &iter->payload); in tc_batch_execute()
283 threaded_context_unwrap_sync(struct pipe_context *pipe) in threaded_context_unwrap_sync() argument
285 if (!pipe || !pipe->priv) in threaded_context_unwrap_sync()
286 return pipe; in threaded_context_unwrap_sync()
288 tc_sync(threaded_context(pipe)); in threaded_context_unwrap_sync()
289 return (struct pipe_context*)pipe->priv; in threaded_context_unwrap_sync()
299 tc_call_##func(struct pipe_context *pipe, union tc_payload *payload) \
[all …]
/external/libdrm/freedreno/msm/
Dmsm_pipe.c31 static int query_param(struct fd_pipe *pipe, uint32_t param, in query_param() argument
34 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in query_param()
36 .pipe = msm_pipe->pipe, in query_param()
41 ret = drmCommandWriteRead(pipe->dev->fd, DRM_MSM_GET_PARAM, in query_param()
51 static int msm_pipe_get_param(struct fd_pipe *pipe, in msm_pipe_get_param() argument
54 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_get_param()
67 return query_param(pipe, MSM_PARAM_MAX_FREQ, value); in msm_pipe_get_param()
69 return query_param(pipe, MSM_PARAM_TIMESTAMP, value); in msm_pipe_get_param()
71 return query_param(pipe, MSM_PARAM_NR_RINGS, value); in msm_pipe_get_param()
78 static int msm_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in msm_pipe_wait() argument
[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()
128 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
132 vl_matrix_filter_init(struct vl_matrix_filter *filter, struct pipe_context *pipe, in vl_matrix_filter_init() argument
144 assert(filter && pipe); in vl_matrix_filter_init()
149 filter->pipe = pipe; in vl_matrix_filter_init()
155 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_matrix_filter_init()
168 filter->blend = pipe->create_blend_state(pipe, &blend); in vl_matrix_filter_init()
182 filter->sampler = pipe->create_sampler_state(pipe, &sampler); in vl_matrix_filter_init()
186 filter->quad = vl_vb_upload_quads(pipe); in vl_matrix_filter_init()
195 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()
159 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
244 vl_median_filter_init(struct vl_median_filter *filter, struct pipe_context *pipe, in vl_median_filter_init() argument
255 assert(filter && pipe); in vl_median_filter_init()
260 filter->pipe = pipe; in vl_median_filter_init()
266 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_median_filter_init()
279 filter->blend = pipe->create_blend_state(pipe, &blend); in vl_median_filter_init()
293 filter->sampler = pipe->create_sampler_state(pipe, &sampler); in vl_median_filter_init()
297 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.c70 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
154 struct pipe_screen *screen = filter->pipe->screen; in create_frag_shader()
242 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
246 vl_bicubic_filter_init(struct vl_bicubic_filter *filter, struct pipe_context *pipe, in vl_bicubic_filter_init() argument
256 assert(filter && pipe); in vl_bicubic_filter_init()
260 filter->pipe = pipe; in vl_bicubic_filter_init()
266 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_bicubic_filter_init()
279 filter->blend = pipe->create_blend_state(pipe, &blend); in vl_bicubic_filter_init()
293 filter->sampler = pipe->create_sampler_state(pipe, &sampler); in vl_bicubic_filter_init()
297 filter->quad = vl_vb_upload_quads(pipe); in vl_bicubic_filter_init()
[all …]
Dvl_zscan.c191 return ureg_create_shader_and_destroy(shader, zscan->pipe); in create_vert_shader()
253 return ureg_create_shader_and_destroy(shader, zscan->pipe); in create_frag_shader()
272 zscan->pipe->delete_vs_state(zscan->pipe, zscan->vs); in init_shaders()
283 zscan->pipe->delete_vs_state(zscan->pipe, zscan->vs); in cleanup_shaders()
284 zscan->pipe->delete_fs_state(zscan->pipe, zscan->fs); in cleanup_shaders()
301 zscan->rs_state = zscan->pipe->create_rasterizer_state(zscan->pipe, &rs_state); in init_state()
320 zscan->blend = zscan->pipe->create_blend_state(zscan->pipe, &blend); in init_state()
335 zscan->samplers[i] = zscan->pipe->create_sampler_state(zscan->pipe, &sampler); in init_state()
345 zscan->pipe->delete_sampler_state(zscan->pipe, zscan->samplers[i]); in init_state()
347 zscan->pipe->delete_rasterizer_state(zscan->pipe, zscan->rs_state); in init_state()
[all …]
/external/mesa3d/src/mesa/main/
Dpipelineobj.c210 struct gl_pipeline_object *pipe) { in use_program_stage() argument
216 _mesa_use_program(ctx, stage, shProg, prog, pipe); in use_program_stage()
221 GLbitfield stages, struct gl_pipeline_object *pipe) { in use_program_stages() argument
237 use_program_stage(ctx, GL_VERTEX_SHADER, shProg, pipe); in use_program_stages()
240 use_program_stage(ctx, GL_FRAGMENT_SHADER, shProg, pipe); in use_program_stages()
243 use_program_stage(ctx, GL_GEOMETRY_SHADER, shProg, pipe); in use_program_stages()
246 use_program_stage(ctx, GL_TESS_CONTROL_SHADER, shProg, pipe); in use_program_stages()
249 use_program_stage(ctx, GL_TESS_EVALUATION_SHADER, shProg, pipe); in use_program_stages()
252 use_program_stage(ctx, GL_COMPUTE_SHADER, shProg, pipe); in use_program_stages()
254 pipe->Validated = false; in use_program_stages()
[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/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/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c65 struct pipe_context *pipe; member
133 return cso->pipe; in cso_get_pipe_context()
293 if (u_vbuf_get_caps(cso->pipe->screen, &caps, flags)) { in cso_init_vbuf()
294 cso->vbuf = u_vbuf_create(cso->pipe, &caps, in cso_init_vbuf()
300 cso_create_context(struct pipe_context *pipe, unsigned u_vbuf_flags) in cso_create_context() argument
313 ctx->pipe = pipe; in cso_create_context()
323 if (pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_GEOMETRY, in cso_create_context()
327 if (pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_TESS_CTRL, in cso_create_context()
331 if (pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_COMPUTE, in cso_create_context()
334 pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_COMPUTE, in cso_create_context()
[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
214 uint16_t class_3d = nouveau_screen(pipe->screen)->class_3d; in nvc0_rasterizer_state_create()
220 so->pipe = *cso; in nvc0_rasterizer_state_create()
332 nvc0_rasterizer_state_bind(struct pipe_context *pipe, void *hwcso) in nvc0_rasterizer_state_bind() argument
334 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_rasterizer_state_bind()
[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 …]
Dsp_context.c58 softpipe_destroy( struct pipe_context *pipe ) in softpipe_destroy() argument
60 struct softpipe_context *softpipe = softpipe_context( pipe ); in softpipe_destroy()
65 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler); in softpipe_destroy()
90 if (softpipe->pipe.stream_uploader) in softpipe_destroy()
91 u_upload_destroy(softpipe->pipe.stream_uploader); in softpipe_destroy()
141 softpipe_is_resource_referenced( struct pipe_context *pipe, in softpipe_is_resource_referenced() argument
145 struct softpipe_context *softpipe = softpipe_context( pipe ); in softpipe_is_resource_referenced()
181 softpipe_render_condition(struct pipe_context *pipe, in softpipe_render_condition() argument
186 struct softpipe_context *softpipe = softpipe_context( pipe ); in softpipe_render_condition()
221 softpipe->pipe.screen = screen; in softpipe_create_context()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_queryobj.c66 free_queries(struct pipe_context *pipe, struct st_query_object *stq) in free_queries() argument
69 pipe->destroy_query(pipe, stq->pq); in free_queries()
74 pipe->destroy_query(pipe, stq->pq_begin); in free_queries()
83 struct pipe_context *pipe = st_context(ctx)->pipe; in st_DeleteQuery() local
86 free_queries(pipe, stq); in st_DeleteQuery()
96 struct pipe_context *pipe = st->pipe; in st_BeginQuery() local
152 free_queries(pipe, stq); in st_BeginQuery()
160 stq->pq_begin = pipe->create_query(pipe, type, 0); in st_BeginQuery()
164 ret = pipe->end_query(pipe, stq->pq_begin); in st_BeginQuery()
167 stq->pq = pipe->create_query(pipe, type, q->Stream); in st_BeginQuery()
[all …]
/external/grpc-grpc/src/objective-c/tests/
DRxLibraryUnitTests.m161 GRXBufferedPipe *pipe = [GRXBufferedPipe pipe];
162 [pipe startWithWriteable:writeable];
163 [pipe writeValue:anyValue];
164 [pipe writesFinishedWithError:nil];
185 GRXBufferedPipe *pipe = [GRXBufferedPipe pipe];
186 [pipe startWithWriteable:writeable];
187 [pipe writesFinishedWithError:anyError];
208 GRXBufferedPipe *pipe = [GRXBufferedPipe pipe];
210 [pipe writeValue:anyValue];
211 [pipe writesFinishedWithError:nil];
[all …]
/external/libdrm/freedreno/
Dfreedreno_pipe.c39 struct fd_pipe *pipe; in fd_pipe_new2() local
52 pipe = dev->funcs->pipe_new(dev, id, prio); in fd_pipe_new2()
53 if (!pipe) { in fd_pipe_new2()
58 pipe->dev = dev; in fd_pipe_new2()
59 pipe->id = id; in fd_pipe_new2()
61 fd_pipe_get_param(pipe, FD_GPU_ID, &val); in fd_pipe_new2()
62 pipe->gpu_id = val; in fd_pipe_new2()
64 return pipe; in fd_pipe_new2()
73 void fd_pipe_del(struct fd_pipe *pipe) in fd_pipe_del() argument
75 pipe->funcs->destroy(pipe); in fd_pipe_del()
[all …]

12345678910>>...67