concept OpenGL context in category opencl

This is an excerpt from Manning's book OpenCL in Action: How to Accelerate Graphics and Computation.
Table 2.5. Context property parameters
Property name
Property value
Meaning
CL_CONTEXT_PLATFORM cl_context_id Associates the context with the given platform CL_CONTEXT_D3D10_DEVICE_KHR ID3D10Device* Associates the context with the Direct3D device CL_GL_CONTEXT_KHR OS-Dependent Identifies an OpenGL context CL_EGL_DISPLAY_KHR EGLDisplay Displays the OpenGL-ES context on embedded devices CL_GLX_DISPLAY_KHR GLXContext Displays the OpenGL context on Linux CL_WGL_HDC_KHR HDC Serves as the device context for the OpenGL context on Windows CL_CGL_SHAREGROUP_KHR CGLShareGroupObj Serves as the share group for the OpenGL context on Mac OS
The OpenCL API provides three functions that allow you to obtain information about a running OpenCL-OpenGL application. The first two functions, clGetGLObjectInfo and clGetGLTextureInfo, query the characteristics of OpenGL objects whose data is shared with OpenCL kernels. The third, clGetGLContextInfoKHR, provides information about an OpenGL context and its associated devices.
The cl_context_properties structure, discussed earlier in this section, must identify an OpenGL context to ensure OpenCL-OpenGL interoperability. The clGetGLContextInfoKHR function accepts a cl_context_properties structure and provides information about devices capable of supporting its context. The function’s signature is as follows: