Home | History | Annotate | only in /frameworks/native/opengl/tests/testPauseResume
Up to higher level directory
NameDateSize
Android.mk21-Oct-2016472
AndroidManifest.xml21-Oct-20161.5K
README21-Oct-20161.5K
res/21-Oct-2016
src/21-Oct-2016

README

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