Android GLSurfaceView EGL_BAD_CONFIG 源码分析定位

分析了Android系统中由于创建EGLContext失败导致的EGL_BAD_CONFIG异常,从源码层面追踪到问题可能在于获取无效的display。排查了可能是设备不支持OpenGLES2的情况,发现大部分新机型都支持。最后指出,可能是由于onPause()没有正确调用导致的状态错误。建议确保Activity的onResume()和onPause()与GLSurfaceView的相应方法同步调用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

最近查看bugly ,发现存在一个多版本遗留 棘手的量级几十w的bug:

java.lang.RuntimeException
createContext failed: EGL_BAD_CONFIG
android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1245)
android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1236)
android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1086)
android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1462)
android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1299)

报错信息发生在Android framework api 中,因此考虑从源码入手,本案例是基于 android 7.0 。

1.查看源码走向

先来看下GLSurfaceView$EglHelper#start():

frameworks/base/opengl/java/android/opengl/GLSurfaceView.java

       /**
         * Initialize EGL for a given configuration spec.
         * @param configSpec
         */
        public void start() {
    
            mEgl = (EGL10) EGLContext.getEGL();
            mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
			//.......
            GLSurfaceView view = mGLSurfaceViewWeakRef.get();
            if (view == null) {
                mEglConfig = null;
                mEglContext = null;
            } else {
                mEglConfig = view.mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay);
				// 通过eglContextFacotry 创建对应有效的egl context
                mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig);
            }
            if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
			    //关键点,当创建egl context 失败时,会抛出异常
                mEglContext = null;
                throwEglException("createContext");
            }
            mEglSurface = null;
        }

结合bugly上的crash 信息,基本上可以确定是创建egl context 失败导致的异常。接下来看下,创建过程。

EGLContextFactory的实现类(即GLSurfaceView&DefaultContextFactory)中,看下createContext()方法如何实现的:

   private class DefaultContextFactory implements EGLContextFactory {
        private int EGL_CONTEXT_CLIENT_VERSION = 0x3098;

        public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) {
		    // 这是选择gl es 版本 ,开发者可自由配置 mEGLContextClientVersion 为 2 还是3 
            int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, mEGLContextClientVersion,
                    EGL10.EGL_NONE };

            return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT,
                    mEGLContextClientVersion != 0 ? attrib_list : null);
        }
		//.......
    }

接下来看下EGLImpl 中如何创建对应的context:

frameworks/base/opengl/java/com/google/android/gles_jni/EGLImpl.java

    public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) {
        long eglContextId = _eglCreateContext(display, config, share_context, attrib_list);
        if (eglContextId == 0) { // 关键点,若是调用native 层 创建context 失败,则会返回EGL_NO_CONTEXT。
            return EGL10.EGL_NO_CONTEXT;
        }
        return new EGLContextImpl( eglContextId );
    }
	
    private native long _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list);

接下来看看下,jni层的代码走向:
frameworks/base/core/jni/com_google_android_gles_jni_EGLImpl.cpp

static jlong jni_eglCreateContext(JNIEnv *_env, jobject _this, jobject display,
        jobject config, jobject share_context, jintArray attrib_list) {
    if (display == NULL || config == NULL || share_context == NULL
        || !validAttribList(_env, attrib_list)) {
        jniThrowException(_env, "java/lang/IllegalArgumentException", NULL);
        return JNI_FALSE;
    }
    EGLDisplay dpy = getDisplay(_env, display);
    EGLConfig  cnf = getConfig(_env, config);
    EGLContext shr = getContext(_env, share_context);
    jint* base = beginNativeAttribList(_env, attrib_list);
    EGLContext ctx = eglCreateContext(dpy, cnf, shr, base);
    endNativeAttributeList(_env, attrib_list, base);
    return reinterpret_cast<jlong>(ctx);
}

接下来看下 eglCreateContext():

frameworks/native/opengl/libs/EGL/eglApi.cpp

EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config,
                            EGLContext share_list, const EGLint *attrib_list)
{
    clearError();

    egl_connection_t* cnx = NULL;
	
    const egl_display_ptr dp = validate_display_connection(dpy, cnx);
    if (dp) {
        if (share_list != EGL_NO_CONTEXT) {
            if (!ContextRef(dp.get(), share_list).get()) {
                return setError(EGL_BAD_CONTEXT, EGL_NO_CONTEXT);
            }
            egl_context_t* const c = get_context(share_list);
            share_list = c->context;
        }
        EGLContext context = cnx->egl.eglCreateContext(
                dp->disp.dpy, config, share_list, attrib_list);
	
        if (context != EGL_NO_CONTEXT) {
            // figure out if it's a GLESv1 or GLESv2
            int version = 0;
            if (attrib_list) {
                while (*attrib_list != EGL_NONE) {
                    GLint attr = *attrib_list++;
                    GLint value = *attrib_list++;
                    if (attr == EGL_CONTEXT_CLIENT_VERSION) {
                        if (value == 1) {
                            version = egl_connection_t::GLESv1_INDEX;
                        } else if (value == 2 || value == 3) {
                            version = egl_connection_t::GLESv2_INDEX;
                        }
                    }
                };
            }
            egl_context_t* c = new egl_context_t(dpy, context, config, cnx,
                    version);
            return c;
        }
    }
	//当获取不到有效的display 时,会返回egl_no_context;
    return EGL_NO_CONTEXT;
}

接下来继续看下:


egl_display_ptr validate_display_connection(EGLDisplay dpy,
       egl_connection_t*& cnx) {
    cnx = NULL;
    egl_display_ptr dp = validate_display(dpy);
    if (!dp)
        return dp;
    cnx = &gEGLImpl;
    if (cnx->dso == 0) {
	    //这里是关键信息
        return setError(EGL_BAD_CONFIG, egl_display_ptr(NULL));
    }
    return dp;
}

接下来看下validate_display():

egl_display_ptr validate_display(EGLDisplay dpy) {
    egl_display_ptr dp = get_display(dpy);
    if (!dp)
        return setError(EGL_BAD_DISPLAY, egl_display_ptr(NULL));
    if (!dp->isReady())
        return setError(EGL_NOT_INITIALIZED, egl_display_ptr(NULL));

    return dp;
}

也就是获取不到 有效的diplay 时,会导致egl context 创建失败,从而抛出异常。

2.推断定位原因和解决方案

谷歌搜索:相关的报错,有些较老的机型确实存在问题,如下图所示:

在这里插入图片描述

参考链接:https://github.com/ofZach/inkSpace/issues/2

有些机型是可能不支持gl es 2 创建context ,可以通过以下代码来判断:

    private static class ContextFactory implements GLSurfaceView.EGLContextFactory {
        private static int EGL_CONTEXT_CLIENT_VERSION = 0x3098;
        public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
            Log.w(TAG, "creating OpenGL ES 2.0 context");
            checkEglError("Before eglCreateContext", egl);
            int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE };
            EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
            checkEglError("After eglCreateContext", egl);
            return context;
        }

        public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) {
            egl.eglDestroyContext(display, context);
        }
    }

    private static void checkEglError(String prompt, EGL10 egl) {
        int error;
        while ((error = egl.eglGetError()) != EGL10.EGL_SUCCESS) {
            Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error));
        }
    }

更多信息请阅读ndk-samples/hello-gl2

但比对了bugly上的机型发现,都是一些新机器,现在大部分都支持opengl es 2,因此排除了该可能性。

还有一种可能性是状态不对导致的,因触发EglHelper.start(),必须readyToDraw() 返回true:

frameworks/base/opengl/java/android/opengl/GLSurfaceView.java

        private boolean readyToDraw() {
            return (!mPaused) && mHasSurface && (!mSurfaceIsBad)
                && (mWidth > 0) && (mHeight > 0)
                && (mRequestRender || (mRenderMode == RENDERMODE_CONTINUOUSLY));
        }

解读下几个条件:

  • mPaused: 是非调用onPause()后状态;
  • mHasSurface 是指suface 创建成功;
  • mSurfaceIsBad是指suface 是否有效;
  • mRequestRender 是请求主动Render;
  • RENDERMODE_CONTINUOUSLY 是指循环渲染模式.

