Some info about egl extension:
02-27 10:42:12.270: D/Woo3d(3944): egl vendor: Android
02-27 10:42:12.270: D/Woo3d(3944): egl version: 1.4 Android META-EGL
02-27 10:42:12.270: D/Woo3d(3944): egl extension: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle
And i didn't use the AAConfigChooser, but a custom ConfigChooser like that:
int[] configSpec = new int[] {
EGL10.EGL_RED_SIZE, mRedSize,
EGL10.EGL_GREEN_SIZE, mGreenSize,
EGL10.EGL_BLUE_SIZE, mBlueSize,
EGL10.EGL_ALPHA_SIZE, mAlphaSize,
EGL10.EGL_DEPTH_SIZE, mDepthSize,
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
12512, 1, // EGL_COVERAGE_BUFFERS_NV
12513, 2, // EGL_COVERAGE_SAMPLES_NV
EGL10.EGL_NONE };
Using NVDepthConfigChooser, the appearance seems much better! Log:
02-27 10:46:59.190: I/jPCT-AE(4917): Nonlinear depth buffer enabled!
02-27 10:46:59.190: I/jPCT-AE(4917): Unable to find a matching config...using default!
02-27 10:46:59.200: I/jPCT-AE(4917): Initializing GL20 render pipeline...
Using AAConfigChooser, the appearance is as good as using NVDepthConfigChooser!
Thanks, i will use AAConfigChooser by default. I used a custom ConfigChooser before, because i want to print some info to study.
Another question, where can i get the doc of EGL/GL extensions? The home page of GPU-vendor?
I print the EGL extensions of Tegra(above), why there is no extension like EGL_NV_XXXX? My printing code:
String extension = egl.eglQueryString(display, EGL10.EGL_EXTENSIONS);
WLog.d("egl extension: " + extension);