/external/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_driver_query.c | 28 /* This file contains code for reading values from pipe queries 35 #include "pipe/p_screen.h" 45 struct pipe_context *pipe; member in struct:hud_batch_query_context 59 struct pipe_context *pipe; local 64 pipe = bq->pipe; 67 pipe->end_query(pipe, bq->query[bq->head]); 84 if (!pipe->get_query_result(pipe, quer 136 batch_query_add(struct hud_batch_query_context **pbq, struct pipe_context *pipe, unsigned query_type, unsigned *result_index) argument 200 struct pipe_context *pipe; member in struct:query_info 235 struct pipe_context *pipe = info->pipe; local 293 struct pipe_context *pipe = info->pipe; local 344 struct pipe_context *pipe = info->pipe; local 359 hud_pipe_query_install(struct hud_batch_query_context **pbq, struct hud_pane *pane, struct pipe_context *pipe, const char *name, unsigned query_type, unsigned result_index, uint64_t max_value, enum pipe_driver_query_type type, enum pipe_driver_query_result_type result_type, unsigned flags) argument 413 hud_driver_query_install(struct hud_batch_query_context **pbq, struct hud_pane *pane, struct pipe_context *pipe, const char *name) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_run.c | 39 pp_blit(struct pipe_context *pipe, argument 74 pipe->blit(pipe, &blit); 110 pp_blit(ppq->p->pipe, in, 0, 0, 209 p->view = p->pipe->create_sampler_view(p->pipe, in, &v_tmp); 218 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, out, &p->surf); 235 pp_tgsi_to_state(struct pipe_context *pipe, const char *text, bool isvs, argument 261 ret_state = pipe [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_debug_image.c | 97 debug_dump_surface(struct pipe_context *pipe, argument 116 data = pipe_transfer_map(pipe, texture, surface->u.tex.level, 131 pipe->transfer_unmap(pipe, transfer); 136 debug_dump_texture(struct pipe_context *pipe, argument 147 surface = pipe->create_surface(pipe, texture, &surf_tmpl); 149 debug_dump_surface(pipe, prefix, surface); 150 pipe->surface_destroy(pipe, surfac 187 debug_dump_surface_bmp(struct pipe_context *pipe, const char *filename, struct pipe_surface *surface) argument 205 debug_dump_transfer_bmp(struct pipe_context *pipe, const char *filename, struct pipe_transfer *transfer, void *ptr) argument [all...] |
H A D | u_pstipple.c | 43 #include "pipe/p_context.h" 44 #include "pipe/p_defines.h" 45 #include "pipe/p_shader_tokens.h" 62 util_pstipple_update_stipple_texture(struct pipe_context *pipe, argument 72 data = pipe_transfer_map(pipe, tex, 0, 0, 95 pipe->transfer_unmap(pipe, transfer); 103 util_pstipple_create_stipple_texture(struct pipe_context *pipe, argument 106 struct pipe_screen *screen = pipe->screen; 122 util_pstipple_update_stipple_texture(pipe, te 132 util_pstipple_create_sampler_view(struct pipe_context *pipe, struct pipe_resource *tex) argument 148 util_pstipple_create_sampler(struct pipe_context *pipe) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_bicubic_filter.c | 30 #include "pipe/p_context.h" 69 return ureg_create_shader_and_destroy(shader, filter->pipe); 153 struct pipe_screen *screen = filter->pipe->screen; 236 return ureg_create_shader_and_destroy(shader, filter->pipe); 240 vl_bicubic_filter_init(struct vl_bicubic_filter *filter, struct pipe_context *pipe, argument 250 assert(filter && pipe); 254 filter->pipe = pipe; 260 filter->rs_state = pipe->create_rasterizer_state(pipe, [all...] |
H A D | vl_compositor.h | 31 #include "pipe/p_state.h" 32 #include "pipe/p_video_codec.h" 33 #include "pipe/p_video_state.h" 87 struct pipe_context *pipe; member in struct:vl_compositor_state 101 struct pipe_context *pipe; member in struct:vl_compositor 134 vl_compositor_init(struct vl_compositor *compositor, struct pipe_context *pipe); 140 vl_compositor_init_state(struct vl_compositor_state *state, struct pipe_context *pipe);
|
H A D | vl_deint_filter.c | 43 #include "pipe/p_context.h" 83 return ureg_create_shader_and_destroy(shader, filter->pipe); 119 return ureg_create_shader_and_destroy(shader, filter->pipe); 232 return ureg_create_shader_and_destroy(shader, filter->pipe); 236 vl_deint_filter_init(struct vl_deint_filter *filter, struct pipe_context *pipe, argument 247 assert(filter && pipe); 251 filter->pipe = pipe; 258 templ.buffer_format = pipe->screen->get_video_param 260 pipe [all...] |
H A D | vl_mc.c | 30 #include "pipe/p_context.h" 156 return ureg_create_shader_and_destroy(shader, r->pipe); 184 field = calc_line(r->pipe->screen, shader); 225 return ureg_create_shader_and_destroy(shader, r->pipe); 310 return ureg_create_shader_and_destroy(shader, r->pipe); 331 tmp = calc_line(r->pipe->screen, shader); 372 return ureg_create_shader_and_destroy(shader, r->pipe); 395 r->sampler_ref = r->pipe->create_sampler_state(r->pipe, &sampler); 413 r->blend_clear[i] = r->pipe 480 vl_mc_init(struct vl_mc *renderer, struct pipe_context *pipe, unsigned buffer_width, unsigned buffer_height, unsigned macroblock_size, float scale, vl_mc_ycbcr_vert_shader vs_callback, vl_mc_ycbcr_frag_shader fs_callback, void *callback_priv) argument [all...] |
H A D | vl_video_buffer.c | 30 #include "pipe/p_screen.h" 31 #include "pipe/p_context.h" 32 #include "pipe/p_state.h" 287 struct pipe_context *pipe; local 292 pipe = buf->base.context; 302 buf->sampler_view_planes[i] = pipe->create_sampler_view(pipe, buf->resources[i], &sv_templ); 322 struct pipe_context *pipe; local 329 pipe = buf->base.context; 331 sampler_format = vl_video_buffer_formats(pipe 370 struct pipe_context *pipe; local 408 vl_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl) argument 453 vl_video_buffer_create_ex(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl, const enum pipe_format resource_formats[VL_NUM_COMPONENTS], unsigned depth, unsigned array_size, unsigned usage) argument 499 vl_video_buffer_create_ex2(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl, struct pipe_resource *resources[VL_NUM_COMPONENTS]) argument [all...] |
/external/mesa3d/src/gallium/drivers/ddebug/ |
H A D | dd_screen.c | 246 struct pipe_context *pipe = _pipe ? dd_context(_pipe)->pipe : NULL; local 248 return screen->resource_get_handle(screen, pipe, resource, handle, usage); 273 struct pipe_context *ctx = _ctx ? dd_context(_ctx)->pipe : NULL; 330 puts(" detection mode, this only detect hangs in pipe->flush.");
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_gmem.c | 29 #include "pipe/p_state.h" 775 struct fd_vsc_pipe *pipe = &ctx->pipe[i]; local 777 if (!pipe->bo) { 778 pipe->bo = fd_bo_new(ctx->dev, 0x40000, 783 OUT_RING(ring, A3XX_VSC_PIPE_CONFIG_X(pipe->x) | 784 A3XX_VSC_PIPE_CONFIG_Y(pipe->y) | 785 A3XX_VSC_PIPE_CONFIG_W(pipe->w) | 786 A3XX_VSC_PIPE_CONFIG_H(pipe->h)); 787 OUT_RELOCW(ring, pipe 1008 struct fd_vsc_pipe *pipe = &ctx->pipe[tile->p]; local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_gmem.c | 29 #include "pipe/p_state.h" 571 struct fd_vsc_pipe *pipe = &ctx->pipe[i]; local 572 OUT_RING(ring, A4XX_VSC_PIPE_CONFIG_REG_X(pipe->x) | 573 A4XX_VSC_PIPE_CONFIG_REG_Y(pipe->y) | 574 A4XX_VSC_PIPE_CONFIG_REG_W(pipe->w) | 575 A4XX_VSC_PIPE_CONFIG_REG_H(pipe->h)); 580 struct fd_vsc_pipe *pipe = &ctx->pipe[i]; local 581 if (!pipe 590 struct fd_vsc_pipe *pipe = &ctx->pipe[i]; local 769 struct fd_vsc_pipe *pipe = &ctx->pipe[tile->p]; local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_gmem.c | 29 #include "pipe/p_state.h" 124 int tile_n[ARRAY_SIZE(ctx->pipe)]; 214 /* figure out number of tiles per pipe: */ 224 for (i = 0; i < ARRAY_SIZE(ctx->pipe); i++) { 225 struct fd_vsc_pipe *pipe = &ctx->pipe[i]; local 236 pipe->x = xoff; 237 pipe->y = yoff; 238 pipe->w = MIN2(tpp_x, nbins_x - xoff); 239 pipe 245 struct fd_vsc_pipe *pipe = &ctx->pipe[i]; local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_surface.c | 34 #include "pipe/p_defines.h" 78 i915_surface_copy_render(struct pipe_context *pipe, argument 84 struct i915_context *i915 = i915_context(pipe); 115 dst_view = i915_create_surface_custom(pipe, dst, &dst_templ, dst_width0, dst_height0); 116 src_view = i915_create_sampler_view_custom(pipe, src, &src_templ, src_width0, src_height0); 128 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, 133 i915_clear_render_target_render(struct pipe_context *pipe, argument 140 struct i915_context *i915 = i915_context(pipe); 150 pipe->set_framebuffer_state(pipe, 164 i915_clear_depth_stencil_render(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) argument 204 i915_surface_copy_blitter(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) argument 250 i915_blit(struct pipe_context *pipe, const struct pipe_blit_info *blit_info) argument 282 i915_clear_render_target_blitter(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) argument 309 i915_clear_depth_stencil_blitter(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) argument [all...] |
/external/mesa3d/src/gallium/drivers/ilo/ |
H A D | ilo_blit.c | 35 ilo_resource_copy_region(struct pipe_context *pipe, argument 43 struct ilo_context *ilo = ilo_context(pipe); 60 ilo_clear(struct pipe_context *pipe, argument 66 struct ilo_context *ilo = ilo_context(pipe); 82 ilo_clear_render_target(struct pipe_context *pipe, argument 89 struct ilo_context *ilo = ilo_context(pipe); 108 ilo_clear_depth_stencil(struct pipe_context *pipe, argument 117 struct ilo_context *ilo = ilo_context(pipe); 136 ilo_blit(struct pipe_context *pipe, const struct pipe_blit_info *info) argument 138 struct ilo_context *ilo = ilo_context(pipe); 144 ilo_flush_resource(struct pipe_context *pipe, struct pipe_resource *res) argument [all...] |
H A D | ilo_draw.c | 471 #define DRAW_VBO_WITH_SW_RESTART(pipe, info, ptr) do { \ 482 (pipe)->draw_vbo(pipe, &subinfo); \ 488 (pipe)->draw_vbo(pipe, &subinfo); \ 549 ilo_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info) argument 551 struct ilo_context *ilo = ilo_context(pipe); 606 ilo_texture_barrier(struct pipe_context *pipe, unsigned flags) argument 608 struct ilo_context *ilo = ilo_context(pipe); 621 ilo_get_sample_position(struct pipe_context *pipe, argument [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_context.h | 34 #include "pipe/p_context.h" 57 struct pipe_context pipe; /**< base class */ member in struct:llvmpipe_context 172 llvmpipe_context( struct pipe_context *pipe ) 174 return (struct llvmpipe_context *)pipe;
|
/external/mesa3d/src/gallium/drivers/noop/ |
H A D | noop_state.c | 25 #include "pipe/p_defines.h" 26 #include "pipe/p_state.h" 27 #include "pipe/p_context.h" 28 #include "pipe/p_screen.h" 132 static void noop_set_sample_mask(struct pipe_context *pipe, unsigned sample_mask) argument
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_vp3_video.c | 78 nouveau_vp3_video_buffer_create(struct pipe_context *pipe, argument 89 return vl_video_buffer_create(pipe, templat); 99 buffer->base.context = pipe; 119 buffer->resources[0] = pipe->screen->resource_create(pipe->screen, &templ); 128 buffer->resources[i] = pipe->screen->resource_create(pipe->screen, &templ); 139 buffer->sampler_view_planes[i] = pipe->create_sampler_view(pipe, res, &sv_templ); 147 buffer->sampler_view_components[component] = pipe [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_state.c | 39 nv30_blend_state_create(struct pipe_context *pipe, argument 42 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; 50 so->pipe = *cso; 119 nv30_blend_state_bind(struct pipe_context *pipe, void *hwcso) argument 121 struct nv30_context *nv30 = nv30_context(pipe); 128 nv30_blend_state_delete(struct pipe_context *pipe, void *hwcso) argument 134 nv30_rasterizer_state_create(struct pipe_context *pipe, argument 142 so->pipe = *cso; 196 nv30_rasterizer_state_bind(struct pipe_context *pipe, void *hwcso) argument 198 struct nv30_context *nv30 = nv30_context(pipe); 205 nv30_rasterizer_state_delete(struct pipe_context *pipe, void *hwcso) argument 211 nv30_zsa_state_create(struct pipe_context *pipe, const struct pipe_depth_stencil_alpha_state *cso) argument 274 nv30_zsa_state_bind(struct pipe_context *pipe, void *hwcso) argument 283 nv30_zsa_state_delete(struct pipe_context *pipe, void *hwcso) argument 289 nv30_set_blend_color(struct pipe_context *pipe, const struct pipe_blend_color *bcol) argument 299 nv30_set_stencil_ref(struct pipe_context *pipe, const struct pipe_stencil_ref *sr) argument 309 nv30_set_clip_state(struct pipe_context *pipe, const struct pipe_clip_state *clip) argument 320 nv30_set_sample_mask(struct pipe_context *pipe, unsigned sample_mask) argument 329 nv30_set_constant_buffer(struct pipe_context *pipe, uint shader, uint index, const struct pipe_constant_buffer *cb) argument 363 nv30_set_framebuffer_state(struct pipe_context *pipe, const struct pipe_framebuffer_state *fb) argument 392 nv30_set_polygon_stipple(struct pipe_context *pipe, const struct pipe_poly_stipple *stipple) argument 402 nv30_set_scissor_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_scissor_state *scissor) argument 414 nv30_set_viewport_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *vpt) argument 426 nv30_set_vertex_buffers(struct pipe_context *pipe, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *vb) argument 441 nv30_set_index_buffer(struct pipe_context *pipe, const struct pipe_index_buffer *ib) argument 458 nv30_state_init(struct pipe_context *pipe) argument [all...] |
H A D | nv30_vbo.c | 137 struct pipe_vertex_element *ve = &nv30->vertex->pipe[i]; 215 ve = &vertex->pipe[i]; 233 ve = &vertex->pipe[i]; 257 nv30_vertex_state_create(struct pipe_context *pipe, unsigned num_elements, argument 267 memcpy(so->pipe, elements, sizeof(*elements) * num_elements); 279 so->element[i].state = nv30_vtxfmt(pipe->screen, fmt)->hw; 291 so->element[i].state = nv30_vtxfmt(pipe->screen, fmt)->hw; 317 nv30_vertex_state_delete(struct pipe_context *pipe, void *hwcso) argument 327 nv30_vertex_state_bind(struct pipe_context *pipe, void *hwcso) argument 329 struct nv30_context *nv30 = nv30_context(pipe); 547 nv30_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info) argument 636 nv30_vbo_init(struct pipe_context *pipe) argument [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 23 #include "pipe/p_defines.h" 31 nv50_flush(struct pipe_context *pipe, argument 35 struct nouveau_screen *screen = nouveau_screen(pipe->screen); 42 nouveau_context_update_frame_stats(nouveau_context(pipe)); 46 nv50_texture_barrier(struct pipe_context *pipe, unsigned flags) argument 48 struct nouveau_pushbuf *push = nv50_context(pipe)->base.pushbuf; 57 nv50_memory_barrier(struct pipe_context *pipe, unsigned flags) argument 59 struct nv50_context *nv50 = nv50_context(pipe); 97 nv50_emit_string_marker(struct pipe_context *pipe, const char *str, int len) argument 99 struct nouveau_pushbuf *push = nv50_context(pipe) 170 nv50_destroy(struct pipe_context *pipe) argument 285 struct pipe_context *pipe; local 416 nv50_context_get_sample_position(struct pipe_context *pipe, unsigned sample_count, unsigned sample_index, float *xy) argument [all...] |
H A D | nv50_miptree.c | 23 #include "pipe/p_state.h" 24 #include "pipe/p_defines.h" 502 nv50_miptree_surface_new(struct pipe_context *pipe, argument 510 ns->base.context = pipe;
|
H A D | nv50_push.c | 2 #include "pipe/p_context.h" 3 #include "pipe/p_state.h" 294 struct pipe_context *pipe = &nv50->base.pipe; local 301 pipe->get_query_result(pipe, targ->pq, true, (void *)&vert_count);
|
H A D | nv50_query_hw_sm.c | 218 struct pipe_context *pipe = &nv50->base.pipe; local 264 pipe->bind_compute_state(pipe, screen->pm.prog); 274 pipe->launch_grid(pipe, &info); 275 pipe->bind_compute_state(pipe, old);
|