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.

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