Use SkAtomics_sync on Android

Every doc I've found about using Android's atomics says, "stop".

"* A handful of basic atomic operations.  The appropriate pthread
 * functions should be used instead of these whenever possible."

"... we recommend stopping from using these functions entirely. Very fortunately, GCC provides handy intrinsics functions that work with very reasonable performance and always provide a full barrier."

As far as I can tell, there's no code generation change here: both the __sync atomics and the android_ atomics use full memory barriers.  (And now with this all unified, it'll be easier to get the real wins by switching everything to __atomic atomics, which are like __sync atomics but allow control over memory barriers.)

BUG=skia:
R=bungeman@google.com, djsollen@google.com, mtklein@google.com, reed@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/305593002

git-svn-id: http://skia.googlecode.com/svn/trunk@14896 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "64f6d154511fc840e9a2db1f17699fd5799f7917 from Tue, 27 May 2014 15:55:35 +0000"

Change-Id: Iaf5a1365dbf5108653b9e7296438c9f20f632ba6
Remove some unnecessary uses of SkOnce.

  - gm/imagefiltersgraph.cpp can just use a global registrar
  - SkScaledImageCache always accesses its global under a lock

BUG=skia:
R=bungeman@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/297273006

git-svn-id: http://skia.googlecode.com/svn/trunk@14897 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "60c8d24f84105dd341e36a7fc97e25f88ceef309 from Tue, 27 May 2014 16:28:43 +0000"

Change-Id: Icd0e314f386268ab191cc7ea89f570d70440088d
Adds perf expectations for ANGLE bot.

BUG=skia:2576
NOTRY=true
R=borenet@google.com

Author: bensong@google.com

Review URL: https://codereview.chromium.org/303643002

git-svn-id: http://skia.googlecode.com/svn/trunk@14898 2bbb7eff-a529-9590-31e7-b0007b416f81
Fixing windows warnings

BUG=skia:
R=bsalomon@google.com, epoger@google.com

Author: sugoi@chromium.org

Review URL: https://codereview.chromium.org/298093006

git-svn-id: http://skia.googlecode.com/svn/trunk@14899 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "b859fe653003862ca8603a60d561a053f752cc77 from Tue, 27 May 2014 17:03:25 +0000"

Change-Id: I6d5086521e7f1d8ca5e9fc8190e567ace2a4e7f7
Add another expectation for bug with perspective gpu

BUG=skia:2605
R=robertphillips@google.com

Author: krajcevski@google.com

Review URL: https://codereview.chromium.org/301593006

git-svn-id: http://skia.googlecode.com/svn/trunk@14900 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "fdf2c55fe10175e079bf9b76b208c7f93eac9bb3 from Tue, 27 May 2014 17:31:25 +0000"

Change-Id: I3d246c747b936455bcf3a132f47ac0c17cfd66b4
Add compressed texture capabilities for GPU devices

BUG=skia:

Committed: http://code.google.com/p/skia/source/detail?r=14880

R=bsalomon@google.com, robertphillips@google.com

Author: krajcevski@google.com

Review URL: https://codereview.chromium.org/292323003

git-svn-id: http://skia.googlecode.com/svn/trunk@14901 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "420b2ff26cbbb3a7585810fbba7a4b95fd577ca6 from Tue, 27 May 2014 18:52:24 +0000"

Change-Id: I3f3d39136ea9871d76fa462bd93a55d167d25ec5
Merge Skia at revision 14859.

Change-Id: Ic24f969092585e5e23c98c9d866427d5362a3065
Revert of Add compressed texture capabilities for GPU devices (https://codereview.chromium.org/292323003/)

Reason for revert:
RunDecodingTests failing on multiple platforms.  Please use trybots to validate and re-land.

Original issue's description:
> Add compressed texture capabilities for GPU devices
>
> BUG=skia:
>
> Committed: http://code.google.com/p/skia/source/detail?r=14880
>
> Committed: http://code.google.com/p/skia/source/detail?r=14901

R=bsalomon@google.com, robertphillips@google.com, krajcevski@google.com
TBR=bsalomon@google.com, krajcevski@google.com, robertphillips@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Author: epoger@google.com

Review URL: https://codereview.chromium.org/307543002

git-svn-id: http://skia.googlecode.com/svn/trunk@14902 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "8bfcd721063955cddfcacf84e32d6d13b7fdd25d from Tue, 27 May 2014 19:07:10 +0000"

Change-Id: I1d1c39d622532cf2ec64988815b776da1806f7fd
Revert of Revert of Add compressed texture capabilities for GPU devices
(https://codereview.chromium.org/307543002/)

Reason for revert:
Re-landing the original CL, because the revert didn't fix things.  See http://skbug.com/2608 ('RunDecodingTests failing on multiple platforms')

Original issue's description:
> Revert of Add compressed texture capabilities for GPU devices (https://codereview.chromium.org/292323003/)
>
> Reason for revert:
> RunDecodingTests failing on multiple platforms.  Please use trybots to validate and re-land.
>
> Original issue's description:
> > Add compressed texture capabilities for GPU devices
> >
> > BUG=skia:
> >
> > Committed: http://code.google.com/p/skia/source/detail?r=14880
> >
> > Committed: http://code.google.com/p/skia/source/detail?r=14901
>
> TBR=bsalomon@google.com,robertphillips@google.com,krajcevski@google.com
> NOTREECHECKS=true
> NOTRY=true
> BUG=skia:
>
> Committed: http://code.google.com/p/skia/source/detail?r=14902

R=bsalomon@google.com, robertphillips@google.com, krajcevski@google.com
TBR=bsalomon@google.com, krajcevski@google.com, robertphillips@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Author: epoger@google.com

Review URL: https://codereview.chromium.org/302553008

git-svn-id: http://skia.googlecode.com/svn/trunk@14903 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "42dc8136914ee0777bb9110a5e04a75016687c0d from Tue, 27 May 2014 19:26:59 +0000"

Change-Id: I099d3f62a171dc6f0be3ceccb0653bfe3151c6b7
whitespace change to trigger new builds after buildbot fix

BUG=skia:2608
NOTREECHECKS=True
NOTRY=True
R=borenet@google.com
TBR=borenet

Author: epoger@google.com

Review URL: https://codereview.chromium.org/300223005

git-svn-id: http://skia.googlecode.com/svn/trunk@14904 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "61a03b7 from Tue, 27 May 2014 20:10:48 +0000"

https://skia.googlesource.com/skia/+/61a03b78d6abefdf86889e988d4596181488f981

Change-Id: I841099c1922399ddc83d3979f8cf6434ddcc9dc3
floating point scale factors for images

New version of https://codereview.chromium.org/298243003/ made to deal with binary file being lost.

BUG=
TBR=bsalomon
NOTRY=true

Author: humper@google.com

Review URL: https://codereview.chromium.org/307553005

git-svn-id: http://skia.googlecode.com/svn/trunk@14905 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "44f4129 from Tue, 27 May 2014 20:54:04 +0000"

https://skia.googlesource.com/skia/+/44f41293ac94530d08fca2ce8484a7248e7a5e97

Change-Id: I089f5b24bdd2c0d4bfdf886ae35f76906e2b820c