ENGR00234203 - Fix EGL initialization failure in Quadrant

Commit on behalf of Chingling Wang:
The reason for failing when eglInitialize() the second time
it was called is that the display is not reset back to
ELG_NO_DISPLAY in terminate().  It will not get egl
display(eglGetDisplay()) anymore, but the egl display is already
released in terminate(). So, invalid egl display will make
eglInitialize() fail.

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
ENGR00243337 Enable swap rectangle for surfaceflinger

swap rectangle feature can reduce composing region to improve performance,
also reduce power consumption during UI partial update, like mouse moving.

Google enabled this feature in Android 3.0 and the older versions,
but removed it now since some GPU devices have no this feature.

Add this feature back because i.mx6 GPU support swap rectangle.

Signed-off-by: Xianzhong <b07117@freescale.com>
ENGR00251253 Fixed UI flicker with swap rectangle

JB4.2 UI flicker in setting user name edit window.

The root cause is imx6 gpu 3d has alignment limitation
in resolving and cannot resolve front buffer correctly,
this is a workaround to draw the whole screen in 3d composition.

Signed-off-by: Xianzhong <b07117@freescale.com>
ENGR00254858 Remove unnecessary error logs

Remove logs for eglSetSwapRectangleANDROID and dequeueBuffer BUSY error

Signed-off-by: Xianzhong <b07117@freescale.com>