Home
last modified time | relevance | path

Searched refs:sampler_desc (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/tests/graw/
Dgraw_util.h289 struct pipe_sampler_state sampler_desc; in graw_util_create_simple_sampler() local
292 memset(&sampler_desc, 0, sizeof sampler_desc); in graw_util_create_simple_sampler()
293 sampler_desc.wrap_s = in graw_util_create_simple_sampler()
294 sampler_desc.wrap_t = in graw_util_create_simple_sampler()
295 sampler_desc.wrap_r = wrap_mode; in graw_util_create_simple_sampler()
296 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in graw_util_create_simple_sampler()
297 sampler_desc.min_img_filter = in graw_util_create_simple_sampler()
298 sampler_desc.mag_img_filter = img_filter; in graw_util_create_simple_sampler()
299 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in graw_util_create_simple_sampler()
300 sampler_desc.compare_func = 0; in graw_util_create_simple_sampler()
[all …]
Dquad-sample.c170 struct pipe_sampler_state sampler_desc; in init_tex() local
276 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex()
277 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex()
278 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex()
279 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex()
280 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
281 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex()
282 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
283 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex()
284 sampler_desc.compare_func = 0; in init_tex()
[all …]
Dfs-test.c254 struct pipe_sampler_state sampler_desc; in init_tex() local
361 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex()
362 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex()
363 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex()
364 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex()
365 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
366 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex()
367 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
368 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex()
369 sampler_desc.compare_func = 0; in init_tex()
[all …]
Dvs-test.c242 struct pipe_sampler_state sampler_desc; in init_tex() local
349 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex()
350 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex()
351 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex()
352 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex()
353 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
354 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex()
355 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
356 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex()
357 sampler_desc.compare_func = 0; in init_tex()
[all …]
Dgs-test.c344 struct pipe_sampler_state sampler_desc; in init_tex() local
451 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex()
452 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex()
453 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex()
454 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex()
455 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
456 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex()
457 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
458 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex()
459 sampler_desc.compare_func = 0; in init_tex()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/
Dd3d11device.cpp265 D3D11_SAMPLER_DESC sampler_desc = { 0, }; in prepare_shader() local
266 sampler_desc.Filter = D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT; in prepare_shader()
267 sampler_desc.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP; in prepare_shader()
268 sampler_desc.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP; in prepare_shader()
269 sampler_desc.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP; in prepare_shader()
270 sampler_desc.ComparisonFunc = D3D11_COMPARISON_ALWAYS; in prepare_shader()
271 sampler_desc.MinLOD = 0; in prepare_shader()
272 sampler_desc.MaxLOD = D3D11_FLOAT32_MAX; in prepare_shader()
275 HRESULT hr = d3d11_device->CreateSamplerState (&sampler_desc, &sampler_state); in prepare_shader()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11overlaycompositor.cpp315 D3D11_SAMPLER_DESC sampler_desc; in gst_d3d11_overlay_compositor_setup_shader() local
333 memset (&sampler_desc, 0, sizeof (sampler_desc)); in gst_d3d11_overlay_compositor_setup_shader()
342 sampler_desc.Filter = D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT; in gst_d3d11_overlay_compositor_setup_shader()
343 sampler_desc.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP; in gst_d3d11_overlay_compositor_setup_shader()
344 sampler_desc.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP; in gst_d3d11_overlay_compositor_setup_shader()
345 sampler_desc.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP; in gst_d3d11_overlay_compositor_setup_shader()
346 sampler_desc.ComparisonFunc = D3D11_COMPARISON_ALWAYS; in gst_d3d11_overlay_compositor_setup_shader()
347 sampler_desc.MinLOD = 0; in gst_d3d11_overlay_compositor_setup_shader()
348 sampler_desc.MaxLOD = D3D11_FLOAT32_MAX; in gst_d3d11_overlay_compositor_setup_shader()
350 hr = device_handle->CreateSamplerState (&sampler_desc, &sampler); in gst_d3d11_overlay_compositor_setup_shader()
Dgstd3d11screencapturesrc.cpp563 D3D11_SAMPLER_DESC sampler_desc; in gst_d3d11_screen_capture_prepare_shader() local
581 memset (&sampler_desc, 0, sizeof (D3D11_SAMPLER_DESC)); in gst_d3d11_screen_capture_prepare_shader()
582 sampler_desc.Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR; in gst_d3d11_screen_capture_prepare_shader()
583 sampler_desc.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP; in gst_d3d11_screen_capture_prepare_shader()
584 sampler_desc.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP; in gst_d3d11_screen_capture_prepare_shader()
585 sampler_desc.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP; in gst_d3d11_screen_capture_prepare_shader()
586 sampler_desc.ComparisonFunc = D3D11_COMPARISON_NEVER; in gst_d3d11_screen_capture_prepare_shader()
587 sampler_desc.MinLOD = 0; in gst_d3d11_screen_capture_prepare_shader()
588 sampler_desc.MaxLOD = D3D11_FLOAT32_MAX; in gst_d3d11_screen_capture_prepare_shader()
590 hr = device_handle->CreateSamplerState (&sampler_desc, &sampler); in gst_d3d11_screen_capture_prepare_shader()
Dgstd3d11converter.cpp1468 D3D11_SAMPLER_DESC sampler_desc; in gst_d3d11_color_convert_setup_shader() local
1493 memset (&sampler_desc, 0, sizeof (sampler_desc)); in gst_d3d11_color_convert_setup_shader()
1501 sampler_desc.Filter = D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT; in gst_d3d11_color_convert_setup_shader()
1502 sampler_desc.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP; in gst_d3d11_color_convert_setup_shader()
1503 sampler_desc.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP; in gst_d3d11_color_convert_setup_shader()
1504 sampler_desc.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP; in gst_d3d11_color_convert_setup_shader()
1505 sampler_desc.ComparisonFunc = D3D11_COMPARISON_ALWAYS; in gst_d3d11_color_convert_setup_shader()
1506 sampler_desc.MinLOD = 0; in gst_d3d11_color_convert_setup_shader()
1507 sampler_desc.MaxLOD = D3D11_FLOAT32_MAX; in gst_d3d11_color_convert_setup_shader()
1509 hr = device_handle->CreateSamplerState (&sampler_desc, &linear_sampler); in gst_d3d11_color_convert_setup_shader()
Dgstd3d11screencapture.cpp661 D3D11_SAMPLER_DESC sampler_desc; in InitShader() local
662 memset (&sampler_desc, 0, sizeof (D3D11_SAMPLER_DESC)); in InitShader()
663 sampler_desc.Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR; in InitShader()
664 sampler_desc.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP; in InitShader()
665 sampler_desc.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP; in InitShader()
666 sampler_desc.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP; in InitShader()
667 sampler_desc.ComparisonFunc = D3D11_COMPARISON_NEVER; in InitShader()
668 sampler_desc.MinLOD = 0; in InitShader()
669 sampler_desc.MaxLOD = D3D11_FLOAT32_MAX; in InitShader()
673 HRESULT hr = device_handle->CreateSamplerState (&sampler_desc, &sampler); in InitShader()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_wgpu.cpp512 WGPUSamplerDescriptor sampler_desc = {}; in ImGui_ImplWGPU_CreateFontsTexture() local
513 sampler_desc.minFilter = WGPUFilterMode_Linear; in ImGui_ImplWGPU_CreateFontsTexture()
514 sampler_desc.magFilter = WGPUFilterMode_Linear; in ImGui_ImplWGPU_CreateFontsTexture()
515 sampler_desc.mipmapFilter = WGPUFilterMode_Linear; in ImGui_ImplWGPU_CreateFontsTexture()
516 sampler_desc.addressModeU = WGPUAddressMode_Repeat; in ImGui_ImplWGPU_CreateFontsTexture()
517 sampler_desc.addressModeV = WGPUAddressMode_Repeat; in ImGui_ImplWGPU_CreateFontsTexture()
518 sampler_desc.addressModeW = WGPUAddressMode_Repeat; in ImGui_ImplWGPU_CreateFontsTexture()
519 sampler_desc.maxAnisotropy = 1; in ImGui_ImplWGPU_CreateFontsTexture()
520 g_resources.Sampler = wgpuDeviceCreateSampler(g_wgpuDevice, &sampler_desc); in ImGui_ImplWGPU_CreateFontsTexture()
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Ddxgicapture.c274 D3D11_SAMPLER_DESC sampler_desc; in dxgicap_new() local
409 memset (&sampler_desc, 0, sizeof (sampler_desc)); in dxgicap_new()
410 sampler_desc.Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR; in dxgicap_new()
411 sampler_desc.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP; in dxgicap_new()
412 sampler_desc.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP; in dxgicap_new()
413 sampler_desc.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP; in dxgicap_new()
414 sampler_desc.ComparisonFunc = D3D11_COMPARISON_NEVER; in dxgicap_new()
415 sampler_desc.MinLOD = 0; in dxgicap_new()
416 sampler_desc.MaxLOD = D3D11_FLOAT32_MAX; in dxgicap_new()
418 hr = ID3D11Device_CreateSamplerState (self->d3d11_device, &sampler_desc, in dxgicap_new()