Add eglPresentationTimeANDROID

Added EGL extension to set a timestamp on a surface.

Bug 8191230

Change-Id: Ie73bd7d1217348c9c64b8c68da38d671d48355f7
This commit is contained in:
Andy McFadden
2013-03-01 16:24:13 -08:00
parent 43abdc486d
commit 0c361e9d3c
2 changed files with 26 additions and 0 deletions

View File

@ -445,4 +445,13 @@ public static final int EGL_CORE_NATIVE_ENGINE = 0x305B;
int target
);
// C function EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time )
/** @hide -- TODO(fadden) unhide this */
public static native boolean eglPresentationTimeANDROID(
EGLDisplay dpy,
EGLSurface sur,
long time
);
}