Home
last modified time | relevance | path

Searched refs:PL_ARRAY_APPEND (Results 1 – 19 of 19) sorted by relevance

/dports/graphics/libplacebo/libplacebo-4.157.0/src/vulkan/
H A Dcommand.c107 PL_ARRAY_APPEND(cmd, cmd->callbacks, (struct vk_callback) { in vk_cmd_callback()
117 PL_ARRAY_APPEND(cmd, cmd->deps, dep); in vk_cmd_dep()
118 PL_ARRAY_APPEND(cmd, cmd->depstages, stage); in vk_cmd_dep()
123 PL_ARRAY_APPEND(cmd, cmd->objs, obj); in vk_cmd_obj()
128 PL_ARRAY_APPEND(cmd, cmd->sigs, sig); in vk_cmd_sig()
242 PL_ARRAY_APPEND(vk->alloc, vk->signals, sig); in release_signal()
381 PL_ARRAY_APPEND(vk->alloc, vk->cmds_queued, cmd); in vk_cmd_queue()
396 PL_ARRAY_APPEND(pool, pool->cmds, cmd); in vk_cmd_queue()
418 PL_ARRAY_APPEND(pool, pool->cmds, cmd); in vk_poll_commands()
499 PL_ARRAY_APPEND(vk->alloc, vk->cmds_pending, cmd); in vk_flush_obj()
[all …]
H A Dcontext.c605 PL_ARRAY_APPEND(tmp, layers, params->layers[i]); in pl_vk_inst_create()
611 PL_ARRAY_APPEND(tmp, layers, layer); in pl_vk_inst_create()
669 PL_ARRAY_APPEND(tmp, exts, ext); in pl_vk_inst_create()
678 PL_ARRAY_APPEND(tmp, exts, ext); in pl_vk_inst_create()
700 PL_ARRAY_APPEND(tmp, exts, ext); in pl_vk_inst_create()
710 PL_ARRAY_APPEND(tmp, exts, ext); in pl_vk_inst_create()
1047 PL_ARRAY_APPEND(alloc, *qinfos, qinfo); in add_qinfo()
1130 PL_ARRAY_APPEND(tmp, ext_funs, f); in device_init()
1138 PL_ARRAY_APPEND(tmp, ext_funs, f); in device_init()
1233 PL_ARRAY_APPEND(vk->alloc, vk->pools, pool); in device_init()
[all …]
H A Dformats.c297 PL_ARRAY_APPEND(fmt, modlist, modifiers[i].drmFormatModifier); in vk_setup_formats()
388 PL_ARRAY_APPEND(gpu, formats, fmt); in vk_setup_formats()
H A Dmalloc.c449 PL_ARRAY_APPEND(slab, slab->regions, (struct vk_region) { in slab_alloc()
509 PL_ARRAY_APPEND(slab, slab->regions, region); in insert_region()
707 PL_ARRAY_APPEND(NULL, heap->slabs, slab); in heap_get_slab()
H A Dswapchain.c614 PL_ARRAY_APPEND(sw, p->sems, (struct sem_pair) { in vk_sw_recreate()
636 PL_ARRAY_APPEND(sw, p->images, tex); in vk_sw_recreate()
H A Dgpu_tex.c1058 PL_ARRAY_APPEND(tex, tex_vk->ext_deps, sync_vk->signal); in vk_tex_export()
1214 PL_ARRAY_APPEND(tex, tex_vk->ext_deps, sem_in); in pl_vulkan_release()
H A Dgpu_pass.c433 PL_ARRAY_APPEND(tmp, dsPoolSizes, (VkDescriptorPoolSize) { in vk_pass_create()
/dports/graphics/libplacebo/libplacebo-4.157.0/src/utils/
H A Dframe_queue.c164 PL_ARRAY_APPEND(p, p->cache, entry->cache); in cull_entry()
271 PL_ARRAY_APPEND(p, p->queue, (struct entry) { in queue_push()
487 PL_ARRAY_APPEND(p, p->tmp_sig, entry->signature); in point()
488 PL_ARRAY_APPEND(p, p->tmp_frame, &entry->frame); in point()
489 PL_ARRAY_APPEND(p, p->tmp_ts, 0.0); in point()
565 PL_ARRAY_APPEND(p, p->tmp_sig, entries[i]->signature); in oversample()
566 PL_ARRAY_APPEND(p, p->tmp_frame, &entries[i]->frame); in oversample()
567 PL_ARRAY_APPEND(p, p->tmp_ts, ts); in oversample()
659 PL_ARRAY_APPEND(p, p->tmp_sig, entry->signature); in interpolate()
660 PL_ARRAY_APPEND(p, p->tmp_frame, &entry->frame); in interpolate()
[all …]
/dports/graphics/libplacebo/libplacebo-4.157.0/src/shaders/
H A Dcustom.c44 PL_ARRAY_APPEND(sh, sh->vars, sv); in pl_shader_custom()
53 PL_ARRAY_APPEND(sh, sh->descs, sd); in pl_shader_custom()
62 PL_ARRAY_APPEND(sh, sh->vas, sva); in pl_shader_custom()
70 PL_ARRAY_APPEND(sh, sh->consts, sc); in pl_shader_custom()
727 PL_ARRAY_APPEND(tmp, vars, var); in parse_buf()
1001 PL_ARRAY_APPEND(p->alloc, p->pass_textures, ptex); in save_pass_tex()
1356 PL_ARRAY_APPEND(hook, p->descriptors, sd); in pl_mpv_user_shader_parse()
1366 PL_ARRAY_APPEND(hook, p->descriptors, sd); in pl_mpv_user_shader_parse()
1409 PL_ARRAY_APPEND(hook, p->hook_passes, pass); in pl_mpv_user_shader_parse()
/dports/graphics/libplacebo/libplacebo-4.157.0/src/
H A Dpl_alloc.h129 #define PL_ARRAY_APPEND(parent, arr, ...) \ macro
178 PL_ARRAY_APPEND(parent, _arr, __VA_ARGS__); \
H A Dshaders.c34 PL_ARRAY_APPEND(sh, sh->tmp, pl_ref_new(NULL)); in pl_shader_alloc()
80 PL_ARRAY_APPEND(sh, sh->tmp, pl_ref_new(NULL)); in pl_shader_reset()
191 PL_ARRAY_APPEND(sh, sh->vars, sv); in sh_var()
224 PL_ARRAY_APPEND(sh, sh->descs, sd); in sh_desc()
248 PL_ARRAY_APPEND(sh, sh->consts, sc); in sh_const()
330 PL_ARRAY_APPEND(sh, sh->vas, va); in sh_attr_vec2()
533 PL_ARRAY_APPEND(sh, sh->tmp, pl_ref_dup(sub->tmp.elem[i])); in sh_subpass()
H A Dshaders.h149 PL_ARRAY_APPEND(sh, sh->steps, desc); in sh_describe()
H A Drenderer.c427 PL_ARRAY_APPEND(rr, rr->fbos, NULL); in get_fbo()
746 PL_ARRAY_APPEND(rr, rr->osd_vertices, (struct osd_vertex) { \ in draw_overlays()
767 PL_ARRAY_APPEND(rr, rr->osd_indices, idx_base + 0); in draw_overlays()
768 PL_ARRAY_APPEND(rr, rr->osd_indices, idx_base + 1); in draw_overlays()
769 PL_ARRAY_APPEND(rr, rr->osd_indices, idx_base + 2); in draw_overlays()
770 PL_ARRAY_APPEND(rr, rr->osd_indices, idx_base + 2); in draw_overlays()
771 PL_ARRAY_APPEND(rr, rr->osd_indices, idx_base + 1); in draw_overlays()
772 PL_ARRAY_APPEND(rr, rr->osd_indices, idx_base + 3); in draw_overlays()
2783 PL_ARRAY_APPEND(rr, rr->frame_fbos, rr->frames.elem[i].tex); in pl_render_image_mix()
H A Ddummy.c149 PL_ARRAY_APPEND(gpu, formats, fmt); in pl_gpu_dummy_create()
H A Ddispatch.c409 PL_ARRAY_APPEND(tmp, pc_bvars, (struct pl_buffer_var) { in generate_shaders()
905 PL_ARRAY_APPEND(dp, dp->passes, pass); in finalize_pass()
1517 PL_ARRAY_APPEND(dp, dp->shaders, sh); in pl_dispatch_abort()
/dports/graphics/libplacebo/libplacebo-4.157.0/src/d3d11/
H A Dgpu_pass.c374 PL_ARRAY_APPEND(pass, pass_s->cbvs, HLSL_BINDING_NUM_WORKGROUPS); in shader_compile_hlsl()
674 PL_ARRAY_APPEND(pass, pass_s->cbvs, desc_idx); in pl_d3d11_pass_create()
683 PL_ARRAY_APPEND(pass, pass_s->srvs, desc_idx); in pl_d3d11_pass_create()
692 PL_ARRAY_APPEND(pass, pass_s->samplers, desc_idx); in pl_d3d11_pass_create()
703 PL_ARRAY_APPEND(pass, pass_p->uavs, desc_idx); in pl_d3d11_pass_create()
H A Dformats.c251 PL_ARRAY_APPEND(gpu, formats, fmt); in pl_d3d11_setup_formats()
/dports/graphics/libplacebo/libplacebo-4.157.0/src/opengl/
H A Dswapchain.c224 PL_ARRAY_APPEND(sw, p->vsync_fences, fence); in gl_sw_submit_frame()
H A Dgpu_tex.c633 PL_ARRAY_APPEND(gpu, p->fbo_formats, (struct fbo_format) { in pl_opengl_wrap()
974 PL_ARRAY_APPEND(gpu, p->callbacks, (struct gl_cb) { in gl_tex_upload()
1074 PL_ARRAY_APPEND(gpu, p->callbacks, (struct gl_cb) { in gl_tex_download()