nicolasgramlich/AndEngine — pull request #184 by nazgee (2012-10-29 21:40:50+00:00)
Title: Reduce number of glEnable and glDisable calls

There is no reason for postDraw() to disable blending on every call.
It will be enough if Shape makes sure that it has the correct blending
setting in preDraw() method.

Since 99% of Shapes are drawn with blending enabled, applying this
patch substantially reduce number of redundand JNI calls, and (hopefully)
improve overall performance.

(previous version of this pull request was accidentally removed with my latest copy-paste failure...)