检查项目中发现,有一处老代码中存在严重的问题,没有调用GLSufaceView #onPause(),被注释掉了:

    @Override
    public void onPause() {
        Message msg = Message.obtain();
        msg.what = HANDLER_ON_NATIVE_PAUSE;
        mHandler.sendMessageAtFrontOfQueue(msg);
        //this.activity.startChkRoomTick();
        setRenderMode(RENDERMODE_WHEN_DIRTY);
        mRenderer.onPause();
        //super.onPause();
    }

重点:Activity 的onResume()onPause() 必须调用GLSufaceView 的onResume()onPause()

3.OpenGl 创建context 过程中其他异常(EGL_BAD_ALLOC和EGL_BAD_DISPLAY)

当然也可以继续看下open gl es 端eglCreateContext的过程(可能抛出的其他异常):

frameworks/native/opengl/libagl/egl.cpp

EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config,
                            EGLContext /*share_list*/, const EGLint* /*attrib_list*/)
{
    // 检查EGLDisplay 是否有效的
    if (egl_display_t::is_valid(dpy) == EGL_FALSE)
        return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE);

    ogles_context_t* gl = ogles_init(sizeof(egl_context_t));
	//初始化失败,返回为0时,会抛出内存申请失败
    if (!gl) return setError(EGL_BAD_ALLOC, EGL_NO_CONTEXT);

    egl_context_t* c = static_cast<egl_context_t*>(gl->rasterizer.base);
    c->flags = egl_context_t::NEVER_CURRENT;
    c->dpy = dpy;
    c->config = config;
    c->read = 0;
    c->draw = 0;
    return (EGLContext)gl;
}

若是想了解opengl es 的更多信息,可以阅读OpenGL ES升级打怪之 GLSurfaceView源码分析

