  OpenGL is a standard API for 3D graphics and closely related to OpenCL.
      </p>
<p>
        Boost.Compute provides an easy way to create a shared OpenCL/OpenGL context
        via the <code class="computeroutput"><a class="link" href="../boost/compute/opengl_create_shar_idm9487.html" title="Function opengl_create_shared_context">opengl_create_shared_context()</a></code>
        function. This creates a Boost.Compute <code class="computeroutput">context</code>
        object which can be used to create 