initialize_context_from_va

Function initialize_context_from_va 

Source
pub unsafe fn initialize_context_from_va(
    display: VADisplay,
    try_interop: bool,
) -> Result<Context>
Expand description

Creates OpenCL context from VA.

§Parameters

  • display: - VADisplay for which CL interop should be established.
  • tryInterop: - try to set up for interoperability, if true; set up for use slow copy if false.

§Returns

Returns reference to OpenCL Context

§C++ default parameters

  • try_interop: true