Support screenshot / renderScreenToTexture under OpenGL ES 1.0

current implemented screenshot / renderScreenToTexture() of
SurfaceFlinger use FrameBuffer Object(FBO) in the OpenGL ES 1.1/2.0
extention

directly use framebuffer device /dev/graphics/fb0 to emulate FBO.

Tested under the old adreno130/msm7201 (unofficial CM9)

Please see also http://review.cyanogenmod.com/11022

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

This improves performance on devices that uses copybit.
Enable with TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true

Forward ported from Gingerbread

Change-Id: I271fd87ccca4b6574d1b018a00f41b673d0f4211
Prefer 16bpp formats for opaque bitmaps

Configure BitmapFactory to prefer RGB565, which will make it
use that format for all opaque assets loaded by it with standard
settings. Toggle dithering flag in strategic places and reenable
16bpp drawing cache, to speed up software UI rendering.

(Original author: Grigori Goronzy <greg@blackbox>)

Change-Id: I292f77a4481e86964255d7b59c9407f5e99a8e08
Prefer 16bpp surface formats

Adds a property to use RGB565 surface formats for the opaque
surface default, enabled by default.

(Original author: Grigori Goronzy <greg@blackbox>)

Change-Id: Ia5aa00b9fcb197d25f7107a569103389a0337eb3
Use RGB565 surface for wallpaper

The framebuffer only uses 16bpp on most legacy devices anyway, so this
does not result in worse quality. It saves a lot of GPU fillrate and
memory, though.

(Original author: Grigori Goronzy <greg@blackbox>)

Change-Id: I0133dec0ee0e122248027b422ba13b03f55e57a9
Allow purging of asset bitmaps

It seems that neither CM9 nor CM10.x includes the actual framework-side
code to facilitate user-controllable bitmap purging. Odd, since the
CyanogenMod Settings app in both CM9/CM10.x includes the option.

Backported from original Gingerbread commit:
http://review.cyanogenmod.org/#/c/3908

Original description:

Allow the system to reclaim more free RAM when needed on 'low' memory devices
(e.g. Droid/Milestone) that are struggling with 2.3. This option enabled
efectively restores the froyo way of forcePurgeable BitmapFactory asset
handling.

Change-Id: Ia30da235698bb611e02905ba428699f4578ba4e0
Recent apps: Clear all recent apps at once

Change-Id: I1625da439047a0a745dc85f4a9f19289d7c26eff
Add legacy Qualcomm OpenMAX support for MSM7x27 (Ganster41)

Change-Id: I525ec868cef295283c2606c15a992132eb766553
Fix alignment and copy size for legacy QCOM OMX (from https://github.com/grigorig/)

Change-Id: I5fa6e57fe213a534a0def6d8c21c2f1475982e65
option to change status bar transparency (2/2)

Change-Id: I43a13f20e3eefccf1f4f0fc03c304931477ca6fa
status bar - center clock (1/2)

Change-Id: I86762917e62bd483917f73a2ff8eaa9d24f074e9
center lockscreen clock

Change-Id: I0e2289c29f6b2d1763ead8fbdb71ecf6967f240c
Screen Rotation animation disabled

Change-Id: I19601ab7db350007952453b780a59f832e222d9a
Some performance tweaks

Change-Id: I6f3bf8ebea53b3d1b6e5a3f84f13d36e3c3ea3d6
Removed -Werror for GCC 4.6 Compatibility

Change-Id: Icefcfa60db336e7abdca11f6e0ec4b262b17b31a
Don't Odex SystemUI

Change-Id: I7d2a263b14e3847ba3cf1e96e4efbf0ca9ea3735
Some Default values for my rom

Change-Id: I4d6ecf60db5224d758690842f84c230f25424e17
Camcorder semi-working

Change-Id: I052ebcfb5e4ad0dcebcc94f9325d9d3ce4fd9164