Home
last modified time | relevance | path

Searched refs:pscreen (Results 1 – 25 of 257) sorted by relevance

1234567891011

/third_party/mesa3d/src/gallium/frontends/vdpau/
Dquery.c73 struct pipe_screen *pscreen; in vlVdpVideoSurfaceQueryCapabilities() local
83 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryCapabilities()
84 if (!pscreen) in vlVdpVideoSurfaceQueryCapabilities()
91 max_2d_texture_size = pscreen->get_param(pscreen, PIPE_CAP_MAX_TEXTURE_2D_SIZE); in vlVdpVideoSurfaceQueryCapabilities()
110 struct pipe_screen *pscreen; in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities() local
119 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
120 if (!pscreen) in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
135 pscreen->is_video_format_supported(pscreen, in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
160 !pscreen->is_video_format_supported(pscreen, in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
180 struct pipe_screen *pscreen; in vlVdpDecoderQueryCapabilities() local
[all …]
/third_party/mesa3d/src/gallium/drivers/tegra/
Dtegra_screen.c49 static void tegra_screen_destroy(struct pipe_screen *pscreen) in tegra_screen_destroy() argument
51 struct tegra_screen *screen = to_tegra_screen(pscreen); in tegra_screen_destroy()
54 free(pscreen); in tegra_screen_destroy()
58 tegra_screen_get_name(struct pipe_screen *pscreen) in tegra_screen_get_name() argument
64 tegra_screen_get_vendor(struct pipe_screen *pscreen) in tegra_screen_get_vendor() argument
70 tegra_screen_get_device_vendor(struct pipe_screen *pscreen) in tegra_screen_get_device_vendor() argument
76 tegra_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in tegra_screen_get_param() argument
78 struct tegra_screen *screen = to_tegra_screen(pscreen); in tegra_screen_get_param()
84 tegra_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in tegra_screen_get_paramf() argument
86 struct tegra_screen *screen = to_tegra_screen(pscreen); in tegra_screen_get_paramf()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.c110 fd_screen_get_name(struct pipe_screen *pscreen) in fd_screen_get_name() argument
112 return fd_dev_name(fd_screen(pscreen)->dev_id); in fd_screen_get_name()
116 fd_screen_get_vendor(struct pipe_screen *pscreen) in fd_screen_get_vendor() argument
122 fd_screen_get_device_vendor(struct pipe_screen *pscreen) in fd_screen_get_device_vendor() argument
128 fd_screen_get_timestamp(struct pipe_screen *pscreen) in fd_screen_get_timestamp() argument
130 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_get_timestamp()
144 fd_screen_destroy(struct pipe_screen *pscreen) in fd_screen_destroy() argument
146 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_destroy()
163 fd_gmem_screen_fini(pscreen); in fd_screen_destroy()
171 u_transfer_helper_destroy(pscreen->transfer_helper); in fd_screen_destroy()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_screen.c79 vc4_screen_get_name(struct pipe_screen *pscreen) in vc4_screen_get_name() argument
81 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_get_name()
94 vc4_screen_get_vendor(struct pipe_screen *pscreen) in vc4_screen_get_vendor() argument
100 vc4_screen_destroy(struct pipe_screen *pscreen) in vc4_screen_destroy() argument
102 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_destroy()
105 vc4_bufmgr_destroy(pscreen); in vc4_screen_destroy()
114 u_transfer_helper_destroy(pscreen->transfer_helper); in vc4_screen_destroy()
117 ralloc_free(pscreen); in vc4_screen_destroy()
135 vc4_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in vc4_screen_get_param() argument
137 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_get_param()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_device.c190 min_vertex_pipeline_param(struct pipe_screen *pscreen, enum pipe_shader_cap param) in min_vertex_pipeline_param() argument
195 !pscreen->get_shader_param(pscreen, i, in min_vertex_pipeline_param()
199 val = MAX2(val, pscreen->get_shader_param(pscreen, i, param)); in min_vertex_pipeline_param()
205 min_shader_param(struct pipe_screen *pscreen, enum pipe_shader_cap param) in min_shader_param() argument
207 return MIN3(min_vertex_pipeline_param(pscreen, param), in min_shader_param()
208 pscreen->get_shader_param(pscreen, PIPE_SHADER_FRAGMENT, param), in min_shader_param()
209 pscreen->get_shader_param(pscreen, PIPE_SHADER_COMPUTE, param)); in min_shader_param()
232 device->pscreen = pipe_loader_create_screen_vk(device->pld, true); in lvp_physical_device_init()
233 if (!device->pscreen) in lvp_physical_device_init()
242 …device->max_images = device->pscreen->get_shader_param(device->pscreen, PIPE_SHADER_FRAGMENT, PIPE… in lvp_physical_device_init()
[all …]
Dlvp_formats.c75 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
90 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
104 physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
109 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
114 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
117 … if (physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_IMAGE_LOAD_FORMATTED)) in lvp_physical_device_get_format_properties()
119 … if (physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_IMAGE_STORE_FORMATTED)) in lvp_physical_device_get_format_properties()
123 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
134 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
142 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
[all …]
Dlvp_pipe_sync.c58 device->pscreen->fence_reference(device->pscreen, &sync->fence, NULL); in lvp_pipe_sync_finish()
71 device->pscreen->fence_reference(device->pscreen, &sync->fence, fence); in lvp_pipe_sync_signal_with_fence()
88 device->pscreen->fence_reference(device->pscreen, &sync->fence, NULL); in lvp_pipe_sync_signal()
106 device->pscreen->fence_reference(device->pscreen, &sync->fence, NULL); in lvp_pipe_sync_reset()
133 device->pscreen->fence_reference(device->pscreen, &dst->fence, NULL); in lvp_pipe_sync_move()
196 device->pscreen->fence_reference(device->pscreen, &fence, sync->fence); in lvp_pipe_sync_wait_locked()
202 bool complete = device->pscreen->fence_finish(device->pscreen, NULL, in lvp_pipe_sync_wait_locked()
205 device->pscreen->fence_reference(device->pscreen, &fence, NULL); in lvp_pipe_sync_wait_locked()
215 device->pscreen->fence_reference(device->pscreen, &sync->fence, NULL); in lvp_pipe_sync_wait_locked()
/third_party/mesa3d/src/gallium/frontends/va/
Dconfig.c46 struct pipe_screen *pscreen; in vlVaQueryConfigProfiles() local
55 pscreen = VL_VA_PSCREEN(ctx); in vlVaQueryConfigProfiles()
60 if (vl_codec_supported(pscreen, p, false) || in vlVaQueryConfigProfiles()
61 vl_codec_supported(pscreen, p, true)) { in vlVaQueryConfigProfiles()
78 struct pipe_screen *pscreen; in vlVaQueryConfigEntrypoints() local
97 pscreen = VL_VA_PSCREEN(ctx); in vlVaQueryConfigEntrypoints()
98 if (vl_codec_supported(pscreen, p, false)) in vlVaQueryConfigEntrypoints()
101 if (vl_codec_supported(pscreen, p, true)) in vlVaQueryConfigEntrypoints()
116 struct pipe_screen *pscreen; in vlVaGetConfigAttributes() local
122 pscreen = VL_VA_PSCREEN(ctx); in vlVaGetConfigAttributes()
[all …]
Dsurface.c423 struct pipe_screen *pscreen; in vlVaQuerySurfaceAttributes() local
454 pscreen = VL_VA_PSCREEN(ctx); in vlVaQuerySurfaceAttributes()
456 if (!pscreen) in vlVaQuerySurfaceAttributes()
528 pscreen->get_video_param(pscreen, PIPE_VIDEO_PROFILE_UNKNOWN, in vlVaQuerySurfaceAttributes()
536 pscreen->get_video_param(pscreen, in vlVaQuerySurfaceAttributes()
545 pscreen->get_video_param(pscreen, in vlVaQuerySurfaceAttributes()
553 attribs[i].value.value.i = vl_video_buffer_max_size(pscreen); in vlVaQuerySurfaceAttributes()
559 attribs[i].value.value.i = vl_video_buffer_max_size(pscreen); in vlVaQuerySurfaceAttributes()
582 struct pipe_screen *pscreen; in surface_from_external_memory() local
590 pscreen = VL_VA_PSCREEN(ctx); in surface_from_external_memory()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_screen.c88 crocus_get_vendor(struct pipe_screen *pscreen) in crocus_get_vendor() argument
94 crocus_get_device_vendor(struct pipe_screen *pscreen) in crocus_get_device_vendor() argument
100 crocus_get_device_uuid(struct pipe_screen *pscreen, char *uuid) in crocus_get_device_uuid() argument
102 struct crocus_screen *screen = (struct crocus_screen *)pscreen; in crocus_get_device_uuid()
108 crocus_get_driver_uuid(struct pipe_screen *pscreen, char *uuid) in crocus_get_driver_uuid() argument
110 struct crocus_screen *screen = (struct crocus_screen *)pscreen; in crocus_get_driver_uuid()
117 crocus_get_name(struct pipe_screen *pscreen) in crocus_get_name() argument
119 struct crocus_screen *screen = (struct crocus_screen *)pscreen; in crocus_get_name()
136 crocus_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in crocus_get_param() argument
138 struct crocus_screen *screen = (struct crocus_screen *)pscreen; in crocus_get_param()
[all …]
/third_party/mesa3d/src/gallium/winsys/lima/drm/
Dlima_drm_winsys.c42 lima_drm_screen_destroy(struct pipe_screen *pscreen) in lima_drm_screen_destroy() argument
44 struct lima_screen *screen = lima_screen(pscreen); in lima_drm_screen_destroy()
61 pscreen->destroy = screen->winsys_priv; in lima_drm_screen_destroy()
62 pscreen->destroy(pscreen); in lima_drm_screen_destroy()
70 struct pipe_screen *pscreen = NULL; in lima_drm_screen_create() local
79 pscreen = util_hash_table_get(fd_tab, intptr_to_pointer(fd)); in lima_drm_screen_create()
80 if (pscreen) { in lima_drm_screen_create()
81 lima_screen(pscreen)->refcnt++; in lima_drm_screen_create()
85 pscreen = lima_screen_create(dup_fd, NULL); in lima_drm_screen_create()
86 if (pscreen) { in lima_drm_screen_create()
[all …]
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_screen.c51 v3d_screen_get_name(struct pipe_screen *pscreen) in v3d_screen_get_name() argument
53 struct v3d_screen *screen = v3d_screen(pscreen); in v3d_screen_get_name()
66 v3d_screen_get_vendor(struct pipe_screen *pscreen) in v3d_screen_get_vendor() argument
72 v3d_screen_destroy(struct pipe_screen *pscreen) in v3d_screen_destroy() argument
74 struct v3d_screen *screen = v3d_screen(pscreen); in v3d_screen_destroy()
77 v3d_bufmgr_destroy(pscreen); in v3d_screen_destroy()
92 u_transfer_helper_destroy(pscreen->transfer_helper); in v3d_screen_destroy()
95 ralloc_free(pscreen); in v3d_screen_destroy()
113 v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in v3d_screen_get_param() argument
115 struct v3d_screen *screen = v3d_screen(pscreen); in v3d_screen_get_param()
[all …]
/third_party/mesa3d/src/gallium/winsys/freedreno/drm/
Dfreedreno_drm_winsys.c47 fd_drm_screen_destroy(struct pipe_screen *pscreen) in fd_drm_screen_destroy() argument
49 struct fd_screen *screen = fd_screen(pscreen); in fd_drm_screen_destroy()
66 pscreen->destroy = screen->winsys_priv; in fd_drm_screen_destroy()
67 pscreen->destroy(pscreen); in fd_drm_screen_destroy()
75 struct pipe_screen *pscreen = NULL; in fd_drm_screen_create() local
84 pscreen = util_hash_table_get(fd_tab, intptr_to_pointer(fd)); in fd_drm_screen_create()
85 if (pscreen) { in fd_drm_screen_create()
86 fd_screen(pscreen)->refcnt++; in fd_drm_screen_create()
92 pscreen = fd_screen_create(dev, ro, config); in fd_drm_screen_create()
93 if (pscreen) { in fd_drm_screen_create()
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_screen.c85 iris_get_vendor(struct pipe_screen *pscreen) in iris_get_vendor() argument
91 iris_get_device_vendor(struct pipe_screen *pscreen) in iris_get_device_vendor() argument
97 iris_get_device_uuid(struct pipe_screen *pscreen, char *uuid) in iris_get_device_uuid() argument
99 struct iris_screen *screen = (struct iris_screen *)pscreen; in iris_get_device_uuid()
105 iris_get_driver_uuid(struct pipe_screen *pscreen, char *uuid) in iris_get_driver_uuid() argument
107 struct iris_screen *screen = (struct iris_screen *)pscreen; in iris_get_driver_uuid()
136 iris_get_name(struct pipe_screen *pscreen) in iris_get_name() argument
138 struct iris_screen *screen = (struct iris_screen *)pscreen; in iris_get_name()
187 iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in iris_get_param() argument
189 struct iris_screen *screen = (struct iris_screen *)pscreen; in iris_get_param()
[all …]
/third_party/mesa3d/src/gallium/winsys/etnaviv/drm/
Detnaviv_drm_winsys.c134 etna_drm_screen_destroy(struct pipe_screen *pscreen) in etna_drm_screen_destroy() argument
136 struct etna_screen *screen = etna_screen(pscreen); in etna_drm_screen_destroy()
153 pscreen->destroy = screen->winsys_priv; in etna_drm_screen_destroy()
154 pscreen->destroy(pscreen); in etna_drm_screen_destroy()
161 struct pipe_screen *pscreen = NULL; in etna_lookup_or_create_screen() local
170 pscreen = util_hash_table_get(fd_tab, intptr_to_pointer(gpu_fd)); in etna_lookup_or_create_screen()
171 if (pscreen) { in etna_lookup_or_create_screen()
172 etna_screen(pscreen)->refcnt++; in etna_lookup_or_create_screen()
174 pscreen = screen_create(gpu_fd, ro); in etna_lookup_or_create_screen()
175 if (pscreen) { in etna_lookup_or_create_screen()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.c51 nv30_resource_create(struct pipe_screen *pscreen, in nv30_resource_create() argument
56 return nouveau_buffer_create(pscreen, tmpl); in nv30_resource_create()
58 return nv30_miptree_create(pscreen, tmpl); in nv30_resource_create()
63 nv30_resource_destroy(struct pipe_screen *pscreen, struct pipe_resource *res) in nv30_resource_destroy() argument
66 nouveau_buffer_destroy(pscreen, res); in nv30_resource_destroy()
68 nv30_miptree_destroy(pscreen, res); in nv30_resource_destroy()
72 nv30_resource_from_handle(struct pipe_screen *pscreen, in nv30_resource_from_handle() argument
80 return nv30_miptree_from_handle(pscreen, tmpl, handle); in nv30_resource_from_handle()
84 nv30_resource_screen_init(struct pipe_screen *pscreen) in nv30_resource_screen_init() argument
86 pscreen->resource_create = nv30_resource_create; in nv30_resource_screen_init()
[all …]
Dnv30_screen.c51 nv30_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in nv30_screen_get_param() argument
53 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_param()
55 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nv30_screen_get_param()
281 return u_pipe_screen_get_param_defaults(pscreen, param); in nv30_screen_get_param()
286 nv30_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in nv30_screen_get_paramf() argument
288 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_paramf()
321 nv30_screen_get_shader_param(struct pipe_screen *pscreen, in nv30_screen_get_shader_param() argument
325 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_shader_param()
442 nv30_screen_is_format_supported(struct pipe_screen *pscreen, in nv30_screen_is_format_supported() argument
449 if (sample_count > nv30_screen(pscreen)->max_sample_count) in nv30_screen_is_format_supported()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.c85 etna_screen_destroy(struct pipe_screen *pscreen) in etna_screen_destroy() argument
87 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_destroy()
98 etna_shader_screen_fini(pscreen); in etna_screen_destroy()
116 etna_screen_get_name(struct pipe_screen *pscreen) in etna_screen_get_name() argument
118 struct etna_screen *priv = etna_screen(pscreen); in etna_screen_get_name()
128 etna_screen_get_vendor(struct pipe_screen *pscreen) in etna_screen_get_vendor() argument
134 etna_screen_get_device_vendor(struct pipe_screen *pscreen) in etna_screen_get_device_vendor() argument
140 etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in etna_screen_get_param() argument
142 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_get_param()
297 return u_pipe_screen_get_param_defaults(pscreen, param); in etna_screen_get_param()
[all …]
Detnaviv_query.c91 etna_get_driver_query_info(struct pipe_screen *pscreen, unsigned index, in etna_get_driver_query_info() argument
94 int nr_sw_queries = etna_sw_get_driver_query_info(pscreen, 0, NULL); in etna_get_driver_query_info()
95 int nr_pm_queries = etna_pm_get_driver_query_info(pscreen, 0, NULL); in etna_get_driver_query_info()
101 return etna_sw_get_driver_query_info(pscreen, index, info); in etna_get_driver_query_info()
103 return etna_pm_get_driver_query_info(pscreen, index - nr_sw_queries, info); in etna_get_driver_query_info()
107 etna_get_driver_query_group_info(struct pipe_screen *pscreen, unsigned index, in etna_get_driver_query_group_info() argument
110 int nr_sw_groups = etna_sw_get_driver_query_group_info(pscreen, 0, NULL); in etna_get_driver_query_group_info()
111 int nr_pm_groups = etna_pm_get_driver_query_group_info(pscreen, 0, NULL); in etna_get_driver_query_group_info()
117 return etna_sw_get_driver_query_group_info(pscreen, index, info); in etna_get_driver_query_group_info()
119 return etna_pm_get_driver_query_group_info(pscreen, index, info); in etna_get_driver_query_group_info()
[all …]
Detnaviv_resource.c83 etna_screen_resource_alloc_ts(struct pipe_screen *pscreen, in etna_screen_resource_alloc_ts() argument
86 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_resource_alloc_ts()
139 etna_screen_can_create_resource(struct pipe_screen *pscreen, in etna_screen_can_create_resource() argument
142 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_can_create_resource()
201 etna_resource_alloc(struct pipe_screen *pscreen, unsigned layout, in etna_resource_alloc() argument
204 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_alloc()
259 rsc->base.screen = pscreen; in etna_resource_alloc()
286 rsc->bo = etna_screen_bo_from_handle(pscreen, &handle); in etna_resource_alloc()
318 etna_resource_create(struct pipe_screen *pscreen, in etna_resource_create() argument
321 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_create()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.c41 nouveau_screen_get_name(struct pipe_screen *pscreen) in nouveau_screen_get_name() argument
43 struct nouveau_screen *screen = nouveau_screen(pscreen); in nouveau_screen_get_name()
48 nouveau_screen_get_vendor(struct pipe_screen *pscreen) in nouveau_screen_get_vendor() argument
54 nouveau_screen_get_device_vendor(struct pipe_screen *pscreen) in nouveau_screen_get_device_vendor() argument
60 nouveau_screen_get_timestamp(struct pipe_screen *pscreen) in nouveau_screen_get_timestamp() argument
66 return cpu_time + nouveau_screen(pscreen)->cpu_gpu_time_delta; in nouveau_screen_get_timestamp()
70 nouveau_screen_get_disk_shader_cache(struct pipe_screen *pscreen) in nouveau_screen_get_disk_shader_cache() argument
72 return nouveau_screen(pscreen)->disk_shader_cache; in nouveau_screen_get_disk_shader_cache()
76 nouveau_screen_fence_ref(struct pipe_screen *pscreen, in nouveau_screen_fence_ref() argument
97 nouveau_screen_bo_from_handle(struct pipe_screen *pscreen, in nouveau_screen_bo_from_handle() argument
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_ir.cpp42 struct pipe_screen *pscreen = sctx->screen; in link_shader() local
67 bool have_dround = pscreen->get_shader_param(pscreen, ptarget, in link_shader()
69 bool have_dfrexp = pscreen->get_shader_param(pscreen, ptarget, in link_shader()
71 bool have_ldexp = pscreen->get_shader_param(pscreen, ptarget, in link_shader()
74 if (!pscreen->get_param(pscreen, PIPE_CAP_INT64_DIVMOD)) in link_shader()
99 if (stage == MESA_SHADER_FRAGMENT && pscreen->get_param(pscreen, PIPE_CAP_FBFETCH)) in link_shader()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c88 nvc0_choose_tiled_storage_type(struct pipe_screen *pscreen, in nvc0_choose_tiled_storage_type() argument
95 if (nouveau_screen(pscreen)->device->chipset >= 0x160) in nvc0_choose_tiled_storage_type()
186 nvc0_mt_choose_storage_type(struct pipe_screen *pscreen, in nvc0_mt_choose_storage_type() argument
197 return nvc0_choose_tiled_storage_type(pscreen, mt->base.base.format, ms, compressed); in nvc0_mt_choose_storage_type()
313 nvc0_miptree_get_modifier(struct pipe_screen *pscreen, struct nv50_miptree *mt) in nvc0_miptree_get_modifier() argument
317 nvc0_choose_tiled_storage_type(pscreen, in nvc0_miptree_get_modifier()
321 const uint32_t kind_gen = nvc0_get_kind_generation(pscreen); in nvc0_miptree_get_modifier()
336 nouveau_screen(pscreen)->tegra_sector_layout ? 0 : 1, in nvc0_miptree_get_modifier()
343 nvc0_miptree_get_handle(struct pipe_screen *pscreen, in nvc0_miptree_get_handle() argument
352 ret = nv50_miptree_get_handle(pscreen, context, pt, whandle, usage); in nvc0_miptree_get_handle()
[all …]
Dnvc0_resource.c34 nvc0_resource_destroy(struct pipe_screen *pscreen, struct pipe_resource *res) in nvc0_resource_destroy() argument
37 nouveau_buffer_destroy(pscreen, res); in nvc0_resource_destroy()
39 nv50_miptree_destroy(pscreen, res); in nvc0_resource_destroy()
168 nvc0_screen_init_resource_functions(struct pipe_screen *pscreen) in nvc0_screen_init_resource_functions() argument
170 pscreen->resource_create = nvc0_resource_create; in nvc0_screen_init_resource_functions()
171 pscreen->resource_create_with_modifiers = nvc0_resource_create_with_modifiers; in nvc0_screen_init_resource_functions()
172 pscreen->query_dmabuf_modifiers = nvc0_query_dmabuf_modifiers; in nvc0_screen_init_resource_functions()
173 pscreen->is_dmabuf_modifier_supported = nvc0_is_dmabuf_modifier_supported; in nvc0_screen_init_resource_functions()
174 pscreen->resource_from_handle = nvc0_resource_from_handle; in nvc0_screen_init_resource_functions()
175 pscreen->resource_get_handle = nvc0_miptree_get_handle; in nvc0_screen_init_resource_functions()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_video_screen.cpp54 struct pipe_screen *pscreen, in get_max_level_resolution_video_decode_support() argument
63 struct d3d12_screen *pD3D12Screen = (struct d3d12_screen *) pscreen; in get_max_level_resolution_video_decode_support()
112 d3d12_has_video_decode_support(struct pipe_screen *pscreen, enum pipe_video_profile profile) in d3d12_has_video_decode_support() argument
115 struct d3d12_screen *pD3D12Screen = (struct d3d12_screen *) pscreen; in d3d12_has_video_decode_support()
398 d3d12_has_video_encode_support(struct pipe_screen *pscreen, in d3d12_has_video_encode_support() argument
407 struct d3d12_screen *pD3D12Screen = (struct d3d12_screen *) pscreen; in d3d12_has_video_encode_support()
481 d3d12_screen_get_video_param_decode(struct pipe_screen *pscreen, in d3d12_screen_get_video_param_decode() argument
494 if (d3d12_has_video_decode_support(pscreen, profile)) { in d3d12_screen_get_video_param_decode()
497 … bool formatSupported = pscreen->is_video_format_supported(pscreen, pipeFmt, profile, entrypoint); in d3d12_screen_get_video_param_decode()
511 pscreen, in d3d12_screen_get_video_param_decode()
[all …]

1234567891011