Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
res/values/ | 23-Mar-2024 | - | 26 | 4 | ||
src/com/android/test/ | 23-Mar-2024 | - | 150 | 75 | ||
Android.bp | D | 23-Mar-2024 | 114 | 7 | 6 | |
AndroidManifest.xml | D | 23-Mar-2024 | 1.5 KiB | 35 | 19 | |
README | D | 23-Mar-2024 | 1.5 KiB | 38 | 26 |
README
1Repro steps: 2 3build, install and run the attached test program TestEgl.apk 4 5The program does not draw anything to the screen, it just prints to the log, so use adb logcat to watch the output. 6 7Expected behavior: 8 9constantly increasing "step" count: 10 11 12W/TestActivity( 1885): ****** step 235 resume 13W/TestActivity( 1885): step 236 pause 14W/TestActivity( 1885): ****** step 236 resume 15 16and so on. 17 18Actual behavior: 19 20W/TestActivity( 1466): ****** step 25 resume 21W/TestActivity( 1466): step 26 pause 22W/TestActivity( 1466): ****** step 26 resume 23W/dalvikvm( 1466): threadid=8: thread exiting with uncaught exception (group=0x4001d7f0) 24E/AndroidRuntime( 1466): FATAL EXCEPTION: GLThread 9 25E/AndroidRuntime( 1466): java.lang.RuntimeException: createContext failed: EGL_BAD_ALLOC 26E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1067) 27E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1059) 28E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:925) 29E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1236) 30E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1106) 31W/TestActivity( 1466): step 27 pause 32W/TestActivity( 1466): ****** step 27 resume 33W/TestActivity( 1466): step 28 pause 34W/TestActivity( 1466): ****** step 28 resume 35 36 37See http://b/issue?id=2550745 for further details. 38