/**
  * Create an associated context with a specific GL version.
  *
  * <p>All capabilities and limitations of {@link WGLARBCreateContext#wglwglCreateContextAttribsARB
  * wglCreateContextAttribsARB} apply to {@code CreateAssociatedContextAttribsAMD}.
  *
  * @param id a valid GPU id
  * @param shareContext must either be NULL or that of an associated context created with the the
  *     same GPU ID as {@code id}
  * @param attribList a 0-terminated list of attributes for the context
  */
 public static long wglCreateAssociatedContextAttribsAMD(
     int id, long shareContext, ByteBuffer attribList) {
   if (LWJGLUtil.CHECKS) if (attribList != null) checkNT4(attribList);
   return nwglCreateAssociatedContextAttribsAMD(id, shareContext, memAddressSafe(attribList));
 }
예제 #2
0
 public static long eglCreatePbufferFromClientBuffer(
     long dpy, int buftype, long buffer, long config, ByteBuffer attrib_list) {
   if (CHECKS) if (attrib_list != null) checkNT4(attrib_list, EGL10.EGL_NONE);
   return neglCreatePbufferFromClientBuffer(
       dpy, buftype, buffer, config, memAddressSafe(attrib_list));
 }