Home
last modified time | relevance | path

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

1234

/external/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()
83 supported = screen->is_format_supported(screen, PIPE_FORMAT_RG88_UNORM, in is_format_supported()
86 screen->is_format_supported(screen, PIPE_FORMAT_BGRA8888_UNORM, in is_format_supported()
91 supported = screen->is_format_supported(screen, PIPE_FORMAT_RG88_UNORM, in is_format_supported()
[all …]
Dst_extensions.c645 if (screen->is_format_supported(screen, mapping[i].format[j], in init_format_extensions()
678 if (screen->is_format_supported(screen, formats[f], in get_max_samples_for_formats()
699 if (screen->is_format_supported(screen, formats[f], PIPE_TEXTURE_2D, in get_max_samples_for_formats_advanced()
1344 if (screen->is_format_supported(screen, PIPE_FORMAT_Z32_FLOAT, in st_init_extensions()
1360 if (screen->is_format_supported(screen, in st_init_extensions()
1533 screen->is_format_supported(screen, PIPE_FORMAT_R8G8B8A8_UNORM, in st_init_extensions()
1536 screen->is_format_supported(screen, PIPE_FORMAT_R8G8B8A8_SRGB, in st_init_extensions()
1539 screen->is_format_supported(screen, PIPE_FORMAT_R16_UNORM, in st_init_extensions()
1542 screen->is_format_supported(screen, PIPE_FORMAT_R16G16_UNORM, in st_init_extensions()
1545 screen->is_format_supported(screen, PIPE_FORMAT_R16_SNORM, in st_init_extensions()
[all …]
Dst_cb_texture.c434 if (screen->is_format_supported(screen, format, target, 0, 0, bindings)) in default_bindings()
440 if (screen->is_format_supported(screen, format, target, 0, 0, bindings)) in default_bindings()
1424 !screen->is_format_supported(screen, dst_format, PIPE_TEXTURE_2D, 0, in try_pbo_upload()
1431 !screen->is_format_supported(screen, src_format, PIPE_BUFFER, 0, 0, in try_pbo_upload()
1582 !screen->is_format_supported(screen, dst_format, dst->target, in st_TexSubImage()
1839 if (!screen->is_format_supported(screen, copy_format, PIPE_BUFFER, 0, 0, in st_CompressedTexSubImage()
1844 if (!screen->is_format_supported(screen, copy_format, dst->target, in st_CompressedTexSubImage()
2041 !screen->is_format_supported(screen, src_format, src->target, in st_GetTexSubImage()
2117 if (!screen->is_format_supported(screen, PIPE_FORMAT_R16_UNORM, in st_GetTexSubImage()
2123 if (!screen->is_format_supported(screen, PIPE_FORMAT_R16_SNORM, in st_GetTexSubImage()
[all …]
Dst_format.c78 bool has_bgra_srgb = screen->is_format_supported(screen, in st_mesa_format_to_pipe_format()
1066 if (screen->is_format_supported(screen, formats[i], target, in find_supported_format()
1126 screen->is_format_supported(screen, pf, target, sample_count, in st_choose_format()
1229 screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 0, 0, bind)) in st_choose_matching_format()
Dst_context.c652 screen->is_format_supported(screen, PIPE_FORMAT_R8_UNORM, in st_create_context_priv()
658 st->has_etc1 = screen->is_format_supported(screen, PIPE_FORMAT_ETC1_RGB8, in st_create_context_priv()
661 st->has_etc2 = screen->is_format_supported(screen, PIPE_FORMAT_ETC2_RGB8, in st_create_context_priv()
665 screen->is_format_supported(screen, PIPE_FORMAT_ASTC_4x4_SRGB, in st_create_context_priv()
668 screen->is_format_supported(screen, PIPE_FORMAT_ASTC_5x5_SRGB, in st_create_context_priv()
/external/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()
/external/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c217 pf_x8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24X8_UNORM, in dri_fill_in_modes()
220 pf_z24x8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_X8Z24_UNORM, in dri_fill_in_modes()
223 pf_s8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24_UNORM_S8_UINT, in dri_fill_in_modes()
226 pf_z24s8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_S8_UINT_Z24_UNORM, in dri_fill_in_modes()
229 pf_z16 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z16_UNORM, in dri_fill_in_modes()
232 pf_z32 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z32_UNORM, in dri_fill_in_modes()
284 if (!p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
293 if (p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
Ddri_helpers.c576 if (!pscreen->is_format_supported(pscreen, in dri2_yuv_dma_buf_supported()
602 if (pscreen->is_format_supported(pscreen, map->pipe_format, in dri2_query_dma_buf_formats()
605 pscreen->is_format_supported(pscreen, map->pipe_format, in dri2_query_dma_buf_formats()
Ddri_query_renderer.c58 screen->base.screen->is_format_supported(screen->base.screen, in dri2_query_renderer_integer()
/external/mesa3d/src/gallium/frontends/vdpau/
Dquery.c247 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryCapabilities()
299 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities()
348 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
354 *is_supported &= pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
360 *is_supported &= pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
403 *is_supported = pscreen->is_format_supported in vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities()
447 *is_supported = pscreen->is_format_supported in vlVdpBitmapSurfaceQueryCapabilities()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c164 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
176 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
190 physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
195 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
201 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
208 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties()
/external/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c216 if (drm->callbacks.is_format_supported(drm->user_data, in bind_drm()
222 if (drm->callbacks.is_format_supported(drm->user_data, in bind_drm()
228 if (drm->callbacks.is_format_supported(drm->user_data, in bind_drm()
234 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
/external/mesa3d/src/util/format/
Du_format_pack.py138 def is_format_supported(format): function
448 if not is_format_supported(format):
551 if not is_format_supported(format):
638 if is_format_supported(format):
669 if is_format_supported(format):
703 if is_format_supported(format):
730 if is_format_supported(format) and not format.is_bitmask():
/external/virglrenderer/src/gallium/auxiliary/util/
Du_format_pack.py130 def is_format_supported(format): function
440 if not is_format_supported(format):
545 if not is_format_supported(format):
624 if is_format_supported(format):
653 if is_format_supported(format):
682 if is_format_supported(format):
/external/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()
/external/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()
/external/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()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c109 pscreen->is_format_supported = fd2_screen_is_format_supported; in fd2_screen_init()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_screen.c115 pscreen->is_format_supported = fd4_screen_is_format_supported; in fd4_screen_init()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_screen.c110 pscreen->is_format_supported = fd3_screen_is_format_supported; in fd3_screen_init()
/external/virglrenderer/src/gallium/include/pipe/
Dp_screen.h128 boolean (*is_format_supported)( struct pipe_screen *, member
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_screen.c137 pscreen->is_format_supported = fd6_screen_is_format_supported; in fd6_screen_init()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_screen.c131 pscreen->is_format_supported = fd5_screen_is_format_supported; in fd5_screen_init()
/external/mesa3d/src/gbm/main/
Dgbmint.h61 int (*is_format_supported)(struct gbm_device *gbm, member

1234