rs: Fix aliasing violations

Fix aliasing violations so frameworks/rs can be compiled
without -fno-strict-aliasing

Change-Id: I39dee4712eca722c641741074fa1dbd49414b8cd
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
rs: Use -Wno-error - gcc 4.7 adds new warnings rs can't deal with

Change-Id: I38fe66629552d6f11be1bb69d5a93a05251614df
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
rs: Fix mismatch between ENTRY and END points

Change-Id: I0d53fe29379e8abe1dfd1dc96edaca810a531acb
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
rs: Fix build with ISO C++ 11 compilers

ISO C++ 11 no longer allows implicit narrowing during initialization

Change-Id: Iec3726fc12379e17300a372619378b77d033d841
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Clang: Silence warnings (3/3)

With GCC >=4.7 Clang generates a lot of noise with various compiler flags,
and can even break the builds when using Flags like Graphite.  This can be
reproduced by doing the following:

Setting TARGET_EXTRA_CFLAGS with Graphite flags such as these
TARGET_EXTRA_CFLAGS +=  -fgraphite-identity \
                        -floop-block \
                        -floop-strip-mine \
                        -ftree-loop-distribution \
                        -ftree-loop-linear

Causes the following errors to occure and the builds to fail:

clang: error: argument unused during compilation: '-fgraphite-identity'
                                                  '-floop-block'
                                                  '-floop-strip-mine'
                                                  '-ftree-loop-distribution'
                                                  '-ftree-loop-linear'

Silence the errors by passing the -Qunused-arguments for CFLAGS

Singed-off-by: Paul Beeler <sparksco@gmail.com>
Merge remote-tracking branch 'cm/cm-10.2' into HEAD

Conflicts:
	driver/rsdIntrinsicYuvToRGB.cpp

Change-Id: I1a569210ffacd334cdb0786754e60a5e1963df7a
rs: Fix build with ISO C++ 11 compilers

ISO C++ 11 no longer allows implicit narrowing during initialization

Change-Id: Ie359c075b6687962eeaa94d909b6cb92df65213f
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
rs: Fix RS_VERSION define

Commit 51dc7a27a8749d4ad43169bf39d4378529e132cd broke the RS_VERSION
define by setting LOCAL_CFLAGS := something after the addition of
LOCAL_CFLAGS += -DRS_VERSION=...

Make sure the := definition occurs before the += amendment.

Change-Id: I320ae9215f3ef2982c707a6ecaf5a14880ffa036
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Optipng -o7

Change-Id: I40b9e5ddef0ebb053680aec917a808edba9b6c6b
GCC/CLang: fix build with experimental compiler flags

Change-Id: Iae56847d585e0a6ddfe9562e36ec9da9fcbb519f
Merge tag 'android-4.3_r3' into HEAD

Android 4.3 release 3.0
Merge remote-tracking branch 'cm/cm-11.0' into HEAD

Conflicts:
	cpp/Android.mk
	cpu_ref/rsCpuIntrinsic3DLUT.cpp
	cpu_ref/rsCpuIntrinsicInlines.h

Change-Id: I4c1c51f5289618d6fc6221bf48e280aa90715008
Merge branch 'android-4.4.1_r1' into HEAD
Replace "mips" with "mipmaps" since the MIPS gcc compiler defines mips to 1.

Change-Id: Ia48ffa714ff9e3a2e3b64ea1edd11ad0f6bf354a
Clang: Silence warnings

With GCC >=4.7 Clang generates a lot of noise with various compiler flags,
and can even break the builds when using Flags like Graphite.  This can be
reproduced by doing the following:

Setting TARGET_EXTRA_CFLAGS with Graphite flags such as these
TARGET_EXTRA_CFLAGS +=  -fgraphite-identity \
                        -floop-block \
                        -floop-strip-mine \
                        -ftree-loop-distribution \
                        -ftree-loop-linear

Causes the following errors to occure and the builds to fail:

clang: error: argument unused during compilation: '-fgraphite-identity'
                                                  '-floop-block'
                                                  '-floop-strip-mine'
                                                  '-ftree-loop-distribution'
                                                  '-ftree-loop-linear'

Silence the errors by passing the -Qunused-arguments for CFLAGS

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
rs: Fix RS_VERSION define

Commit 51dc7a27a8749d4ad43169bf39d4378529e132cd broke the RS_VERSION
define by setting LOCAL_CFLAGS := something after the addition of
LOCAL_CFLAGS += -DRS_VERSION=...

Make sure the := definition occurs before the += amendment.

Change-Id: I320ae9215f3ef2982c707a6ecaf5a14880ffa036
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Stop using the PLD macro.

Every ARM processor we run on has the pld instruction.

Change-Id: I05512bf20a73590698c714d6921db4e44e971606
Merge remote-tracking branch 'cm/cm-11.0' into HEAD
Add handcode mode to rsg_generator.

bug 13170046

Change-Id: I25050a3c4c9b77727eb717d4b9c44bf85f505873
Make object destruction asynchronous.

bug 13170046

Change-Id: Ie4a5e35f11da6f26dca273d79462952b0e3722c1