Implement sk_atomic_conditional_inc with sk_atomic_cas.

Now that we have sk_atomic_cas, we can replace all the platform-specific CAS loops with one.

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

Author: mtklein@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@14892 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "81da061f7285bbcf0acc31142042a9cd0ab8f068 from Tue, 27 May 2014 15:00:32 +0000"

Change-Id: I9ba6c79cb2f5f7e597573cb4af179427d8141544
Update expectations for etc1bitmap

R=robertphillips@google.com

Author: krajcevski@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@14893 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "212b211ce8e0fa0ef59ca2d1f4e91590fa5f91bf from Tue, 27 May 2014 15:04:57 +0000"

Change-Id: I72fc8615986af52543e785961c8c0f97d5ddfc53
Drop support for non-atomic non-mutex platforms.

(Clients can still provide these themselves if they really want.)

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

Author: mtklein@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@14894 2bbb7eff-a529-9590-31e7-b0007b416f81
Merge Skia at "abf4189f340dc0b714b945a8954d955c570880bf from Tue, 27 May 2014 15:16:37 +0000"

Change-Id: I82a2cce02f80100848f01a7b4395bebfa5f9c211
rebaseline simpleblurroundrect

BUG=
TBR=bsalomon

Author: humper@google.com

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

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

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