binder: add another compat symbol

- Extend https://gerrit.omnirom.org/#/c/2324/
- Some old blobs, mainly LGE libs need this

Change-Id: Ia0370fecff24348aefa17aa7de2609535323e9b0

Conflicts:
	libs/binder/IPCThreadState.cpp
Forward-port surface dithering from CM10.2

This allows the use of 16-bit color displays without excessive color
banding;

Change-Id: Icb469b9cb4beb686516c60bb576dbd0a73f505e0
hax: Add back the SURFACE_SKIP_FIRST_DEQUEUE legacy EGL workaround

Set BOARD_EGL_SKIP_FIRST_DEQUEUE to use

Change-Id: I46257a7e9e6b6e093a5cb92eaaaef4bdd0435a12
libs/ui: Fix crash issue because of null pointer access

- handle NULL check is required while flatten GraphicsBuffer

CRs-fixed: 579102

Change-Id: I292b4b25dc1f5320378cc9e4affbad326e1fdaed
OpenGL: Build with GCC for Adreno compatibility

Summary:
Clang treats const char type differently (view processed code to see).
For compatibility against Adreno prebuilts, we will build libopengl
and it's wrappers with gcc

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D86

Change-Id: Ia133533751ad3e4257a257a9e83813028525346d
binder: fix c++11 narrowing violations

Summary:
The best fix for these narrowing
violations is to use static casting

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D85

Change-Id: I7717f7b09b75167a7db979fef7212e00d0541051
Signed-off-by: DHOMD <DHO@dho.im>
Surfaceflinger: conform string literals to C++11

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D110

Change-Id: I8ed1ccd34a21852caed5f20ad31ca2c6398271b0