Bug 1089

Summary: Add API to list possible CL devices for CLGLContext creation
Product: [JogAmp] Jocl Reporter: Thomas De Bodt <thomas_de_bodt>
Component: openglAssignee: Wade Walker <wwalker3>
Status: UNCONFIRMED ---    
Severity: enhancement CC: sgothel, wwalker3
Priority: ---    
Version: 1   
Hardware: All   
OS: all   
Type: --- SCM Refs:
Workaround: ---

Description Thomas De Bodt 2014-10-06 13:41:17 CEST
The CLGLContext class contains factory methods that accept a CLPlatform and CLDevice's. However there is no API to determine which CLDevice can be use with a certain GLContext.

From the OpenCL 1.1. spec it seems you can retrieve this information using clGetGLContextInfoKHR.