Our code is performing very simple operations on a Canvas (entirely in UI thread): drawText, translate, save, restore. Occasionally, we get this (on Nexus 4 running 4.3): W/Adreno2
Solution 1:
This error does not happen if you turn off hardware acceleration.
In the custom view's constructor:
setLayerType(View.LAYER_TYPE_SOFTWARE, null);
Note: I won't accept this answer (yet) because it's more of a workaround than a proper solution. Hoping for something more definitive...
Share
Post a Comment
for "Gl Error From Openglrenderer: 0x502"
Post a Comment for "Gl Error From Openglrenderer: 0x502"