Home
last modified time | relevance | path

Searched refs:PIPE_BIND_SHARED (Results 1 – 25 of 53) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_screen.c69 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED)) && in fd4_screen_is_format_supported()
73 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED); in fd4_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_screen.c68 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED | PIPE_BIND_BLENDABLE)) && in fd3_screen_is_format_supported()
72 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED); in fd3_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c71 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED)) && in fd2_screen_is_format_supported()
74 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED); in fd2_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_screen.c85 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED | PIPE_BIND_COMPUTE_RESOURCE)) && in fd5_screen_is_format_supported()
89 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED | in fd5_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_screen.c94 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED | PIPE_BIND_COMPUTE_RESOURCE)) && in fd6_screen_is_format_supported()
97 PIPE_BIND_SCANOUT | PIPE_BIND_SHARED | in fd6_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_video.c65 buffer->res = si_resource(pipe_buffer_create(screen, PIPE_BIND_SHARED, usage, size)); in si_vid_create_buffer()
76 buffer->res = si_resource(pipe_buffer_create(screen, PIPE_BIND_SHARED | PIPE_BIND_PROTECTED, in si_vid_create_tmz_buffer()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_defines.h63 PIPE_BIND_SHARED)
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_tracker.c305 bind |= PIPE_BIND_SHARED; in xa_format_check_supported()
368 template->bind |= PIPE_BIND_SHARED; in surface_create()
470 template->bind |= PIPE_BIND_SHARED; in xa_surface_redefine()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.h145 if (pbind & PIPE_BIND_SHARED) in pipe_to_virgl_bind()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_screen.c617 PIPE_BIND_SHARED | in r300_is_format_supported()
626 PIPE_BIND_SHARED); in r300_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c223 …MPLED_IMAGE_BIT && (bind & (PIPE_BIND_LINEAR | PIPE_BIND_SHARED)) != (PIPE_BIND_LINEAR | PIPE_BIND… in get_image_usage_for_feats()
235 … if ((bind & (PIPE_BIND_LINEAR | PIPE_BIND_SHARED)) != (PIPE_BIND_LINEAR | PIPE_BIND_SHARED)) in get_image_usage_for_feats()
449 bool shared = templ->bind & PIPE_BIND_SHARED; in resource_object_create()
647 if (templ->bind & PIPE_BIND_SHARED && shared) { in resource_object_create()
761 unsigned scanout_flags = templ->bind & (PIPE_BIND_SCANOUT | PIPE_BIND_SHARED); in resource_create()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.c356 PIPE_BIND_SHARED; in panfrost_should_afbc()
417 PIPE_BIND_SHARED; in panfrost_should_tile()
641 (PIPE_BIND_DISPLAY_TARGET | PIPE_BIND_SCANOUT | PIPE_BIND_SHARED))) in panfrost_resource_create_with_modifier()
660 (bind & PIPE_BIND_SHARED) ? "Shared resource" : in panfrost_resource_create_with_modifier()
767 tmpl.bind &= ~(PIPE_BIND_DISPLAY_TARGET | PIPE_BIND_SCANOUT | PIPE_BIND_SHARED); in pan_alloc_staging()
/third_party/mesa3d/src/gallium/drivers/r600/
Dradeon_video.c75 pipe_buffer_create(screen, PIPE_BIND_SHARED, in rvid_create_buffer()
Dr600_texture.c242 if (ptex->bind & PIPE_BIND_SHARED) in r600_init_surface()
499 PIPE_BIND_SHARED, false); in r600_texture_get_handle()
501 assert(res->b.b.bind & PIPE_BIND_SHARED); in r600_texture_get_handle()
533 templ.bind |= PIPE_BIND_SHARED; in r600_texture_get_handle()
549 assert(res->b.b.bind & PIPE_BIND_SHARED); in r600_texture_get_handle()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c182 (ptex->bind & PIPE_BIND_SHARED) || is_imported) { in si_init_surface()
264 if (ptex->bind & PIPE_BIND_SHARED) in si_init_surface()
685 si_reallocate_texture_inplace(sctx, tex, PIPE_BIND_SHARED, false); in si_texture_get_handle()
687 assert(res->b.b.bind & PIPE_BIND_SHARED); in si_texture_get_handle()
746 templ.bind |= PIPE_BIND_SHARED; in si_texture_get_handle()
761 assert(res->b.b.bind & PIPE_BIND_SHARED); in si_texture_get_handle()
1262 plane_templ[i].bind |= PIPE_BIND_SHARED; in si_texture_create_with_modifier()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resource.c436 if (templ->bind & (PIPE_BIND_SCANOUT | PIPE_BIND_SHARED)) in iris_resource_alloc_flags()
443 if ((templ->bind & PIPE_BIND_SHARED) || in iris_resource_alloc_flags()
1033 if (templ->bind & PIPE_BIND_SHARED) { in iris_resource_create_for_buffer()
1127 if (templ->bind & PIPE_BIND_SHARED) { in iris_resource_create_with_modifiers()
1504 assert(!(res->base.b.bind & PIPE_BIND_SHARED)); in iris_resource_disable_suballoc_on_first_query()
1525 iris_reallocate_resource_inplace(ice, res, PIPE_BIND_SHARED); in iris_resource_disable_suballoc_on_first_query()
1526 assert(res->base.b.bind & PIPE_BIND_SHARED); in iris_resource_disable_suballoc_on_first_query()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_resource.c785 tmpl->bind & (PIPE_BIND_SHARED | PIPE_BIND_SCANOUT)) in v3d_resource_create_with_modifiers()
811 v3d_setup_slices(rsc, 0, tmpl->bind & PIPE_BIND_SHARED); in v3d_resource_create_with_modifiers()
822 PIPE_BIND_SHARED))) { in v3d_resource_create_with_modifiers()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_screen.c413 PIPE_BIND_SHARED)) { in softpipe_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_screen.cpp867 | PIPE_BIND_SHARED)) { in swr_create_resolve_resource()
909 | PIPE_BIND_SHARED)) { in swr_resource_create()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri3.c260 templ.bind |= PIPE_BIND_SCANOUT | PIPE_BIND_SHARED | in dri3_alloc_back_buffer()
269 templ.bind |= PIPE_BIND_SCANOUT | PIPE_BIND_SHARED; in dri3_alloc_back_buffer()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_pipe.c165 PIPE_BIND_SHARED; in agx_should_tile()
225 PIPE_BIND_SHARED)) { in agx_resource_create()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri2.c317 bind |= PIPE_BIND_SHARED; in dri2_allocate_buffer()
593 ~(PIPE_BIND_SCANOUT | PIPE_BIND_SHARED); in dri2_allocate_textures()
643 templ.bind = bind & ~PIPE_BIND_SHARED; in dri2_allocate_textures()
1094 tex_usage |= PIPE_BIND_SHARED; in dri2_create_image_common()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_defines.h513 #define PIPE_BIND_SHARED (1 << 20) /* get_texture_handle ??? */ macro
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c543 if ((tmpl->bind & (PIPE_BIND_SHARED | PIPE_BIND_SCANOUT)) && in vc4_resource_create_with_modifiers()
550 if ((tmpl->bind & (PIPE_BIND_SHARED | in vc4_resource_create_with_modifiers()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c528 if (!bo_config.nvc0.memtype && (pt->usage == PIPE_USAGE_STAGING || pt->bind & PIPE_BIND_SHARED)) in nvc0_miptree_create()

123