/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_eglimage.c | 47 bool supported = screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, in is_format_supported() 61 PIPE_TEXTURE_2D, nr_samples, in is_format_supported() 66 PIPE_TEXTURE_2D, nr_samples, in is_format_supported() 69 PIPE_TEXTURE_2D, nr_samples, in is_format_supported() 76 PIPE_TEXTURE_2D, nr_samples, in is_format_supported() 79 PIPE_TEXTURE_2D, nr_samples, in is_format_supported() 86 PIPE_TEXTURE_2D, nr_samples, in is_format_supported() 89 PIPE_TEXTURE_2D, nr_samples, in is_format_supported() 94 PIPE_TEXTURE_2D, nr_samples, in is_format_supported() 100 PIPE_TEXTURE_2D, nr_samples, in is_format_supported() [all …]
|
D | st_context.c | 533 st->internal_target = PIPE_TEXTURE_2D; in st_create_context_priv() 559 PIPE_TEXTURE_2D, 0, 0, in st_create_context_priv() 565 PIPE_TEXTURE_2D, 0, 0, in st_create_context_priv() 568 PIPE_TEXTURE_2D, 0, 0, in st_create_context_priv() 572 PIPE_TEXTURE_2D, 0, 0, in st_create_context_priv() 576 PIPE_TEXTURE_2D, 0, 0, in st_create_context_priv() 579 PIPE_TEXTURE_2D, 0, 0, in st_create_context_priv() 583 PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW); in st_create_context_priv() 586 PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW); in st_create_context_priv()
|
D | st_extensions.c | 717 PIPE_TEXTURE_2D, i, i, bind)) { 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() 1107 ARRAY_SIZE(rendertarget_mapping), PIPE_TEXTURE_2D, in st_init_extensions() 1110 ARRAY_SIZE(rt_blendable), PIPE_TEXTURE_2D, in st_init_extensions() 1114 ARRAY_SIZE(depthstencil_mapping), PIPE_TEXTURE_2D, in st_init_extensions() 1117 ARRAY_SIZE(texture_mapping), PIPE_TEXTURE_2D, in st_init_extensions() 1375 PIPE_TEXTURE_2D, samples, samples, in st_init_extensions() 1392 PIPE_TEXTURE_2D, in st_init_extensions() 1566 PIPE_TEXTURE_2D, 0, 0, in st_init_extensions() 1569 PIPE_TEXTURE_2D, 0, 0, in st_init_extensions() [all …]
|
D | st_format.c | 80 PIPE_TEXTURE_2D, 0, 0, in st_mesa_format_to_pipe_format() 1236 (!bind || screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D, 0, 0, bind))) in st_choose_matching_format() 1259 pTarget = PIPE_TEXTURE_2D; in st_ChooseTextureFormat() 1422 PIPE_TEXTURE_2D, i, i, bind, in st_QuerySamplesForFormat() 1482 PIPE_TEXTURE_2D, 0, 0, in st_QueryInternalFormat() 1494 screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D, in st_QueryInternalFormat()
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
D | dri_screen.c | 474 PIPE_TEXTURE_2D, 0, 0, in dri_fill_in_modes() 477 PIPE_TEXTURE_2D, 0, 0, in dri_fill_in_modes() 480 PIPE_TEXTURE_2D, 0, 0, in dri_fill_in_modes() 483 PIPE_TEXTURE_2D, 0, 0, in dri_fill_in_modes() 486 PIPE_TEXTURE_2D, 0, 0, in dri_fill_in_modes() 489 PIPE_TEXTURE_2D, 0, 0, in dri_fill_in_modes() 543 PIPE_TEXTURE_2D, 0, 0, in dri_fill_in_modes() 552 PIPE_TEXTURE_2D, samples, samples, in dri_fill_in_modes() 855 screen->target = PIPE_TEXTURE_2D; in dri_init_screen_helper()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | adapter9.c | 222 dfmt = d3d9_to_pipe_format_checked(screen, AdapterFormat, PIPE_TEXTURE_2D, in NineAdapter9_CheckDeviceType() 225 bfmt = d3d9_to_pipe_format_checked(screen, BackBufferFormat, PIPE_TEXTURE_2D, in NineAdapter9_CheckDeviceType() 306 pf = d3d9_to_pipe_format_checked(screen, AdapterFormat, PIPE_TEXTURE_2D, 0, in NineAdapter9_CheckDeviceFormat() 318 case D3DRTYPE_SURFACE: target = PIPE_TEXTURE_2D; break; in NineAdapter9_CheckDeviceFormat() 319 case D3DRTYPE_TEXTURE: target = PIPE_TEXTURE_2D; break; in NineAdapter9_CheckDeviceFormat() 447 pf = d3d9_to_pipe_format_checked(screen, SurfaceFormat, PIPE_TEXTURE_2D, in NineAdapter9_CheckDeviceMultiSampleType() 455 pf = d3d9_to_pipe_format_checked(screen, SurfaceFormat, PIPE_TEXTURE_2D, in NineAdapter9_CheckDeviceMultiSampleType() 502 dfmt = d3d9_to_pipe_format_checked(screen, AdapterFormat, PIPE_TEXTURE_2D, 0, in NineAdapter9_CheckDepthStencilMatch() 505 PIPE_TEXTURE_2D, 0, in NineAdapter9_CheckDepthStencilMatch() 510 PIPE_TEXTURE_2D, 0, in NineAdapter9_CheckDepthStencilMatch() [all …]
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | query.c | 254 pscreen, format, PIPE_TEXTURE_2D, 1, 1, in vlVdpOutputSurfaceQueryCapabilities() 306 pscreen, format, PIPE_TEXTURE_2D, 1, 1, in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities() 355 pscreen, rgba_format, PIPE_TEXTURE_2D, 1, 1, in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities() 361 pscreen, index_format, PIPE_TEXTURE_2D, 1, 1, in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities() 410 pscreen, rgba_format, PIPE_TEXTURE_2D, 1, 1, in vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities() 454 pscreen, format, PIPE_TEXTURE_2D, 1, 1, in vlVdpBitmapSurfaceQueryCapabilities()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_tracker.c | 94 PIPE_TEXTURE_2D, 0, 0, in xa_get_pipe_format() 151 PIPE_TEXTURE_2D, 0, 0, in xa_get_pipe_format() 209 PIPE_TEXTURE_2D, 0, 0, bind)) { in xa_tracker_create() 312 PIPE_TEXTURE_2D, 0, 0, bind)) in xa_format_check_supported() 359 template->target = PIPE_TEXTURE_2D; in surface_create() 482 PIPE_TEXTURE_2D, 0, 0, in xa_surface_redefine()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_formats.c | 76 … PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_DEPTH_STENCIL)) { in lvp_physical_device_get_format_properties() 91 … PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW)) { in lvp_physical_device_get_format_properties() 124 … PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW)) { in lvp_physical_device_get_format_properties() 135 … PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_RENDER_TARGET)) { in lvp_physical_device_get_format_properties() 143 … PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SHADER_IMAGE)) { in lvp_physical_device_get_format_properties()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_blit.h | 46 case PIPE_TEXTURE_2D: return NV50_BLIT_TEXTURE_2D; in nv50_blit_texture_type() 61 case PIPE_TEXTURE_2D: return TGSI_TEXTURE_2D; in nv50_blit_get_tgsi_texture_target() 79 return PIPE_TEXTURE_2D; in nv50_blit_reinterpret_pipe_texture_target()
|
/third_party/mesa3d/src/gallium/tests/trivial/ |
D | compute.c | 556 init_tex(ctx, 1, PIPE_TEXTURE_2D, true, PIPE_FORMAT_R32_FLOAT, in test_resource_access() 622 init_tex(ctx, 0, PIPE_TEXTURE_2D, true, PIPE_FORMAT_R32_FLOAT, in test_function_calls() 875 init_tex(ctx, 0, PIPE_TEXTURE_2D, true, PIPE_FORMAT_R32_FLOAT, in test_sample() 877 init_tex(ctx, 1, PIPE_TEXTURE_2D, true, PIPE_FORMAT_R32_FLOAT, in test_sample() 1134 surface_fmts[i], PIPE_TEXTURE_2D, 1, 1, in test_surface_ld() 1140 init_tex(ctx, 0, PIPE_TEXTURE_2D, true, surface_fmts[i], in test_surface_ld() 1142 init_tex(ctx, 1, PIPE_TEXTURE_2D, true, PIPE_FORMAT_R32_FLOAT, in test_surface_ld() 1259 surface_fmts[i], PIPE_TEXTURE_2D, 1, 1, in test_surface_st() 1265 init_tex(ctx, 0, PIPE_TEXTURE_2D, true, PIPE_FORMAT_R32_FLOAT, in test_surface_st() 1267 init_tex(ctx, 1, PIPE_TEXTURE_2D, true, surface_fmts[i], in test_surface_st()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_linear_priv.h | 75 sampler->texture_state.target == PIPE_TEXTURE_2D && in is_nearest_sampler() 93 sampler->texture_state.target == PIPE_TEXTURE_2D && in is_linear_sampler()
|
D | lp_texture.h | 165 case PIPE_TEXTURE_2D: in llvmpipe_resource_is_texture() 187 case PIPE_TEXTURE_2D: in llvmpipe_resource_is_1d()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | Device.cpp | 472 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/tests/graw/ |
D | graw_util.h | 73 resource_temp.target = PIPE_TEXTURE_2D; in graw_util_create_window() 104 resource_temp.target = PIPE_TEXTURE_2D; in graw_util_create_window() 232 temp.target = PIPE_TEXTURE_2D; in graw_util_create_tex2d()
|
D | quad-sample.c | 218 templat.target = PIPE_TEXTURE_2D; in init_tex() 326 templat.target = PIPE_TEXTURE_2D; in init()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.c | 124 … if (!screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW)) in vl_video_buffer_is_format_supported() 128 … if (!screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_RENDER_TARGET)) in vl_video_buffer_is_format_supported() 185 templ->target = PIPE_TEXTURE_2D; in vl_video_buffer_template() 480 templ.target = array_size > 1 ? PIPE_TEXTURE_2D_ARRAY : PIPE_TEXTURE_2D; in vl_video_buffer_create_as_resource()
|
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
D | subpicture.c | 65 screen, ret, PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW)) in XvIDToPipe() 72 screen, ret, PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW)) in XvIDToPipe() 82 screen, ret, PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW)) { in XvIDToPipe() 298 tex_templ.target = PIPE_TEXTURE_2D; in XvMCCreateSubpicture()
|
/third_party/mesa3d/src/gallium/winsys/sw/wrapper/ |
D | wrapper_sw_winsys.c | 95 PIPE_TEXTURE_2D, 0, 0, in wsw_is_dt_format_supported() 310 wsw->target = PIPE_TEXTURE_2D; in wrapper_sw_winsys_wrap_pipe_screen()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_texture.h | 81 case PIPE_TEXTURE_2D: in fd4_tex_type()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_texture.h | 77 case PIPE_TEXTURE_2D: in fd5_tex_type()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_surface.cpp | 41 case PIPE_TEXTURE_2D: in view_dsv_dimension() 65 case PIPE_TEXTURE_2D: in view_rtv_dimension() 239 if (!pctx->screen->is_format_supported(pctx->screen, tpl->format, PIPE_TEXTURE_2D, in d3d12_create_surface()
|
/third_party/mesa3d/docs/gallium/ |
D | resources.rst | 114 D3D11: not supported (only PIPE_TEXTURE_2D with normalized coordinates is supported) 116 PIPE_TEXTURE_2D / PIPE_TEXTURE_2D_ARRAY 124 - array_size must be 1 for PIPE_TEXTURE_2D
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_resource.h | 149 case PIPE_TEXTURE_2D: in panfrost_translate_texture_dimension()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_surface.h | 155 case PIPE_TEXTURE_2D: in svga_resource_type()
|