@@ -925,8 +925,17 @@ private static void printConfig(EGLConfig config) {
925925 sEgl .eglGetConfigAttrib (sEglDisplay , config , EGL_STENCIL_SIZE , value );
926926 Log .d (LOG_TAG , " STENCIL_SIZE = " + value [0 ]);
927927
928+ sEgl .eglGetConfigAttrib (sEglDisplay , config , EGL_SAMPLE_BUFFERS , value );
929+ Log .d (LOG_TAG , " SAMPLE_BUFFERS = " + value [0 ]);
930+
931+ sEgl .eglGetConfigAttrib (sEglDisplay , config , EGL_SAMPLES , value );
932+ Log .d (LOG_TAG , " SAMPLES = " + value [0 ]);
933+
928934 sEgl .eglGetConfigAttrib (sEglDisplay , config , EGL_SURFACE_TYPE , value );
929935 Log .d (LOG_TAG , " SURFACE_TYPE = 0x" + Integer .toHexString (value [0 ]));
936+
937+ sEgl .eglGetConfigAttrib (sEglDisplay , config , EGL_CONFIG_CAVEAT , value );
938+ Log .d (LOG_TAG , " CONFIG_CAVEAT = 0x" + Integer .toHexString (value [0 ]));
930939 }
931940
932941 GL createEglSurface (Surface surface ) throws Surface .OutOfResourcesException {
@@ -1433,6 +1442,7 @@ int[] getConfig(boolean dirtyRegions) {
14331442 EGL_BLUE_SIZE , 8 ,
14341443 EGL_ALPHA_SIZE , 8 ,
14351444 EGL_DEPTH_SIZE , 0 ,
1445+ EGL_CONFIG_CAVEAT , EGL_NONE ,
14361446 // TODO: Find a better way to choose the stencil size
14371447 EGL_STENCIL_SIZE , mShowOverdraw ? GLES20Canvas .getStencilSize () : 0 ,
14381448 EGL_SURFACE_TYPE , EGL_WINDOW_BIT |
0 commit comments