/third_party/libdrm/tests/amdgpu/ |
D | basic_tests.c | 70 static void amdgpu_test_exec_cs_helper(amdgpu_context_handle context_handle, 848 amdgpu_context_handle context_handle; in amdgpu_command_submission_gfx_separate_ibs() local 861 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in amdgpu_command_submission_gfx_separate_ibs() 907 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1); in amdgpu_command_submission_gfx_separate_ibs() 911 fence_status.context = context_handle; in amdgpu_command_submission_gfx_separate_ibs() 932 r = amdgpu_cs_ctx_free(context_handle); in amdgpu_command_submission_gfx_separate_ibs() 939 amdgpu_context_handle context_handle; in amdgpu_command_submission_gfx_shared_ib() local 952 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in amdgpu_command_submission_gfx_shared_ib() 991 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in amdgpu_command_submission_gfx_shared_ib() 995 fence_status.context = context_handle; in amdgpu_command_submission_gfx_shared_ib() [all …]
|
D | deadlock_tests.c | 239 amdgpu_context_handle context_handle; in amdgpu_deadlock_helper() local 254 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in amdgpu_deadlock_helper() 299 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1); in amdgpu_deadlock_helper() 305 fence_status.context = context_handle; in amdgpu_deadlock_helper() 324 r = amdgpu_cs_ctx_free(context_handle); in amdgpu_deadlock_helper() 330 amdgpu_context_handle context_handle; in amdgpu_deadlock_sdma() local 347 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in amdgpu_deadlock_sdma() 396 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1); in amdgpu_deadlock_sdma() 402 fence_status.context = context_handle; in amdgpu_deadlock_sdma() 421 r = amdgpu_cs_ctx_free(context_handle); in amdgpu_deadlock_sdma() [all …]
|
D | vm_tests.c | 98 amdgpu_context_handle context_handle; in amdgpu_vmid_reserve_test() local 123 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in amdgpu_vmid_reserve_test() 158 r = amdgpu_cs_submit(context_handle, 0,&ibs_request, 1); in amdgpu_vmid_reserve_test() 163 fence_status.context = context_handle; in amdgpu_vmid_reserve_test() 185 r = amdgpu_cs_ctx_free(context_handle); in amdgpu_vmid_reserve_test()
|
D | syncobj_tests.c | 93 amdgpu_context_handle context_handle; in syncobj_command_submission_helper() local 120 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in syncobj_command_submission_helper() 160 context_handle, in syncobj_command_submission_helper() 169 fence_status.context = context_handle; in syncobj_command_submission_helper() 187 r = amdgpu_cs_ctx_free(context_handle); in syncobj_command_submission_helper()
|
D | vcn_tests.c | 65 static amdgpu_context_handle context_handle; variable 158 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_vcn_tests_init() 181 r = amdgpu_cs_ctx_free(context_handle); in suite_vcn_tests_clean() 214 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit() 222 fence_status.context = context_handle; in submit()
|
D | cs_tests.c | 45 static amdgpu_context_handle context_handle; variable 112 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_cs_tests_init() 141 r = amdgpu_cs_ctx_free(context_handle); in suite_cs_tests_clean() 174 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit() 182 fence_status.context = context_handle; in submit()
|
D | cp_dma_tests.c | 51 static amdgpu_context_handle context_handle; variable 237 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit_and_sync() 245 fence_status.context = context_handle; in submit_and_sync() 434 r = amdgpu_cs_ctx_create(executing_device_handle, &context_handle); in suite_cp_dma_tests_init() 473 r = amdgpu_cs_ctx_free(context_handle); in suite_cp_dma_tests_clean()
|
D | amdgpu_stress.c | 139 amdgpu_context_handle context_handle; variable 248 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit_ib() 261 fence_status.context = context_handle; in submit_ib() 338 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in main()
|
D | uvd_enc_tests.c | 63 static amdgpu_context_handle context_handle; variable 119 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_uvd_enc_tests_init() 142 r = amdgpu_cs_ctx_free(context_handle); in suite_uvd_enc_tests_clean() 175 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit() 183 fence_status.context = context_handle; in submit()
|
D | jpeg_tests.c | 130 static amdgpu_context_handle context_handle; variable 203 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_jpeg_tests_init() 224 r = amdgpu_cs_ctx_free(context_handle); in suite_jpeg_tests_clean() 257 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit() 265 fence_status.context = context_handle; in submit()
|
D | vce_tests.c | 74 static amdgpu_context_handle context_handle; variable 161 r = amdgpu_cs_ctx_create(device_handle, &context_handle); in suite_vce_tests_init() 186 r = amdgpu_cs_ctx_free(context_handle); in suite_vce_tests_clean() 219 r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1); in submit() 227 fence_status.context = context_handle; in submit()
|
D | amdgpu_test.h | 535 amdgpu_context_handle context_handle,
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | d3d11device.cpp | 125 ID3D11DeviceContext *context_handle, *context_handle_clone; in GST_START_TEST() local 139 context_handle = gst_d3d11_device_get_device_context_handle (device); in GST_START_TEST() 140 fail_unless (context_handle != nullptr); in GST_START_TEST() 153 fail_unless_equals_pointer (context_handle, context_handle_clone); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11overlaycompositor.cpp | 128 ID3D11DeviceContext *context_handle; in gst_d3d11_composition_overlay_new() local 147 context_handle = gst_d3d11_device_get_device_context_handle (device); in gst_d3d11_composition_overlay_new() 222 hr = context_handle->Map (vertex_buffer.Get (), in gst_d3d11_composition_overlay_new() 277 context_handle->Unmap (vertex_buffer.Get (), 0); in gst_d3d11_composition_overlay_new() 322 ID3D11DeviceContext *context_handle; in gst_d3d11_overlay_compositor_setup_shader() local 339 context_handle = gst_d3d11_device_get_device_context_handle (device); in gst_d3d11_overlay_compositor_setup_shader() 415 hr = context_handle->Map (index_buffer.Get (), in gst_d3d11_overlay_compositor_setup_shader() 435 context_handle->Unmap (index_buffer.Get (), 0); in gst_d3d11_overlay_compositor_setup_shader()
|
D | gstd3d11convert.cpp | 1508 ID3D11DeviceContext * context_handle, ID3D11RenderTargetView * rtv, in clear_rtv_color_rgb() argument 1523 context_handle->ClearRenderTargetView (rtv, target); in clear_rtv_color_rgb() 1528 ID3D11DeviceContext * context_handle, ID3D11RenderTargetView * rtv, in clear_rtv_color_vuya() argument 1541 context_handle->ClearRenderTargetView (rtv, target); in clear_rtv_color_vuya() 1546 ID3D11DeviceContext * context_handle, ID3D11RenderTargetView * rtv, in clear_rtv_color_luma() argument 1561 context_handle->ClearRenderTargetView (rtv, target); in clear_rtv_color_luma() 1566 ID3D11DeviceContext * context_handle, ID3D11RenderTargetView * rtv) in clear_rtv_color_chroma() argument 1570 context_handle->ClearRenderTargetView (rtv, clear_color); in clear_rtv_color_chroma() 1575 ID3D11DeviceContext * context_handle, in clear_rtv_color_all() argument 1586 clear_rtv_color_rgb (self, context_handle, rtv[i], full_range); in clear_rtv_color_all() [all …]
|
D | gstd3d11screencapture.cpp | 366 ID3D11DeviceContext *context_handle = in DrawMouse() local 504 context_handle->IASetVertexBuffers(0, 1, &vert_buf, &Stride, &Offset); in DrawMouse() 505 context_handle->OMSetBlendState(blend, BlendFactor, 0xFFFFFFFF); in DrawMouse() 506 context_handle->OMSetRenderTargets(1, &rtv, nullptr); in DrawMouse() 507 context_handle->VSSetShader(vs, nullptr, 0); in DrawMouse() 508 context_handle->PSSetShader(ps, nullptr, 0); in DrawMouse() 509 context_handle->PSSetShaderResources(0, 1, &srv); in DrawMouse() 510 context_handle->PSSetSamplers(0, 1, &sampler); in DrawMouse() 511 context_handle->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); in DrawMouse() 512 context_handle->IASetInputLayout(layout); in DrawMouse() [all …]
|
D | gstd3d11converter.cpp | 1475 ID3D11DeviceContext *context_handle; in gst_d3d11_color_convert_setup_shader() local 1498 context_handle = gst_d3d11_device_get_device_context_handle (device); in gst_d3d11_color_convert_setup_shader() 1574 hr = context_handle->Map (transform_const_buffer.Get (), in gst_d3d11_color_convert_setup_shader() 1586 context_handle->Unmap (transform_const_buffer.Get (), 0); in gst_d3d11_color_convert_setup_shader() 1614 hr = context_handle->Map (alpha_const_buffer.Get (), in gst_d3d11_color_convert_setup_shader() 1627 context_handle->Unmap (alpha_const_buffer.Get (), 0); in gst_d3d11_color_convert_setup_shader() 1683 hr = context_handle->Map (vertex_buffer.Get (), 0, D3D11_MAP_WRITE_DISCARD, 0, in gst_d3d11_color_convert_setup_shader() 1693 hr = context_handle->Map (index_buffer.Get (), 0, D3D11_MAP_WRITE_DISCARD, 0, in gst_d3d11_color_convert_setup_shader() 1697 context_handle->Unmap (vertex_buffer.Get (), 0); in gst_d3d11_color_convert_setup_shader() 1741 context_handle->Unmap (vertex_buffer.Get (), 0); in gst_d3d11_color_convert_setup_shader() [all …]
|
D | gstd3d11window_dummy.cpp | 469 ID3D11DeviceContext *context_handle = in gst_d3d11_window_dummy_release_shared_handle() local 488 ID3D11DeviceContext *context_handle = in gst_d3d11_window_dummy_release_shared_handle() local 500 context_handle->CopySubresourceRegion (data->texture, 0, 0, 0, 0, in gst_d3d11_window_dummy_release_shared_handle() 503 context_handle->End (query.Get ()); in gst_d3d11_window_dummy_release_shared_handle() 507 context_handle->GetData (query.Get (), &sync_done, sizeof (BOOL), 0); in gst_d3d11_window_dummy_release_shared_handle()
|
D | gstd3d11compositor.cpp | 2086 ID3D11DeviceContext *context_handle; in gst_d3d11_compositor_create_checker_quad() local 2100 context_handle = gst_d3d11_device_get_device_context_handle (self->device); in gst_d3d11_compositor_create_checker_quad() 2135 hr = context_handle->Map (vertex_buffer.Get (), in gst_d3d11_compositor_create_checker_quad() 2173 context_handle->Unmap (vertex_buffer.Get (), 0); in gst_d3d11_compositor_create_checker_quad() 2187 hr = context_handle->Map (index_buffer.Get (), in gst_d3d11_compositor_create_checker_quad() 2206 context_handle->Unmap (index_buffer.Get (), 0); in gst_d3d11_compositor_create_checker_quad()
|
D | gstd3d11deinterlace.cpp | 2213 ID3D11DeviceContext *context_handle; in gst_d3d11_deinterlace_register() local 2247 context_handle = gst_d3d11_device_get_device_context_handle (device); in gst_d3d11_deinterlace_register() 2253 hr = context_handle->QueryInterface (IID_PPV_ARGS (&video_context)); in gst_d3d11_deinterlace_register()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/cocoa/ |
D | gstglcontext_cocoa.m | 368 gpointer context_handle = activate ? context_cocoa->priv->gl_context : NULL; 370 return kCGLNoError == CGLSetCurrentContext (context_handle);
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfvideoenc.cpp | 1055 ID3D11DeviceContext *context_handle; in gst_mf_video_enc_create_input_sample_d3d11() local 1074 context_handle = gst_d3d11_device_get_device_context_handle (dmem->device); in gst_mf_video_enc_create_input_sample_d3d11() 1159 context_handle->CopySubresourceRegion (shared_texture.Get (), 0, 0, 0, 0, in gst_mf_video_enc_create_input_sample_d3d11() 1161 context_handle->End (query.Get ()); in gst_mf_video_enc_create_input_sample_d3d11() 1165 context_handle->GetData (query.Get (), &sync_done, sizeof (BOOL), 0); in gst_mf_video_enc_create_input_sample_d3d11()
|
/third_party/libdrm/include/drm/ |
D | vmwgfx_drm.h | 318 __u32 context_handle; member
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmwgfx_drm.h | 342 __u32 context_handle; member
|
D | vmw_screen_ioctl.c | 558 arg.context_handle = (vws->base.have_vgpu10 ? cid : SVGA3D_INVALID_ID); in vmw_ioctl_command() 569 offsetof(struct drm_vmw_execbuf_arg, context_handle); in vmw_ioctl_command()
|