skia: Optimize SkBlurMask

There is code that checks profile_size and sw/sh inside loops.
However profile_size and sw/sh do not change in loop execution.
Codes for checking them should be placed outside of loop.

This patch makes the code 40% faster than the the original in
blurrect_direct_* tests in skia_bench.

Use skia_bench to verify:
skia_bench --repeat 3 --config 8888 --match ^blurrect_direct

Change-Id: Iff939333ade25ebf73f459cdcbe4c22733ec9cec

Conflicts:
	src/effects/SkBlurMask.cpp

skia: Optimize SkBlurMask

There is code that checks profile_size and sw/sh inside loops.
However profile_size and sw/sh do not change in loop execution.
Codes for checking them should be placed outside of loop.

This patch makes the code 40% faster than the the original in
blurrect_direct_* tests in skia_bench.

Use skia_bench to verify:
skia_bench --repeat 3 --config 8888 --match ^blurrect_direct

Change-Id: Iff939333ade25ebf73f459cdcbe4c22733ec9cec

Conflicts:
	src/effects/SkBlurMask.cpp

skia: Optimize SkBlurMask

There is code that checks profile_size and sw/sh inside loops.
However profile_size and sw/sh do not change in loop execution.
Codes for checking them should be placed outside of loop.

This patch makes the code 40% faster than the the original in
blurrect_direct_* tests in skia_bench.

Use skia_bench to verify:
skia_bench --repeat 3 --config 8888 --match ^blurrect_direct

Change-Id: Iff939333ade25ebf73f459cdcbe4c22733ec9cec

Conflicts:
	src/effects/SkBlurMask.cpp
-03
Revert "skia: Optimize SkBlurMask"

This reverts commit acb1c43db12e77fe97791f58e0e4d36636d2a9ba.

Revert "skia: Optimize SkBlurMask"

This reverts commit acb1c43db12e77fe97791f58e0e4d36636d2a9ba.
skia: Optimize SkBlurMask

There is code that checks profile_size and sw/sh inside loops.
However profile_size and sw/sh do not change in loop execution.
Codes for checking them should be placed outside of loop.

This patch makes the code 40% faster than the the original in
blurrect_direct_* tests in skia_bench.

Use skia_bench to verify:
skia_bench --repeat 3 --config 8888 --match ^blurrect_direct

Change-Id: Iff939333ade25ebf73f459cdcbe4c22733ec9cec
Hide warnings for skia

Can be handled upstream if needed.

Change-Id: I25d4ab459b1158c3f7f0f8129561cf9495b60fca

Conflicts:
	Android.mk
	bench/Android.mk
	tests/Android.mk

Hide warnings for skia

Can be handled upstream if needed.

Change-Id: I25d4ab459b1158c3f7f0f8129561cf9495b60fca

Conflicts:
	Android.mk
	bench/Android.mk
	tests/Android.mk
Revert "skia: Optimize SkBlurMask"

This reverts commit acb1c43db12e77fe97791f58e0e4d36636d2a9ba.

Revert "skia: Optimize SkBlurMask"

This reverts commit acb1c43db12e77fe97791f58e0e4d36636d2a9ba.
Revert "Hide warnings for skia"

This reverts commit 9c1a391113c82a2c232d219777c59e5118cddfcd.

Revert "Hide warnings for skia"

This reverts commit 9c1a391113c82a2c232d219777c59e5118cddfcd.
-O3