Process pipe failed 2025-06-05 21:00:33.745 22340-22371 ConfigStore com.example.diaryapp I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 2025-06-05 21:00:33.745 22340-22371 ConfigStore com.example.diaryapp I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 2025-06-05 21:00:33.745 22340-22371 OpenGLRenderer com.example.diaryapp I Initialized EGL, version 1.4 2025-06-05 21:00:33.745 22340-22371 OpenGLRenderer com.example.diaryapp D Swap behavior 1 2025-06-05 21:00:33.746 22340-22371 EGL_adreno com.example.diaryapp E CreateContext rcMajorVersion:3, minorVersion:2 2025-06-05 21:00:33.754 22340-22371 EGL_adreno com.example.diaryapp D eglCreateContext: 0x7f2e2da30120: maj 3 min 2 rcv 3 2025-06-05 21:00:33.754 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:00:33.754 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:00:33.781 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:00:33.781 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:00:33.782 22340-22371 vndksupport com.example.diaryapp D Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace. 2025-06-05 21:00:33.782 22340-22371 vndksupport com.example.diaryapp D Loading /vendor/lib64/hw/gralloc.gmin.so from current namespace instead of sphal namespace. 2025-06-05 21:00:33.786 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:00:33.786 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2da27e00, error=EGL_BAD_MATCH 2025-06-05 21:00:34.214 22340-22340 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (light greylist, reflection) 2025-06-05 21:00:34.214 22340-22340 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (light greylist, reflection) 2025-06-05 21:00:34.214 22340-22340 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->traceCounter(JLjava/lang/String;I)V (light greylist, reflection) 2025-06-05 21:00:39.439 22340-22401 ProfileInstaller com.example.diaryapp D Installing profile for com.example.diaryapp 2025-06-05 21:00:40.016 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:00:40.016 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:00:40.023 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:00:40.023 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db3cb80, error=EGL_BAD_MATCH 2025-06-05 21:00:40.026 22340-22340 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@b266666 2025-06-05 21:00:40.267 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:00:40.267 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:00:40.283 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:00:40.283 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db3cc80, error=EGL_BAD_MATCH 2025-06-05 21:00:40.292 22340-22340 Glide com.example.diaryapp W Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored 2025-06-05 21:00:42.727 22340-22340 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@7575cb3 2025-06-05 21:00:42.763 22340-22345 xample.diaryap com.example.diaryapp I Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int) 2025-06-05 21:00:42.780 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:00:42.780 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:00:42.794 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:00:42.794 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2dbdb280, error=EGL_BAD_MATCH 2025-06-05 21:00:50.659 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:00:50.659 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:00:50.673 22340-22340 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/view/View;->mAccessibilityDelegate:Landroid/view/View$AccessibilityDelegate; (light greylist, reflection) 2025-06-05 21:00:50.675 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:00:50.675 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2dbdb300, error=EGL_BAD_MATCH 2025-06-05 21:00:52.086 22340-22340 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@d5d171c 2025-06-05 21:00:52.186 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:00:52.186 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:00:52.204 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:00:52.204 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d0afd00, error=EGL_BAD_MATCH 2025-06-05 21:00:53.766 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:00:53.766 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:00:53.776 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:00:53.776 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d337180, error=EGL_BAD_MATCH 2025-06-05 21:00:58.199 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:00:58.199 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:00:58.220 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:00:58.220 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2dbdb300, error=EGL_BAD_MATCH 2025-06-05 21:01:01.788 22340-22340 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@bf7a046 2025-06-05 21:01:01.863 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:01:01.863 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:01:01.880 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:01:01.880 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d222f00, error=EGL_BAD_MATCH 2025-06-05 21:01:04.247 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:01:04.247 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:01:04.268 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:01:04.268 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2dbdb300, error=EGL_BAD_MATCH 2025-06-05 21:01:06.508 22340-22340 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@58e8cd8 2025-06-05 21:01:06.613 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:01:06.613 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:01:06.633 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:01:06.633 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d222f00, error=EGL_BAD_MATCH 2025-06-05 21:01:07.985 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:01:07.985 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:01:07.993 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:01:07.993 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db3c000, error=EGL_BAD_MATCH 2025-06-05 21:01:07.996 22340-22340 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@d24a3e0 2025-06-05 21:01:08.020 22340-22349 System com.example.diaryapp W A resource failed to call close. 2025-06-05 21:01:08.021 22340-22349 chatty com.example.diaryapp I uid=10062(com.example.diaryapp) FinalizerDaemon identical 2 lines 2025-06-05 21:01:08.021 22340-22349 System com.example.diaryapp W A resource failed to call close. 2025-06-05 21:01:08.038 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:01:08.038 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:01:08.057 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:01:08.057 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2c09d580, error=EGL_BAD_MATCH 2025-06-05 21:01:09.873 22340-22340 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@4e83cf6 2025-06-05 21:01:09.914 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:01:09.914 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:01:09.934 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:01:09.934 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d9c8580, error=EGL_BAD_MATCH 2025-06-05 21:01:11.614 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:01:11.614 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:01:11.629 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:01:11.629 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d95f280, error=EGL_BAD_MATCH 2025-06-05 21:01:13.193 22340-22371 OpenGLRenderer com.example.diaryapp D endAllActiveAnimators on 0x7f2e1d16d900 (RippleDrawable) with handle 0x7f2e2db44560 2025-06-05 21:01:13.213 22340-22371 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 21:01:13.213 22340-22371 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 21:01:13.231 22340-22371 EGL_adreno com.example.diaryapp E tid 22371: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 21:01:13.231 22340-22371 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db3c680, error=EGL_BAD_MATCH
最新发布
06-06
--------- beginning of main --------- beginning of system 2025-06-05 19:19:52.875 2778-2778 Zygote com.example.diaryapp I seccomp disabled by setenforce 0 2025-06-05 19:19:52.876 2778-2778 xample.diaryap com.example.diaryapp I Late-enabling -Xcheck:jni 2025-06-05 19:19:52.893 2778-2778 xample.diaryap com.example.diaryapp W Unexpected CPU variant for X86 using defaults: x86_64 2025-06-05 19:19:53.227 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection) 2025-06-05 19:19:53.227 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection) 2025-06-05 19:19:53.258 2778-2778 AppCompatDelegate com.example.diaryapp D Checking for metadata for AppLocalesMetadataHolderService : Service not found 2025-06-05 19:19:53.273 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking) 2025-06-05 19:19:53.273 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/graphics/Insets;->top:I (light greylist, linking) 2025-06-05 19:19:53.273 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking) 2025-06-05 19:19:53.273 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/graphics/Insets;->bottom:I (light greylist, linking) 2025-06-05 19:19:53.293 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) 2025-06-05 19:19:53.294 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;-><init>()V (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromAssetManager(Landroid/content/res/AssetManager;Ljava/lang/String;IZIII[Landroid/graphics/fonts/FontVariationAxis;)Z (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;->freeze()Z (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;->abortCreation()V (light greylist, reflection) 2025-06-05 19:19:53.299 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/Typeface;->createFromFamiliesWithDefault([Landroid/graphics/FontFamily;Ljava/lang/String;II)Landroid/graphics/Typeface; (light greylist, reflection) 2025-06-05 19:19:53.400 2778-2778 OpenGLRenderer com.example.diaryapp D Skia GL Pipeline 2025-06-05 19:19:53.417 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/view/WindowInsets;->CONSUMED:Landroid/view/WindowInsets; (light greylist, reflection) 2025-06-05 19:19:53.417 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/view/View;->getViewRootImpl()Landroid/view/ViewRootImpl; (light greylist, reflection) 2025-06-05 19:19:53.417 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/view/View$AttachInfo;->mVisibleInsets:Landroid/graphics/Rect; (light greylist, reflection) 2025-06-05 19:19:53.417 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/view/ViewRootImpl;->mAttachInfo:Landroid/view/View$AttachInfo; (light greylist, reflection) 2025-06-05 19:19:53.429 2778-2820 <no-tag> com.example.diaryapp D HostConnection::get() New Host Connection established 0x7f2e2dac31c0, tid 2820 2025-06-05 19:19:53.429 2778-2820 <no-tag> com.example.diaryapp W Process pipe failed 2025-06-05 19:19:53.431 2778-2820 ConfigStore com.example.diaryapp I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 2025-06-05 19:19:53.431 2778-2820 ConfigStore com.example.diaryapp I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 2025-06-05 19:19:53.431 2778-2820 OpenGLRenderer com.example.diaryapp I Initialized EGL, version 1.4 2025-06-05 19:19:53.431 2778-2820 OpenGLRenderer com.example.diaryapp D Swap behavior 1 2025-06-05 19:19:53.432 2778-2820 EGL_adreno com.example.diaryapp E CreateContext rcMajorVersion:3, minorVersion:2 2025-06-05 19:19:53.440 2778-2820 EGL_adreno com.example.diaryapp D eglCreateContext: 0x7f2e2da45b20: maj 3 min 2 rcv 3 2025-06-05 19:19:53.440 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:19:53.440 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:19:53.472 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:19:53.472 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:19:53.473 2778-2820 vndksupport com.example.diaryapp D Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace. 2025-06-05 19:19:53.473 2778-2820 vndksupport com.example.diaryapp D Loading /vendor/lib64/hw/gralloc.gmin.so from current namespace instead of sphal namespace. 2025-06-05 19:19:53.476 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:19:53.476 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db09100, error=EGL_BAD_MATCH 2025-06-05 19:19:53.902 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (light greylist, reflection) 2025-06-05 19:19:53.902 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (light greylist, reflection) 2025-06-05 19:19:53.902 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->traceCounter(JLjava/lang/String;I)V (light greylist, reflection) 2025-06-05 19:19:58.602 2778-2845 ProfileInstaller com.example.diaryapp D Installing profile for com.example.diaryapp 2025-06-05 19:22:51.307 2778-2778 Choreographer com.example.diaryapp I Skipped 32 frames! The application may be doing too much work on its main thread. 2025-06-05 19:22:51.377 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:22:51.377 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:22:51.401 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:22:51.401 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a73b480, error=EGL_BAD_MATCH 2025-06-05 19:22:52.875 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:22:52.875 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:22:52.879 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@b70dda7 2025-06-05 19:22:52.882 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:22:52.882 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db09880, error=EGL_BAD_MATCH 2025-06-05 19:22:53.180 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:22:53.180 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:22:53.197 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:22:53.197 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a73b480, error=EGL_BAD_MATCH 2025-06-05 19:22:53.203 2778-2778 Glide com.example.diaryapp W Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored 2025-06-05 19:22:59.515 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@dee6c34 2025-06-05 19:22:59.547 2778-2783 xample.diaryap com.example.diaryapp I Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int) 2025-06-05 19:22:59.572 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:22:59.572 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:22:59.586 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:22:59.586 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db09b80, error=EGL_BAD_MATCH 2025-06-05 19:23:07.999 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:07.999 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:08.013 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/view/View;->mAccessibilityDelegate:Landroid/view/View$AccessibilityDelegate; (light greylist, reflection) 2025-06-05 19:23:08.015 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:08.015 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a73b280, error=EGL_BAD_MATCH 2025-06-05 19:23:10.088 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@a431ad9 2025-06-05 19:23:10.141 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:10.141 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:10.160 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:10.160 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2da27800, error=EGL_BAD_MATCH 2025-06-05 19:23:18.089 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:18.089 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:18.109 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:18.109 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a736700, error=EGL_BAD_MATCH 2025-06-05 19:23:20.289 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@6e93288 2025-06-05 19:23:20.343 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:20.343 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:20.364 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:20.364 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d387d00, error=EGL_BAD_MATCH 2025-06-05 19:23:22.178 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:22.178 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:22.188 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:22.188 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d5bf900, error=EGL_BAD_MATCH 2025-06-05 19:23:26.082 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:26.082 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:26.102 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:26.102 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d5bf900, error=EGL_BAD_MATCH 2025-06-05 19:27:41.046 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@4c87c69 2025-06-05 19:27:41.111 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:41.111 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:41.124 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:41.124 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d4afd00, error=EGL_BAD_MATCH 2025-06-05 19:27:42.651 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:42.651 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:42.667 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:42.667 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d4af080, error=EGL_BAD_MATCH 2025-06-05 19:27:42.732 2778-2789 System com.example.diaryapp W A resource failed to call close. 2025-06-05 19:27:42.732 2778-2789 chatty com.example.diaryapp I uid=10062(com.example.diaryapp) FinalizerDaemon identical 1 line 2025-06-05 19:27:42.734 2778-2789 System com.example.diaryapp W A resource failed to call close. 2025-06-05 19:27:44.377 2778-2820 OpenGLRenderer com.example.diaryapp D endAllActiveAnimators on 0x7f2e1623df00 (RippleDrawable) with handle 0x7f2e2dab3800 2025-06-05 19:27:44.393 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:44.393 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:44.416 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:44.416 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e16286180, error=EGL_BAD_MATCH 2025-06-05 19:27:48.098 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@845b71b 2025-06-05 19:27:48.195 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:48.195 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:48.203 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:48.203 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a73b500, error=EGL_BAD_MATCH 2025-06-05 19:27:49.264 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@a6acb9a 2025-06-05 19:27:49.389 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:49.389 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:49.397 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:49.397 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e16286e00, error=EGL_BAD_MATCH 2025-06-05 19:28:07.132 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@e46c675 2025-06-05 19:28:07.237 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:07.237 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:07.262 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:07.262 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e16286e00, error=EGL_BAD_MATCH 2025-06-05 19:28:08.766 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:08.766 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:08.772 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@8487834 2025-06-05 19:28:08.777 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:08.777 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e162dca00, error=EGL_BAD_MATCH 2025-06-05 19:28:08.811 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:08.811 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:08.829 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:08.829 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db8d000, error=EGL_BAD_MATCH 2025-06-05 19:28:11.031 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@4a13060 2025-06-05 19:28:11.094 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:11.094 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:11.115 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:11.115 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e16430500, error=EGL_BAD_MATCH 2025-06-05 19:28:12.651 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:12.651 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:12.671 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:12.671 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e162dc500, error=EGL_BAD_MATCH 2025-06-05 19:28:14.160 2778-2820 OpenGLRenderer com.example.diaryapp D endAllActiveAnimators on 0x7f2e165b7b00 (RippleDrawable) with handle 0x7f2e2db3c200 2025-06-05 19:28:14.178 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:14.178 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:14.197 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:14.197 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db8d180, error=EGL_BAD_MATCH
06-06
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值