GLES20Canvas.nDrawDisplayList is slow

I have a custom view that I am trying to display, however I am seeing a bunch of jitter on it.
Everything scrolls slow and it isn’t as responsive as it should be.

I used traceview and saw that


seems responsible for taking a lot of time to execute.

Any help please?


GLES20Canvas.nDrawDisplayList is expected to have a large portion of the time if you are drawing a lot, especially very big views.
If you are seeing this all over your traceview the answer is “DRAW LESS”

In my specific issue I was drawing a large alpha layer over large views.
I would recommend reading the Do’s and Dont’s from Android 3.0 Hardware Acceleration by Romain Guy