コード例 #1
0
 /**
  * Alternative version of: {@link #wglCreateAssociatedContextAttribsAMD
  * CreateAssociatedContextAttribsAMD}
  */
 public static long wglCreateAssociatedContextAttribsAMD(
     int id, long shareContext, IntBuffer attribList) {
   if (LWJGLUtil.CHECKS) if (attribList != null) checkNT(attribList);
   return nwglCreateAssociatedContextAttribsAMD(id, shareContext, memAddressSafe(attribList));
 }
コード例 #2
0
 /** Alternative version of: {@link #wglCreateAffinityDCNV CreateAffinityDCNV} */
 public static long wglCreateAffinityDCNV(PointerBuffer gpuList) {
   if (CHECKS) checkNT(gpuList);
   return nwglCreateAffinityDCNV(memAddress(gpuList));
 }
コード例 #3
0
ファイル: EGL12.java プロジェクト: dtomsig/Game-Engine
 /**
  * Alternative version of: {@link #eglCreatePbufferFromClientBuffer CreatePbufferFromClientBuffer}
  */
 public static long eglCreatePbufferFromClientBuffer(
     long dpy, int buftype, long buffer, long config, IntBuffer attrib_list) {
   if (CHECKS) if (attrib_list != null) checkNT(attrib_list, EGL10.EGL_NONE);
   return neglCreatePbufferFromClientBuffer(
       dpy, buftype, buffer, config, memAddressSafe(attrib_list));
 }