Revert "surfacetexture: Add API to set the min undequeued buffer count"

This reverts commit 7523410a5d3721e84fe96464ff2cf61482137c58.

Revert "Allow 3+ undequeued buffers for SurfaceTextureLayer"

This reverts commit 3c77f875627a504ec8e52a341ce654a4e16a3838.
native: use standard cm qcom ifdef

Change-Id: I35d7ba187a46af840253ec5b5c93df888546ce65
SurfaceFlinger: update sourceTransform in hwc_layer_t

set the sourceTransform in hwc_layer_t to the bufferOrientation,
which will be used for setting the orientation on external display

CRs-fixed: 387357
Change-Id: I7ae6a818001eb41a9209dea166dc9232de182fe5
(cherry picked from commit 608db1fa7aa4dee3fc0359bd5686a74e2dfc9d40)
frameworks/native: SF: Adapt vertices to GL co-ordinates

Adapt co-ordinates in drawWormhole() from display co-ordinate system to
GL co-ordinate system.

Change-Id: Id25a9e63c38ceb242f6d67eaca9e88cb95aead42
CRs-Fixed:382824
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
libgui: Add support to update buffer geometry.

Add native window properties NATIVE_WINDOW_UPDATE_BUFFERS_GEOMETRY
to the perform function of SurfaceTextureClient and SurfaceTexture
to update the width, height and format of the buffer dynamically
from the client before queue buffer call.

Change-Id: I62447fcf523b507d534085cd0835f55a978c4ead
Fix gralloc private flag for video playback

Change-Id: I5247adffd528fbabbe57de56e1ac1e5ae74662af
i9300: Clean up a bit usage flag hack

Change-Id: I355375e5d65381b4a256dbf934dacf6b2b935b98
frameworks/native: Add support for copybit in Surfaceflinger.

  - Use qcomuiclearRegion to punch hole in FB if using
    copybit composition
  - Skip GPU drawing if layers are flagged for copybit
  - Consider copybit composition while counting for
    layers updating FB

Change-Id: Ieb2937d276a5018916961b43850898066a15c17e
Merge "i9300: Clean up a bit usage flag hack" into jellybean
surfaceflinger: Fix ifdeffing

 * Fix bad ifdeffing from QC BSP code.

Change-Id: Ibd188c16fc6e95ee70dd13381db5406449c33c4d
libagl: Allow use of copybit to accelerate 2D rendering

Port back from CM9 /w whitespace trail and LOGD > ALOGD usage fix

Original Author : Ame Coucheron (http://review.cyanogenmod.com/#/c/11167/)

This improves performance on devices that uses copybit.
Enable with TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
Forward ported from Gingerbread

Change-Id: I29d043685894fb243b564cab2f05711a1d285fa8
libbinder: Export older versions of binder symbols

libbinder's enforceInterface function has changed, and even though the API
is backwards-compatible, the ABI isn't. Proprietaries linked with an older
(pre-gb) libbinder.so will fail without this
Additionally, ICS changed the argument types for appendFrom; add a wrapper
for that one.

Change-Id: Ib719f6fba3d8725ad81a2afaa419b7ee52fd3780
Merge remote-tracking branch 'cm/jellybean' into v880