native: Add custom 32-aligned NV12 colorformat

- Add color format which is NV12 + 32 aligned stride and slice

Change-Id: Iea804c2642ffad98890cbfe2979d56443f07ffdc
Merge remote branch 'cm/cm-10.1'
SurfaceFlinger: Removal of NO_RGBX_8888 flag for OMAP3

Removing this will allow color format of surface to be set for RGBX8888
that can improve performance for 32 bit framebuffer.

Tested on Nook Color with CM10
TI's commit can be found here:
review.omapzoom.org/#/c/21374/3

This will also remove the need to have BOARD_NO_RGBX_8888 := true
in the BoardConfig.mk

Change-Id: Ibc6e56c992a6433bc8688d88471d4feb9084278c
fix for DECIDE_TEXTURE_TARGET

DECIDE_TEXTURE_TARGET hack wasn't correctly handling the
BufferRejecter that was added in JB. On rare occasions this
resulted in graphical corruption when wrong texture target
was called from BufferRejecter. Move DECIDE_TEXTURE_TARGET
switch before the rejecter to take care of this.

Change-Id: I82d604ff2f89f77d2736c2a5c0ba01e2eab2b308
Merge remote branch 'cm/cm-10.1'
Revert "surfaceflinger: Enable dithering if persist.sys.use_dithering=1|2"

This reverts commit db5cb803185ccaa7f7af1688c0901a0f90d32ccc.

Conflicts:
	services/surfaceflinger/SurfaceFlinger.cpp
	services/surfaceflinger/SurfaceFlinger.h

Change-Id: If32ef33e816a837a9fb2bd8446f61ff161a7a7a1
Forward-port surface dithering from CM10

This allows the use of 16-bit color displays without excessive color
banding; behavior can be controlled by the persist.sys.use_dithering
property.

Incorporates http://review.cyanogenmod.org/19532 from CM10 as well as
code removed in upstream commit 1b03149.

Change-Id: I290ca4ed4787dc81ac756d9af92cd6a690865a08

Conflicts:
	services/surfaceflinger/SurfaceFlinger.cpp
	services/surfaceflinger/SurfaceFlinger.h