EGL10 egl = (EGL10) EGLContext.getEGL();
EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
int[] version = new int[2];
egl.eglInitialize(display, version);
Log.d(TAG, "EGL vendor: " + egl.eglQueryString(display, EGL10.EGL_VENDOR));
Log.d(TAG, "EGL version: " + egl.eglQueryString(display, EGL10.EGL_VERSION));
Log.d(TAG, "EGL extensions: " + egl.eglQueryString(display, EGL10.EGL_EXTENSIONS));
No comments:
Post a Comment