Home
last modified time | relevance | path

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

/third_party/libdrm/tests/amdgpu/
Dbasic_tests.c70 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 …]
Ddeadlock_tests.c239 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 …]
Dvm_tests.c98 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()
Dsyncobj_tests.c93 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()
Dvcn_tests.c65 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()
Dcs_tests.c45 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()
Dcp_dma_tests.c51 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()
Damdgpu_stress.c139 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()
Duvd_enc_tests.c63 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()
Djpeg_tests.c130 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()
Dvce_tests.c74 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()
Damdgpu_test.h535 amdgpu_context_handle context_handle,
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dd3d11device.cpp125 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/
Dgstd3d11overlaycompositor.cpp128 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()
Dgstd3d11convert.cpp1508 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 …]
Dgstd3d11screencapture.cpp366 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 …]
Dgstd3d11converter.cpp1475 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 …]
Dgstd3d11window_dummy.cpp469 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()
Dgstd3d11compositor.cpp2086 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()
Dgstd3d11deinterlace.cpp2213 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/
Dgstglcontext_cocoa.m368 gpointer context_handle = activate ? context_cocoa->priv->gl_context : NULL;
370 return kCGLNoError == CGLSetCurrentContext (context_handle);
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideoenc.cpp1055 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/
Dvmwgfx_drm.h318 __u32 context_handle; member
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmwgfx_drm.h342 __u32 context_handle; member
Dvmw_screen_ioctl.c558 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()