[−][src]Function fil_ocl_core::get_gl_context_info_khr
pub fn get_gl_context_info_khr(
properties: &ContextProperties,
request: GlContextInfo
) -> OclCoreResult<GlContextInfoResult>
[INOPERATIVE: Needs troubleshooting] Returns OpenGL context information.
Used to query current or available devices associated with an existing OpenGL context/sharegroup.
properties
must identify a single valid GL context or GL share group
object and a valid platform.
Debugging (notes)
For some reason, calling the function pointer returned by the call to
ffi::clGetExtensionFunctionAddressForPlatform
causes a segfault
(ffi::clGetExtensionFunctionAddressForPlatform
appears to be working
just fine). The function pointer returned is not null.
Further investigation into the what address the returned function pointer points to is needed. There may be some Rust-specific quirk having to do with how libraries are loaded into memory. There may alternatively just be a simple mistake somewhere.