1 // C function EGLSync eglCreateSync ( EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list ) 2 eglCreateSync( EGLDisplay dpy, int type, long[] attrib_list, int offset )3 public static native EGLSync eglCreateSync( 4 EGLDisplay dpy, 5 int type, 6 long[] attrib_list, 7 int offset 8 ); 9 10 /** 11 * C function EGLBoolean eglGetSyncAttrib ( EGLDisplay dpy, EGLSync sync, EGLint attribute, 12 * EGLAttrib *value ) 13 */ 14 eglGetSyncAttrib( EGLDisplay dpy, EGLSync sync, int attribute, long[] value, int offset )15 public static native boolean eglGetSyncAttrib( 16 EGLDisplay dpy, 17 EGLSync sync, 18 int attribute, 19 long[] value, 20 int offset 21 ); 22 23