Home
last modified time | relevance | path

Searched refs:is_format_supported (Results 1 – 25 of 105) 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_context.c558 screen->is_format_supported(screen, PIPE_FORMAT_R8_UNORM, in st_create_context_priv()
564 st->has_etc1 = screen->is_format_supported(screen, PIPE_FORMAT_ETC1_RGB8, in st_create_context_priv()
567 st->has_etc2 = screen->is_format_supported(screen, PIPE_FORMAT_ETC2_RGB8, in st_create_context_priv()
571 screen->is_format_supported(screen, PIPE_FORMAT_DXT1_SRGBA, in st_create_context_priv()
575 screen->is_format_supported(screen, PIPE_FORMAT_DXT5_SRGBA, in st_create_context_priv()
578 screen->is_format_supported(screen, PIPE_FORMAT_DXT5_RGBA, in st_create_context_priv()
582 screen->is_format_supported(screen, PIPE_FORMAT_ASTC_4x4_SRGB, in st_create_context_priv()
585 screen->is_format_supported(screen, PIPE_FORMAT_ASTC_5x5_SRGB, in st_create_context_priv()
Dst_extensions.c683 if (screen->is_format_supported(screen, mapping[i].format[j], in init_format_extensions()
716 if (screen->is_format_supported(screen, formats[f], in get_max_samples_for_formats()
737 if (screen->is_format_supported(screen, formats[f], PIPE_TEXTURE_2D, in get_max_samples_for_formats_advanced()
1374 if (screen->is_format_supported(screen, PIPE_FORMAT_Z32_FLOAT, in st_init_extensions()
1390 if (screen->is_format_supported(screen, in st_init_extensions()
1565 screen->is_format_supported(screen, PIPE_FORMAT_R8G8B8A8_UNORM, in st_init_extensions()
1568 screen->is_format_supported(screen, PIPE_FORMAT_R8G8B8A8_SRGB, in st_init_extensions()
1571 screen->is_format_supported(screen, PIPE_FORMAT_R16_UNORM, in st_init_extensions()
1574 screen->is_format_supported(screen, PIPE_FORMAT_R16G16_UNORM, in st_init_extensions()
1577 screen->is_format_supported(screen, PIPE_FORMAT_R16_SNORM, in st_init_extensions()
[all …]
Dst_format.c78 bool has_bgra_srgb = screen->is_format_supported(screen, in st_mesa_format_to_pipe_format()
1076 if (!bindings || screen->is_format_supported(screen, formats[i], target, in find_supported_format()
1137 (!bindings || screen->is_format_supported(screen, pf, target, sample_count, in st_choose_format()
1236 (!bind || screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D, 0, 0, bind))) in st_choose_matching_format()
1494 screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D, in st_QueryInternalFormat()
Dst_cb_texture.c149 !screen->is_format_supported(screen, src_format, src->target, in st_pbo_get_src_format()
354 if (bind && !screen->is_format_supported(screen, PIPE_FORMAT_R16_UNORM, in st_pbo_get_dst_format()
360 if (bind && !screen->is_format_supported(screen, PIPE_FORMAT_R16_SNORM, in st_pbo_get_dst_format()
366 if (bind && !screen->is_format_supported(screen, PIPE_FORMAT_R16G16_UNORM, in st_pbo_get_dst_format()
372 if (bind && !screen->is_format_supported(screen, PIPE_FORMAT_R16G16_SNORM, in st_pbo_get_dst_format()
651 if (screen->is_format_supported(screen, format, target, 0, 0, bindings)) in default_bindings()
657 if (screen->is_format_supported(screen, format, target, 0, 0, bindings)) in default_bindings()
1650 !screen->is_format_supported(screen, dst_format, PIPE_TEXTURE_2D, 0, in try_pbo_upload()
1657 !screen->is_format_supported(screen, src_format, PIPE_BUFFER, 0, 0, in try_pbo_upload()
1745 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.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()
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()
/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/vdpau/
Dquery.c252 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryCapabilities()
304 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities()
353 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
359 *is_supported &= pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
365 *is_supported &= pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
408 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities()
452 *is_supported = pscreen->is_format_supported in vlVdpBitmapSurfaceQueryCapabilities()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c473 pf_x8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24X8_UNORM, in dri_fill_in_modes()
476 pf_z24x8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_X8Z24_UNORM, in dri_fill_in_modes()
479 pf_s8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24_UNORM_S8_UINT, in dri_fill_in_modes()
482 pf_z24s8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_S8_UINT_Z24_UNORM, in dri_fill_in_modes()
485 pf_z16 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z16_UNORM, in dri_fill_in_modes()
488 pf_z32 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z32_UNORM, in dri_fill_in_modes()
542 if (!p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
551 if (p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
Ddri_helpers.c678 if (!pscreen->is_format_supported(pscreen, in dri2_yuv_dma_buf_supported()
703 if (pscreen->is_format_supported(pscreen, map->pipe_format, in dri2_query_dma_buf_formats()
706 pscreen->is_format_supported(pscreen, map->pipe_format, in dri2_query_dma_buf_formats()
/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()
Dpp_program.c123 if (!p->screen->is_format_supported(p->screen, in pp_init_prog()
/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/a3xx/
Dfd3_screen.c116 pscreen->is_format_supported = fd3_screen_is_format_supported; in fd3_screen_init()
/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/a5xx/
Dfd5_screen.c142 pscreen->is_format_supported = fd5_screen_is_format_supported; in fd5_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/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/drivers/freedreno/a6xx/
Dfd6_screen.c167 pscreen->is_format_supported = fd6_screen_is_format_supported; in fd6_screen_init()
/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