/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_draw.c | 75 vc4_start_draw(struct vc4_context *vc4) in vc4_start_draw() argument 77 struct vc4_job *job = vc4->job; in vc4_start_draw() 113 job->draw_width = vc4->framebuffer.width; in vc4_start_draw() 114 job->draw_height = vc4->framebuffer.height; in vc4_start_draw() 123 struct vc4_context *vc4 = vc4_context(pctx); in vc4_predraw_check_textures() local 133 vc4_flush_jobs_writing_resource(vc4, view->texture); in vc4_predraw_check_textures() 138 vc4_emit_gl_shader_state(struct vc4_context *vc4, in vc4_emit_gl_shader_state() argument 142 struct vc4_job *job = vc4->job; in vc4_emit_gl_shader_state() 144 struct vc4_vertex_stateobj *vtx = vc4->vtx; in vc4_emit_gl_shader_state() 146 struct vc4_vertexbuf_stateobj *vertexbuf = &vc4->vertexbuf; in vc4_emit_gl_shader_state() [all …]
|
D | vc4_context.c | 43 struct vc4_context *vc4 = vc4_context(pctx); in vc4_flush() local 46 hash_table_foreach(vc4->jobs, entry) { in vc4_flush() 48 vc4_job_submit(vc4, job); in vc4_flush() 56 struct vc4_context *vc4 = vc4_context(pctx); in vc4_pipe_flush() local 62 struct vc4_fence *f = vc4_fence_create(vc4->screen, in vc4_pipe_flush() 63 vc4->last_emit_seqno); in vc4_pipe_flush() 72 struct vc4_context *vc4 = vc4_context(pctx); in vc4_invalidate_resource() local 77 struct hash_entry *entry = _mesa_hash_table_search(vc4->write_jobs, in vc4_invalidate_resource() 90 struct vc4_context *vc4 = vc4_context(pctx); in vc4_context_destroy() local 94 if (vc4->blitter) in vc4_context_destroy() [all …]
|
D | vc4_emit.c | 29 struct vc4_context *vc4 = vc4_context(pctx); in vc4_emit_state() local 30 struct vc4_job *job = vc4->job; in vc4_emit_state() 33 if (vc4->dirty & (VC4_DIRTY_SCISSOR | VC4_DIRTY_VIEWPORT | in vc4_emit_state() 35 float *vpscale = vc4->viewport.scale; in vc4_emit_state() 36 float *vptranslate = vc4->viewport.translate; in vc4_emit_state() 51 if (!vc4->rasterizer->base.scissor) { in vc4_emit_state() 57 minx = MAX2(vp_minx, vc4->scissor.minx); in vc4_emit_state() 58 miny = MAX2(vp_miny, vc4->scissor.miny); in vc4_emit_state() 59 maxx = MIN2(vp_maxx, vc4->scissor.maxx); in vc4_emit_state() 60 maxy = MIN2(vp_maxy, vc4->scissor.maxy); in vc4_emit_state() [all …]
|
D | vc4_register_allocate.c | 107 vc4_alloc_reg_set(struct vc4_context *vc4) in vc4_alloc_reg_set() argument 113 if (vc4->regs) in vc4_alloc_reg_set() 116 vc4->regs = ra_alloc_reg_set(vc4, ARRAY_SIZE(vc4_regs), true); in vc4_alloc_reg_set() 123 vc4->reg_class_any[i] = ra_alloc_reg_class(vc4->regs); in vc4_alloc_reg_set() 124 vc4->reg_class_a_or_b[i] = ra_alloc_reg_class(vc4->regs); in vc4_alloc_reg_set() 125 vc4->reg_class_a_or_b_or_acc[i] = ra_alloc_reg_class(vc4->regs); in vc4_alloc_reg_set() 126 vc4->reg_class_r4_or_a[i] = ra_alloc_reg_class(vc4->regs); in vc4_alloc_reg_set() 127 vc4->reg_class_a[i] = ra_alloc_reg_class(vc4->regs); in vc4_alloc_reg_set() 129 vc4->reg_class_r0_r3 = ra_alloc_reg_class(vc4->regs); in vc4_alloc_reg_set() 133 ra_class_add_reg(vc4->regs, vc4->reg_class_r0_r3, i); in vc4_alloc_reg_set() [all …]
|
D | vc4_blit.c | 53 struct vc4_context *vc4 = vc4_context(pctx); in vc4_tile_blit() local 129 vc4_flush_jobs_reading_resource(vc4, info->src.resource); in vc4_tile_blit() 131 struct vc4_job *job = vc4_get_job(vc4, dst_surf, NULL); in vc4_tile_blit() 156 vc4_job_submit(vc4, job); in vc4_tile_blit() 165 vc4_blitter_save(struct vc4_context *vc4) in vc4_blitter_save() argument 167 util_blitter_save_vertex_buffer_slot(vc4->blitter, vc4->vertexbuf.vb); in vc4_blitter_save() 168 util_blitter_save_vertex_elements(vc4->blitter, vc4->vtx); in vc4_blitter_save() 169 util_blitter_save_vertex_shader(vc4->blitter, vc4->prog.bind_vs); in vc4_blitter_save() 170 util_blitter_save_rasterizer(vc4->blitter, vc4->rasterizer); in vc4_blitter_save() 171 util_blitter_save_viewport(vc4->blitter, &vc4->viewport); in vc4_blitter_save() [all …]
|
D | vc4_job.c | 41 vc4_job_free(struct vc4_context *vc4, struct vc4_job *job) in vc4_job_free() argument 48 remove_from_ht(vc4->jobs, &job->key); in vc4_job_free() 51 remove_from_ht(vc4->write_jobs, job->color_write->texture); in vc4_job_free() 55 remove_from_ht(vc4->write_jobs, job->msaa_color_write->texture); in vc4_job_free() 59 remove_from_ht(vc4->write_jobs, job->zs_write->texture); in vc4_job_free() 63 remove_from_ht(vc4->write_jobs, job->msaa_zs_write->texture); in vc4_job_free() 70 if (vc4->job == job) in vc4_job_free() 71 vc4->job = NULL; in vc4_job_free() 77 vc4_job_create(struct vc4_context *vc4) in vc4_job_create() argument 79 struct vc4_job *job = rzalloc(vc4, struct vc4_job); in vc4_job_create() [all …]
|
D | vc4_state.c | 53 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_blend_color() local 54 vc4->blend_color.f = *blend_color; in vc4_set_blend_color() 56 vc4->blend_color.ub[i] = float_to_ubyte(blend_color->color[i]); in vc4_set_blend_color() 57 vc4->dirty |= VC4_DIRTY_BLEND_COLOR; in vc4_set_blend_color() 64 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_stencil_ref() local 65 vc4->stencil_ref =* stencil_ref; in vc4_set_stencil_ref() 66 vc4->dirty |= VC4_DIRTY_STENCIL_REF; in vc4_set_stencil_ref() 73 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_clip_state() local 74 vc4->clip = *clip; in vc4_set_clip_state() 75 vc4->dirty |= VC4_DIRTY_CLIP; in vc4_set_clip_state() [all …]
|
D | vc4_uniforms.c | 189 vc4_upload_ubo(struct vc4_context *vc4, in vc4_upload_ubo() argument 196 struct vc4_bo *ubo = vc4_bo_alloc(vc4->screen, shader->ubo_size, "ubo"); in vc4_upload_ubo() 209 vc4_write_uniforms(struct vc4_context *vc4, struct vc4_compiled_shader *shader, in vc4_write_uniforms() argument 214 struct vc4_job *job = vc4->job; in vc4_write_uniforms() 216 struct vc4_bo *ubo = vc4_upload_ubo(vc4, shader, gallium_uniforms); in vc4_write_uniforms() 236 cl_aligned_f(&uniforms, vc4->viewport.scale[0] * 16.0f); in vc4_write_uniforms() 239 cl_aligned_f(&uniforms, vc4->viewport.scale[1] * 16.0f); in vc4_write_uniforms() 243 cl_aligned_f(&uniforms, vc4->viewport.translate[2]); in vc4_write_uniforms() 246 cl_aligned_f(&uniforms, vc4->viewport.scale[2]); in vc4_write_uniforms() 251 vc4->clip.ucp[uinfo->data[i] / 4][uinfo->data[i] % 4]); in vc4_write_uniforms() [all …]
|
D | vc4_context.h | 451 int vc4_simulator_flush(struct vc4_context *vc4, 468 void vc4_write_uniforms(struct vc4_context *vc4, 474 void vc4_job_init(struct vc4_context *vc4); 475 struct vc4_job *vc4_get_job(struct vc4_context *vc4, 478 struct vc4_job *vc4_get_job_for_fbo(struct vc4_context *vc4); 480 void vc4_job_submit(struct vc4_context *vc4, struct vc4_job *job); 481 void vc4_flush_jobs_writing_resource(struct vc4_context *vc4, 483 void vc4_flush_jobs_reading_resource(struct vc4_context *vc4, 486 void vc4_generate_code(struct vc4_context *vc4, struct vc4_compile *c); 487 struct qpu_reg *vc4_register_allocate(struct vc4_context *vc4, struct vc4_compile *c); [all …]
|
D | vc4_program.c | 1884 if (!c->vc4->screen->has_control_flow) { in ntq_emit_if() 2038 if (!c->vc4->screen->has_control_flow) { in ntq_emit_loop() 2188 vc4_shader_ntq(struct vc4_context *vc4, enum qstage stage, in vc4_shader_ntq() argument 2193 c->vc4 = vc4; in vc4_shader_ntq() 2363 vc4_generate_code(vc4, c); in vc4_shader_ntq() 2385 struct vc4_context *vc4 = vc4_context(pctx); in vc4_shader_state_create() local 2390 so->program_id = vc4->next_uncompiled_program_id++; in vc4_shader_state_create() 2458 vc4_setup_compiled_fs_inputs(struct vc4_context *vc4, struct vc4_compile *c, in vc4_setup_compiled_fs_inputs() argument 2506 struct set_entry *entry = _mesa_set_search(vc4->fs_inputs_set, &inputs); in vc4_setup_compiled_fs_inputs() 2513 alloc_inputs = rzalloc(vc4->fs_inputs_set, struct vc4_fs_inputs); in vc4_setup_compiled_fs_inputs() [all …]
|
D | Automake.inc | 3 TARGET_DRIVERS += vc4 6 $(top_builddir)/src/gallium/winsys/vc4/drm/libvc4drm.la \ 7 $(top_builddir)/src/gallium/drivers/vc4/libvc4.la
|
D | vc4_resource.c | 74 struct vc4_context *vc4 = vc4_context(pctx); in vc4_resource_transfer_unmap() local 123 slab_free(&vc4->transfer_pool, ptrans); in vc4_resource_transfer_unmap() 151 struct vc4_context *vc4 = vc4_context(pctx); in vc4_resource_transfer_map() local 178 vc4->dirty |= VC4_DIRTY_VTXBUF; in vc4_resource_transfer_map() 183 vc4_flush_jobs_reading_resource(vc4, prsc); in vc4_resource_transfer_map() 191 vc4_flush_jobs_reading_resource(vc4, prsc); in vc4_resource_transfer_map() 193 vc4_flush_jobs_writing_resource(vc4, prsc); in vc4_resource_transfer_map() 201 trans = slab_alloc(&vc4->transfer_pool); in vc4_resource_transfer_map() 249 vc4_flush_jobs_writing_resource(vc4, blit.dst.resource); in vc4_resource_transfer_map() 986 struct vc4_context *vc4 = vc4_context(pctx); in vc4_get_shadow_index_buffer() local [all …]
|
D | vc4_simulator.c | 362 vc4_simulator_flush(struct vc4_context *vc4, in vc4_simulator_flush() argument 365 struct vc4_screen *screen = vc4->screen; in vc4_simulator_flush() 368 struct vc4_surface *csurf = vc4_surface(vc4->framebuffer.cbufs[0]); in vc4_simulator_flush()
|
D | vc4_qpu_emit.c | 582 vc4_generate_code(struct vc4_context *vc4, struct vc4_compile *c) in vc4_generate_code() argument 587 struct qpu_reg *temp_registers = vc4_register_allocate(vc4, c); in vc4_generate_code()
|
/external/valgrind/drd/tests/ |
D | unit_vc.c | 64 VectorClock vc4; in vc_unittest() local 71 DRD_(vc_init)(&vc4, vc4elem, sizeof(vc4elem)/sizeof(vc4elem[0])); in vc_unittest() 88 fprintf(stderr, "%s", (str = DRD_(vc_aprint)(&vc4))); in vc_unittest() 94 DRD_(vc_lte)(&vc4, &vc5), DRD_(vc_lte)(&vc5, &vc4)); in vc_unittest()
|
/external/clang/test/Sema/ |
D | ext_vector_conversions.c | 8 char4 vc4; in test() local 13 vc4 += f; // expected-error {{cannot convert between vector values of different size}} in test()
|
/external/mesa3d/src/gallium/ |
D | Android.mk | 82 ifneq ($(filter vc4, $(MESA_GPU_DRIVERS)),) 83 SUBDIRS += winsys/vc4/drm drivers/vc4
|
D | Makefile.am | 95 SUBDIRS += drivers/vc4 winsys/vc4/drm
|
/external/libdrm/ |
D | Makefile.am | 33 --enable-vc4 \ 86 VC4_SUBDIR = vc4
|
D | configure.ac | 135 AC_ARG_ENABLE(vc4, optenable 136 AS_HELP_STRING([--disable-vc4], 137 [Enable support for vc4's API (default: auto, enabled on arm)]), 542 vc4/Makefile 543 vc4/libdrm_vc4.pc
|
/external/libdrm/vc4/ |
D | libdrm_vc4.pc.in | 7 Description: Userspace interface to vc4 kernel DRM services
|
/external/mesa3d/ |
D | Makefile.am | 46 …--with-gallium-drivers=i915,ilo,nouveau,r300,r600,radeonsi,freedreno,svga,swrast,vc4,virgl,swr,etn…
|
D | Android.mk | 44 gallium_drivers := swrast freedreno i915g ilo nouveau r300g r600g radeonsi vmwgfx vc4 virgl
|
/external/mesa3d/src/gallium/targets/dri/ |
D | Android.mk | 81 ifneq ($(filter vc4,$(MESA_GPU_DRIVERS)),)
|
/external/libdrm/include/drm/ |
D | README | 51 For example: nouveau has nouveau/nvif/*.h while vc4 has vc4/*.h
|