skia: update interfaces to libpng 1.5.7 beta 01

Libpng 1.5.7 beta 01 is integrated, where some interfaces are
changed and some structures are not visible to libpng clients
any more. The structure information can be retrieved through
specific interfaces.

Change-Id: I81846541be8b2d4d20b345c017602985c1d7dde6
skia: Use -fno-strict-aliasing for tests

Tests aren't compatible with strict aliasing rules, and aren't
speed relevant anyway -- use -fno-strict-aliasing

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
skia: Fix build in ISO C++11 mode

Fix macro constructs that could be mistaken for new string literals

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
skia: Use -fno-strict-aliasing for now

Change-Id: Iced75d8e419ffeee26e478b7716dfcf13e0f53d0
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
skia/bench: Use -fno-strict-aliasing

Use -fno-strict-aliasing for the benchmark so we don't have to use
it globally

Change-Id: Ibe5b80587818058cbb4290fe694c0b5d4cdc75a0
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
skia: Fix build in ISO C++ 11 mode

Change-Id: Ic1241cca1ec6eced270bff62da45e6c6b49e3ef2
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Upload empty commit

Change-Id: I8664983e6fd7e514a4fe171234197cd9e09dc580
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: Id5aab49656247b9a69b43cfb22fe7a8608f847e5
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: I0e8a0506aca2a8d4ee4f4b6b1aa4dcc9ce9c0329
external/skia: Add QC hooks

Change-Id: If21c85bd5d58ce46c1c274e68120ac33f784395e
SkBlitter_RGB16: Add device-specific optimization hooks

Change-Id: Ie6cc291ff7409ead38536d4c4defc7fd58e5f293
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

Change-Id: Iece797781e97918f4c77fc767bf9e6772927d6f3
Remove the dependency on libqc-skia.a from libskiagpu.a

Change-Id: I02ae868a5bb9b3bcc1fc4d2668b3902b8bfc0de6
skia: Fix a bug in clampx_nofilter_trans_S16_D32_DX

When scaling a line, in the case of the last pixel needing to be
duplicated, the beginning of the line is getting clobbered with wrong
value.  This is because dest buffer pointer is not moved forward.  Fix
that by adding pointer update line.

CRs-Fixed: 349571

Change-Id: Id6dc41d7e6bd2b777097f62e788bd2476609a9ae
skia: Fix Codenomicon image open failure.

Add code to handle 'No image descriptor' case in a gif image format.
Remove goto call.

CRs-Fixed: 333162

(cherrypicked from commit I80d7df9d5f112b5fe32699ce6dd2df0f48323bb1)

Change-Id: I96bdc71ea6269adfd030d13eba4326a7a14c3690
build: LOCAL_MODULE_TAGS: Replace eng with debug

To align with our customers/vendors, debug variant build
replaces eng variant build. To get the modules to be part of
debug variant builds, replacing eng tag with debug tag.

Change-Id: Ifd4a20c5f0a19deb88282268a59284e06c72154b
Add modified classes for optimization

Add qc hooks

Resolved Conflicts:

	Android.mk
	src/core/SkPictureRecord.cpp

Identify compressed bitmaps

No support for converting compressed image data into gl currently

CRs-fixed: 369135

Change-Id: I68963c01ccdbedc41bb51c03e0b372a97301f6a8
Change to canvas hooks

Add some changes to canvas hooks

Change-Id: I99e26a1b831b80f3fbe2beacbcc0771246964c9d