Class KHRGLSharing


  • public final class KHRGLSharing
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CL_CGL_SHAREGROUP_KHR
      Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
      static int CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR
      Accepted as the <param_name> argument of clGetGLContextInfoKHR:
      static int CL_DEVICES_FOR_GL_CONTEXT_KHR
      Accepted as the <param_name> argument of clGetGLContextInfoKHR:
      static int CL_EGL_DISPLAY_KHR
      Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
      static int CL_GL_CONTEXT_KHR
      Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
      static int CL_GLX_DISPLAY_KHR
      Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
      static int CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR
      Returned by clCreateContext, clCreateContextFromType, and clGetGLContextInfoKHR when an invalid OpenGL context or share group object handle is specified in <properties>:
      static int CL_WGL_HDC_KHR
      Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
    • Field Detail

      • CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR

        public static final int CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR
        Returned by clCreateContext, clCreateContextFromType, and clGetGLContextInfoKHR when an invalid OpenGL context or share group object handle is specified in <properties>:
        See Also:
        Constant Field Values
      • CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR

        public static final int CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR
        Accepted as the <param_name> argument of clGetGLContextInfoKHR:
        See Also:
        Constant Field Values
      • CL_DEVICES_FOR_GL_CONTEXT_KHR

        public static final int CL_DEVICES_FOR_GL_CONTEXT_KHR
        Accepted as the <param_name> argument of clGetGLContextInfoKHR:
        See Also:
        Constant Field Values
      • CL_GL_CONTEXT_KHR

        public static final int CL_GL_CONTEXT_KHR
        Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
        See Also:
        Constant Field Values
      • CL_EGL_DISPLAY_KHR

        public static final int CL_EGL_DISPLAY_KHR
        Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
        See Also:
        Constant Field Values
      • CL_GLX_DISPLAY_KHR

        public static final int CL_GLX_DISPLAY_KHR
        Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
        See Also:
        Constant Field Values
      • CL_WGL_HDC_KHR

        public static final int CL_WGL_HDC_KHR
        Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
        See Also:
        Constant Field Values
      • CL_CGL_SHAREGROUP_KHR

        public static final int CL_CGL_SHAREGROUP_KHR
        Accepted as an attribute name in the 'properties' argument of clCreateContext and clCreateContextFromType:
        See Also:
        Constant Field Values
    • Method Detail

      • clGetGLContextInfoKHR

        public static int clGetGLContextInfoKHR​(PointerBuffer properties,
                                                int param_name,
                                                java.nio.ByteBuffer param_value,
                                                PointerBuffer param_value_size_ret)