Assembly optimized 4 blittering related functions:

S32A_D565_Opaque
S32A_Opaque_BlitRow32
nofilter_gether
S32A_Blend_BlitRow32

* S32A_D565_Opaque:

Use neon instructions to optimize BLIT routine which operates on
32-bit source ARGB pixel and 16-bit destination RGB pixel. Here,
we process 16-pixels in an iteration. We use regular (32-bit)
arm instructions when number of pixels is less than 16 or the
architecture doesn't support SIMD/NEON instructions. When alpha
value is 255, this version of BLIT routine performs 35% better
in comparison to S32A_D565_Opaque_neon routine.

* S32A_Opaque_BlitRow32 and nofilter_gether:

Use neon instructions to optimize BlitRow32 and nofilter_gether
functions for 32-bit source and destination pixel arrays. An improvement
of 76% is observed with neon optimized BlitRow32 function and 6%
improvement is observed with nofilter_gether function.

* S32A_Blend_BlitRow32:

Optimize S32A_Blend_BlitRow32 using neon instructions for armv7
based targets and using regular arm instructions for armv6 based
targets.

This is the consolidated commit from several patches.

Change-Id: Ied93ffc9226415af979d9f7069c201f03a94733a
Apply PLD to blittering functions

Extend software pipelining for S32A_Blending to process 16 points
perloop and per-read points of next loop

Change-Id: Ib7a6a6efb8249b96578e75613683099251dc2a82
Two skia optimizations:

1. Combine S16_opaque_D32_nofilter_DX and clampx_nofilter_trans
2. Change MAX_BUF between mproc and sproc to 1024 from 128

Opt 1 is giving about 8-10 FPS in gmail and facebook apk.
Opt 2 is helping all combinations for shaderspan.

Change-Id: I88dc097ffd52984a7b786e13c70384688f2e1b12
File changes for SKIA Neon optimziation for S32_Opaque_filter_DX

Change-Id: I67b5af422da5de6cd5a9d3d7f661ab1745b3d204
external/skia: Add QC hooks
SkBlitter_RGB16: Add device-specific optimization hooks

Change-Id: Ie6cc291ff7409ead38536d4c4defc7fd58e5f293
Add modified classes for optimization

Add qc hooks.

Change-Id: I7494ff946547cf1e3d49458724f32b0c233bcc45
Merge remote branch 'remotes/quic/aosp/ics-mr1-release' into merge_branch
Fix CTS failure.

Revert opt 2 in the following commit.

Author: Xin Qi <xqi@codeaurora.org>
Date:   Wed Nov 16 10:07:54 2011 -0800

    Two skia optimizations:

    1. Combine S16_opaque_D32_nofilter_DX and clampx_nofilter_trans
    2. Change MAX_BUF between mproc and sproc to 1024 from 128

    Opt 1 is giving about 8-10 FPS in gmail and facebook apk.
    Opt 2 is helping all combinations for shaderspan.

CRs-Fixed: 330807

(cherry picked from commit 24b6943025259b0de63553fe724f70137f7dd1bd)

Change-Id: I2c29c49589feb13b325b0c449a9bfb64e807735f
skia: Use neon optimized memset functions

When the architecture supports NEON, use the neon optimized
memset routines.

(cherry picked from commit c7246b98a480b06fc207cfcb1a3d209baac06859)

Change-Id: I3011fc02b51eb298f4a18b0ca0371f8c19721d77
Added larger font cache memory for large memory devices

Reference benchmark:
  [Draw Text] :  24.15 fps  -->  25.73 fps
Add NEON optimized blitter: RGB565 to ABGR8888 without filter and blending

Merge from ST-Ericsson.

Change-Id: If9ca8627983a1d2ff7e8c1469754b42409eda8a8
Switch from VFP back to fixed scalar based calculation

Previous configuration enabled ARM VFP for scalar float, but VFP on
ARM11 is not as powerful as VFPv3 or NEON.

Reference benchmark:
Item            Fixed based     VFP-based
------------    -----------     ---------
Draw Canvas     58.37 fps       58.40 fps
Draw Circle     37.48 fps       22.93 fps
Draw Circle2    17.14 fps       18.31 fps
Draw Rect       17.62 fps       20.69 fps
Draw Arc        24.79 fps       27.45 fps
Draw Image      19.08 fps       18.73 fps
Draw Text       29.22 fps       25.79 fps
Revert "external/skia: Add QC hooks"

This reverts commit 06d6d13f516a1b39a3f7f022ef7f05c73716ab91.
Fixed memory leak in SkDraw::drawDevMask.

Ami is supposed to free fImage above when ami is out
of scope. However, we have not allocated fImage yet
and we save reference to NULL, and nothing will be freed.

Change-Id: I4c93d11b4d3e9df22ec0dcea705743cb12de57d7