I figured out why it's happening on my end (could certainly be considered an Android bug).
A CSS animation (-webkit-animation) is continuously running in a webview. When that webview is offscreen and still running, I get this error (and a black artifact). When that View is completely removed (as opposed to just offscreen), the error and black artifact stop. When I disable the animation completely, there is no error or black artifact under any condition. On Tuesday, November 13, 2012 4:34:13 PM UTC-8, Barrett Anderson wrote: > > Similar error. 4.2 (did not happen before 4.2 for me). Using ViewPager to > go between ImageViews (with the image resource set in the same way that you > did). I start at an ImageView, swipe to a RelativeLayout with various > WebViews and other things, then back to the first (or any other) ImageView, > and I get a large black rectangle and the following in logcat: > > > (these 2 lines repeat constantly until I stop it) > 11-13 16:30:07.775: E/OpenGLRenderer(3391): GL_INVALID_OPERATION > 11-13 16:30:07.805: D/OpenGLRenderer(3391): GL error from OpenGLRenderer: > 0x502 > 11-13 16:30:07.805: E/OpenGLRenderer(3391): GL_INVALID_OPERATION > 11-13 16:30:07.825: D/OpenGLRenderer(3391): GL error from OpenGLRenderer: > 0x502 > 11-13 16:30:07.825: E/OpenGLRenderer(3391): GL_INVALID_OPERATION > 11-13 16:30:07.835: D/OpenGLRenderer(3391): GL error from OpenGLRenderer: > 0x502 > 11-13 16:30:07.835: E/OpenGLRenderer(3391): GL_INVALID_OPERATION > 11-13 16:30:07.875: E/GLUtils(3391): GL ERROR - after > deleteUnusedTextures() glError (0x502) > > > > On Wednesday, September 5, 2012 3:28:21 PM UTC-7, Sergei Okhotnyi wrote: >> >> >> I've found very strange bug in Android 4.1 JellyBean: >> I have WebView (Hardware accelerated) and ImageView over it in >> FrameLayout: >> >> <?xml version="1.0" encoding="utf-8"?> >> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" >> android:orientation="vertical" >> android:layout_width="fill_parent" >> android:layout_height="fill_parent"> >> >> >> <WebView >> android:id="@+id/webview" >> android:layout_width="fill_parent" >> android:layout_height="fill_parent"/> >> >> <Button >> android:id="@+id/button" >> android:text="TEST" >> android:layout_gravity="top|right" >> android:layout_width="wrap_content" >> android:layout_height="wrap_content"/> >> >> <ImageView >> android:id="@+id/imageview" >> android:layout_width="wrap_content" >> android:layout_height="wrap_content" >> android:layout_gravity="bottom|left" >> android:background="@android:color/black" >> android:padding="10dp"/> >> >> >> </FrameLayout> >> >> And if in runtime I set >> ImageResource >> ((ImageView)findViewById(R.id.imageview)).setImageResource(R.drawable.ic_launcher); >> Then I start receiving ERROR/GLUtils(10635): GL ERROR - after >> deleteUnusedTextures() glError (0x502) >> There is no such error in HC, ICS. >> >> What is wrong and where to submit bug? >> Sample project - https://dl.dropbox.com/u/6804647/webviewtest.zip >> >> >> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

