Home
last modified time | relevance | path

Searched refs:is_format_supported (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c43 is_format_supported(struct pipe_screen *screen, enum pipe_format format, in is_format_supported() function
47 bool supported = screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, in is_format_supported()
60 supported = screen->is_format_supported(screen, PIPE_FORMAT_R8_UNORM, in is_format_supported()
65 supported = screen->is_format_supported(screen, PIPE_FORMAT_R8_UNORM, in is_format_supported()
68 screen->is_format_supported(screen, PIPE_FORMAT_R8G8_UNORM, in is_format_supported()
75 supported = screen->is_format_supported(screen, PIPE_FORMAT_R16_UNORM, in is_format_supported()
78 screen->is_format_supported(screen, PIPE_FORMAT_R16G16_UNORM, in is_format_supported()
85 supported = screen->is_format_supported(screen, PIPE_FORMAT_R16G16_UNORM, in is_format_supported()
88 screen->is_format_supported(screen, PIPE_FORMAT_R16G16B16A16_UNORM, in is_format_supported()
93 supported = screen->is_format_supported(screen, PIPE_FORMAT_R10G10B10A2_UNORM, in is_format_supported()
[all …]
Dst_extensions.c696 if (screen->is_format_supported(screen, mapping[i].format[j], in init_format_extensions()
729 if (screen->is_format_supported(screen, formats[f], in get_max_samples_for_formats()
750 if (screen->is_format_supported(screen, formats[f], PIPE_TEXTURE_2D, in get_max_samples_for_formats_advanced()
1412 if (screen->is_format_supported(screen, PIPE_FORMAT_Z32_FLOAT, in st_init_extensions()
1428 if (screen->is_format_supported(screen, in st_init_extensions()
1601 screen->is_format_supported(screen, PIPE_FORMAT_R8G8B8A8_UNORM, in st_init_extensions()
1604 screen->is_format_supported(screen, PIPE_FORMAT_R8G8B8A8_SRGB, in st_init_extensions()
1607 screen->is_format_supported(screen, PIPE_FORMAT_R16_UNORM, in st_init_extensions()
1610 screen->is_format_supported(screen, PIPE_FORMAT_R16G16_UNORM, in st_init_extensions()
1613 screen->is_format_supported(screen, PIPE_FORMAT_R16_SNORM, in st_init_extensions()
[all …]
Dst_context.c661 screen->is_format_supported(screen, PIPE_FORMAT_R8_UNORM, in st_create_context_priv()
667 st->has_etc1 = screen->is_format_supported(screen, PIPE_FORMAT_ETC1_RGB8, in st_create_context_priv()
670 st->has_etc2 = screen->is_format_supported(screen, PIPE_FORMAT_ETC2_RGB8, in st_create_context_priv()
674 screen->is_format_supported(screen, PIPE_FORMAT_DXT1_SRGBA, in st_create_context_priv()
678 screen->is_format_supported(screen, PIPE_FORMAT_DXT5_SRGBA, in st_create_context_priv()
682 screen->is_format_supported(screen, PIPE_FORMAT_ASTC_4x4_SRGB, in st_create_context_priv()
685 screen->is_format_supported(screen, PIPE_FORMAT_ASTC_5x5_SRGB, in st_create_context_priv()
Dst_format.c78 bool has_bgra_srgb = screen->is_format_supported(screen, in st_mesa_format_to_pipe_format()
1087 if (!bindings || screen->is_format_supported(screen, formats[i], target, in find_supported_format()
1148 (!bindings || screen->is_format_supported(screen, pf, target, sample_count, in st_choose_format()
1267 (!bind || screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D, 0, 0, bind))) in st_choose_matching_format()
1509 screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D, in st_QueryInternalFormat()
Dst_cb_texture.c148 !screen->is_format_supported(screen, src_format, src->target, in get_src_format()
353 if (bind && !screen->is_format_supported(screen, PIPE_FORMAT_R16_UNORM, in get_dst_format()
359 if (bind && !screen->is_format_supported(screen, PIPE_FORMAT_R16_SNORM, in get_dst_format()
365 if (bind && !screen->is_format_supported(screen, PIPE_FORMAT_R16G16_UNORM, in get_dst_format()
371 if (bind && !screen->is_format_supported(screen, PIPE_FORMAT_R16G16_SNORM, in get_dst_format()
739 if (screen->is_format_supported(screen, format, target, 0, 0, bindings)) in default_bindings()
745 if (screen->is_format_supported(screen, format, target, 0, 0, bindings)) in default_bindings()
1736 !screen->is_format_supported(screen, dst_format, PIPE_TEXTURE_2D, 0, in try_pbo_upload()
1743 !screen->is_format_supported(screen, src_format, PIPE_BUFFER, 0, 0, in try_pbo_upload()
1832 if (!screen->is_format_supported(screen, dst_format, PIPE_BUFFER, 0, 0, in try_pbo_download()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c74 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
88 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
102 physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
107 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
112 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
117 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
126 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()
/third_party/mesa3d/src/mesa/state_tracker/tests/
Dst_format.c39 is_format_supported(struct pipe_screen *pscreen, in is_format_supported() function
52 .is_format_supported = is_format_supported, in main()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c184 pf_x8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24X8_UNORM, in dri_fill_in_modes()
187 pf_z24x8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_X8Z24_UNORM, in dri_fill_in_modes()
190 pf_s8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24_UNORM_S8_UINT, in dri_fill_in_modes()
193 pf_z24s8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_S8_UINT_Z24_UNORM, in dri_fill_in_modes()
196 pf_z16 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z16_UNORM, in dri_fill_in_modes()
199 pf_z32 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z32_UNORM, in dri_fill_in_modes()
253 if (!p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
262 if (p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
Ddri_query_renderer.c58 screen->base.screen->is_format_supported(screen->base.screen, in dri2_query_renderer_integer()
Ddri_helpers.c668 if (!pscreen->is_format_supported(pscreen, in dri2_yuv_dma_buf_supported()
697 if (pscreen->is_format_supported(pscreen, map->pipe_format, in dri2_query_dma_buf_formats()
700 pscreen->is_format_supported(pscreen, map->pipe_format, in dri2_query_dma_buf_formats()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Dquery.c251 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryCapabilities()
303 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities()
352 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
358 *is_supported &= pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
364 *is_supported &= pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
407 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities()
451 *is_supported = pscreen->is_format_supported in vlVdpBitmapSurfaceQueryCapabilities()
/third_party/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c217 if (drm->callbacks.is_format_supported(drm->user_data, in bind_drm()
223 if (drm->callbacks.is_format_supported(drm->user_data, in bind_drm()
229 if (drm->callbacks.is_format_supported(drm->user_data, in bind_drm()
235 if (drm->callbacks.is_format_supported(drm->user_data, in bind_drm()
Dwayland-drm.h18 bool (*is_format_supported)(void *user_data, uint32_t format); member
/third_party/mesa3d/src/util/format/
Du_format_pack.py129 def is_format_supported(format): function
437 if not is_format_supported(format):
531 if not is_format_supported(format):
619 if is_format_supported(format):
647 if is_format_supported(format):
681 if is_format_supported(format):
709 if is_format_supported(format) and not format.is_bitmask():
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_tracker.c93 if (xa->screen->is_format_supported(xa->screen, PIPE_FORMAT_R8_UNORM, in xa_get_pipe_format()
150 if (xa->screen->is_format_supported(xa->screen, PIPE_FORMAT_R8_UNORM, in xa_get_pipe_format()
208 if (xa->screen->is_format_supported(xa->screen, fdesc.format, in xa_tracker_create()
311 if (!xa->screen->is_format_supported(xa->screen, fdesc.format, in xa_format_check_supported()
481 if (!xa->screen->is_format_supported(xa->screen, fdesc.format, in xa_surface_redefine()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DDevice.cpp472 if (screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 0, 0, in CheckFormatSupport()
478 if (screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 4, 4, in CheckFormatSupport()
485 if (screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 0, 0, in CheckFormatSupport()
490 if (screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 4, 4, in CheckFormatSupport()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_init.c281 if (!p->screen->is_format_supported(p->screen, tmp_res.format, in pp_init_fbos()
307 if (!p->screen->is_format_supported(p->screen, tmp_res.format, in pp_init_fbos()
312 if (!p->screen->is_format_supported(p->screen, tmp_res.format, in pp_init_fbos()
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dsubpicture.c64 if (!screen->is_format_supported( in XvIDToPipe()
71 if (!screen->is_format_supported( in XvIDToPipe()
81 if (!screen->is_format_supported( in XvIDToPipe()
127 if (!screen->is_format_supported( in PipeToComponentOrder()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_screen.c121 pscreen->is_format_supported = fd4_screen_is_format_supported; in fd4_screen_init()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_screen.c116 pscreen->is_format_supported = fd3_screen_is_format_supported; in fd3_screen_init()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c124 pscreen->is_format_supported = fd2_screen_is_format_supported; in fd2_screen_init()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_screen.c137 pscreen->is_format_supported = fd5_screen_is_format_supported; in fd5_screen_init()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_screen.c162 pscreen->is_format_supported = fd6_screen_is_format_supported; in fd6_screen_init()
/third_party/mesa3d/src/gbm/main/
Dgbm_abi_check.c62 int (*is_format_supported)(struct gbm_device *gbm, member
346 CHECK_MEMBER_CURRENT(gbm_device_v0, _abi0, is_format_supported); in main()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c78 if (!screen->is_format_supported(screen, format, pt->target, in util_gen_mipmap()

12345