Home
last modified time | relevance | path

Searched refs:dxgi_format (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dgen_dxgi_format_table.py78 def format_case(dxgi_format, result): argument
79 return template_format_case.format(dxgi_format=dxgi_format, result=result)
82 def undefined_case(dxgi_format): argument
83 return template_undefined_case.format(dxgi_format=dxgi_format)
124 for dxgi_format, a_format in sorted(dxgi_map.items()):
126 found = [ctype in dxgi_format for ctype in types.keys()]
133 gltype for ctype, gltype in sorted(types.items()) if ctype in dxgi_format)
134 component_cases += format_case(dxgi_format, gltype)
136 component_cases += undefined_case(dxgi_format)
139 a_format = dxgi_format
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Dgen_dxgi_format_table.py79 def format_case(dxgi_format, result): argument
80 return template_format_case.format(dxgi_format=dxgi_format, result=result)
83 def undefined_case(dxgi_format): argument
84 return template_undefined_case.format(dxgi_format=dxgi_format)
125 for dxgi_format, a_format in sorted(dxgi_map.iteritems()):
127 found = [ctype in dxgi_format for ctype in types.keys()]
133 gltype = next(gltype for ctype, gltype in types.iteritems() if ctype in dxgi_format)
134 component_cases += format_case(dxgi_format, gltype)
136 component_cases += undefined_case(dxgi_format)
139 a_format = dxgi_format
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/d3d11/
Dgstd3d11device.cpp504 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_B8G8R8A8_UNORM; in gst_d3d11_device_setup_format_table()
510 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_B8G8R8A8_UNORM; in gst_d3d11_device_setup_format_table()
515 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_R8G8B8A8_UNORM; in gst_d3d11_device_setup_format_table()
521 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_R8G8B8A8_UNORM; in gst_d3d11_device_setup_format_table()
527 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_R10G10B10A2_UNORM; in gst_d3d11_device_setup_format_table()
536 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_AYUV; in gst_d3d11_device_setup_format_table()
538 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_UNKNOWN; in gst_d3d11_device_setup_format_table()
563 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_YUY2; in gst_d3d11_device_setup_format_table()
590 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_Y210; in gst_d3d11_device_setup_format_table()
592 priv->format_table[n_formats].dxgi_format = DXGI_FORMAT_UNKNOWN; in gst_d3d11_device_setup_format_table()
[all …]
Dgstd3d11format.h52 DXGI_FORMAT dxgi_format; member
Dgstd3d11bufferpool.cpp304 if (format->dxgi_format != DXGI_FORMAT_UNKNOWN && in gst_d3d11_buffer_pool_set_config()
Dgstd3d11memory.cpp96 if (d3d11_format->dxgi_format == DXGI_FORMAT_UNKNOWN) { in gst_d3d11_allocation_params_new()
115 ret->desc[0].Format = d3d11_format->dxgi_format; in gst_d3d11_allocation_params_new()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_surface.cpp88 DXGI_FORMAT dxgi_format) in initialize_dsv() argument
94 desc.Format = dxgi_format; in initialize_dsv()
156 DXGI_FORMAT dxgi_format) in initialize_rtv() argument
162 desc.Format = dxgi_format; in initialize_rtv()
257 DXGI_FORMAT dxgi_format = d3d12_get_resource_rt_format(tpl->format); in d3d12_create_surface() local
259 initialize_dsv(pctx, pres, tpl, &surface->desc_handle, dxgi_format); in d3d12_create_surface()
261 initialize_rtv(pctx, pres, tpl, &surface->desc_handle, dxgi_format); in d3d12_create_surface()
312 DXGI_FORMAT dxgi_format = d3d12_get_resource_rt_format(surface->base.format); in d3d12_surface_update_pre_draw() local
315 if (dxgi_format == format) in d3d12_surface_update_pre_draw()
318 if (dxgi_format == DXGI_FORMAT_B8G8R8A8_UNORM || in d3d12_surface_update_pre_draw()
[all …]
Dd3d12_screen.cpp581 DXGI_FORMAT dxgi_format = d3d12_get_format(format); in d3d12_is_format_supported() local
582 if (dxgi_format == DXGI_FORMAT_UNKNOWN) in d3d12_is_format_supported()
660 dxgi_format == DXGI_FORMAT_B8G8R8X8_UNORM || in d3d12_is_format_supported()
661 dxgi_format == DXGI_FORMAT_B5G5R5A1_UNORM || in d3d12_is_format_supported()
662 dxgi_format == DXGI_FORMAT_B5G6R5_UNORM || in d3d12_is_format_supported()
663 dxgi_format == DXGI_FORMAT_B4G4R4A4_UNORM)) in d3d12_is_format_supported()
682 ms_info.Format = dxgi_format; in d3d12_is_format_supported()
Dd3d12_blit.cpp87 if (src->dxgi_format != dst->dxgi_format) in resolve_supported()
131 DXGI_FORMAT dxgi_format = d3d12_get_resource_srv_format(src->base.b.format, src->base.b.target); in blit_resolve() local
133 assert(src->dxgi_format == dst->dxgi_format); in blit_resolve()
137 dxgi_format); in blit_resolve()
Dd3d12_resource.h46 DXGI_FORMAT dxgi_format; member
Dd3d12_resource.cpp158 res->dxgi_format = DXGI_FORMAT_UNKNOWN; in init_buffer()
177 res->dxgi_format = d3d12_get_format(templ->format); in init_texture()
180 desc.Format = res->dxgi_format; in init_texture()
619 res->dxgi_format = d3d12_get_format(res->overall_format); in d3d12_resource_from_handle()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11convert.cpp1173 DXGI_FORMAT dxgi_format = DXGI_FORMAT_UNKNOWN; in gst_d3d11_base_convert_propose_allocation() local
1203 if (d3d11_format->dxgi_format == DXGI_FORMAT_UNKNOWN) { in gst_d3d11_base_convert_propose_allocation()
1204 dxgi_format = d3d11_format->resource_format[0]; in gst_d3d11_base_convert_propose_allocation()
1206 dxgi_format = d3d11_format->dxgi_format; in gst_d3d11_base_convert_propose_allocation()
1210 hr = device_handle->CheckFormatSupport (dxgi_format, &supported); in gst_d3d11_base_convert_propose_allocation()
1297 DXGI_FORMAT dxgi_format = DXGI_FORMAT_UNKNOWN; in gst_d3d11_base_convert_decide_allocation() local
1319 if (d3d11_format->dxgi_format == DXGI_FORMAT_UNKNOWN) { in gst_d3d11_base_convert_decide_allocation()
1320 dxgi_format = d3d11_format->resource_format[0]; in gst_d3d11_base_convert_decide_allocation()
1322 dxgi_format = d3d11_format->dxgi_format; in gst_d3d11_base_convert_decide_allocation()
1326 hr = device_handle->CheckFormatSupport (dxgi_format, &supported); in gst_d3d11_base_convert_decide_allocation()
[all …]
Dgstd3d11window.cpp305 hr = swap_chain->ResizeBuffers (0, width, height, window->dxgi_format, in gst_d3d11_window_on_resize_default()
410 DXGI_FORMAT dxgi_format; member
479 hr = device_handle->CheckFormatSupport (formats[i].dxgi_format, in gst_d3d11_window_prepare_default()
484 formats[i].dxgi_format); in gst_d3d11_window_prepare_default()
531 chosen_format->dxgi_format); in gst_d3d11_window_prepare_default()
561 window->dxgi_format = chosen_format->dxgi_format; in gst_d3d11_window_prepare_default()
565 !klass->create_swap_chain (window, window->dxgi_format, in gst_d3d11_window_prepare_default()
684 in_format->dxgi_format != DXGI_FORMAT_UNKNOWN) { in gst_d3d11_window_prepare_default()
696 DXGI_FORMAT in_dxgi_format = in_format->dxgi_format; in gst_d3d11_window_prepare_default()
697 DXGI_FORMAT out_dxgi_format = chosen_format->dxgi_format; in gst_d3d11_window_prepare_default()
Dgstd3d11upload.cpp371 DXGI_FORMAT dxgi_format = DXGI_FORMAT_UNKNOWN; in gst_d3d11_upload_decide_allocation() local
390 if (d3d11_format->dxgi_format == DXGI_FORMAT_UNKNOWN) { in gst_d3d11_upload_decide_allocation()
391 dxgi_format = d3d11_format->resource_format[0]; in gst_d3d11_upload_decide_allocation()
393 dxgi_format = d3d11_format->dxgi_format; in gst_d3d11_upload_decide_allocation()
397 hr = device_handle->CheckFormatSupport (dxgi_format, &supported); in gst_d3d11_upload_decide_allocation()
Dgstd3d11window_dummy.cpp134 in_format->dxgi_format != DXGI_FORMAT_UNKNOWN) { in gst_d3d11_window_dummy_prepare()
147 DXGI_FORMAT in_dxgi_format = in_format->dxgi_format; in gst_d3d11_window_dummy_prepare()
Dgstd3d11window.h121 DXGI_FORMAT dxgi_format; member
Dgstd3d11decoder.cpp728 if (!d3d11_format || d3d11_format->dxgi_format == DXGI_FORMAT_UNKNOWN) { in gst_d3d11_decoder_configure()
739 decoder->decoder_format = d3d11_format->dxgi_format; in gst_d3d11_decoder_configure()
Dgstd3d11pluginutils.cpp667 if (format->dxgi_format != DXGI_FORMAT_UNKNOWN && in gst_d3d11_allocate_staging_buffer_for()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dplugin.c139 if (!d3d11_format || d3d11_format->dxgi_format != DXGI_FORMAT_NV12) { in get_d3d11_devices()