Reconcile with jb-mr1-release

Change-Id: I59e3097222dd1d485f1871baa20c40df26b27319
Reconcile with jb-mr1-release - do not merge

Change-Id: Ib3410d8781e66d8126da0e01c78b175985f7462b
am abd6d049: Don\'t cap max-threads to current cpu count.

* commit 'abd6d04992e4b7c903ed2c1278d744e73ac74334':
  Don't cap max-threads to current cpu count.
am da3b58d8: Fix build. New clang has stricter checking.

* commit 'da3b58d804b59595f1c618ff271fecd8a9ce59ed':
  Fix build. New clang has stricter checking.
Reconcile with jb-mr1-release - do not merge

Change-Id: I69d1d029d692274af0623bb20eb6fc41d68d4f80
am 65723fe0: Add initial approximate function prototypes and cleanup rs_cl.rsh

* commit '65723fe0612f064de5d8ee6f10b5bed8b6be61be':
  Add initial approximate function prototypes and cleanup rs_cl.rsh
Reconcile with jb-mr1-release - do not merge

Change-Id: If3baf5000c1c63005d1dad62e38fbd69ddc3fcda
am c3b8f060: am 72f3ad8f: Merge "fract() uses a float*, not an int*."

* commit 'c3b8f060521ee952913b2ad0a12da911ec6a67ac':
  fract() uses a float*, not an int*.
Reconcile with jb-mr1-release - do not merge

Change-Id: Icd1aa88d77e1ea535935497eadefeda828e36c44
am 8eaba4fe: Intrinisics

* commit '8eaba4fee0c7b5325742c87187622fdff51d5eff':
  Intrinisics
Reconcile with jb-mr1-release - do not merge

Change-Id: I620dcf670e0cc549a321cd353a469c59b0952aa1
am 7150c93a: Add approx_atan and header guards to rs_cl.rsh

* commit '7150c93a53882ab1b1850223fef8b4459d2f0bb4':
  Add approx_atan and header guards to rs_cl.rsh
am ff59947f: Merge "Fix stale realloc pointers." into jb-mr1-dev

* commit 'ff59947fcae3b19bcc5bafb50baa9f68cb7aa5c9':
  Fix stale realloc pointers.
Reconcile with jb-mr1-release - do not merge

Change-Id: Ic38a2cf165d11ccbdff4d00670d4fe1c1cf44652
am 41d6c769: Clean up useless code, logging, and a typo.

* commit '41d6c769f5fa21da3cbc116af95d88949a4a5c76':
  Clean up useless code, logging, and a typo.
Reconcile with jb-mr1-release - do not merge

Change-Id: I99c9dc7c4fe0e85228cbf8f0ec7b030f66ebc9d0
am d7a5dd9c: am 7c220b78: (-s ours) am 10bbadf3: (-s ours) am 1a1b0f9e: (-s ours) Merge "DO NOT MERGE - Plumb context through for serialization."

* commit 'd7a5dd9cc42887b8612ad262d0ee41c491205358':
  DO NOT MERGE - Plumb context through for serialization.
am 581097c6: am f4236fa4: (-s ours) am 73018ee9: (-s ours) am 7e070a1f: (-s ours) Merge "DO NOT MERGE - Move memory layout to driver."

* commit '581097c616e56358025c5e76d1779308c620321f':
  DO NOT MERGE - Move memory layout to driver.
am 188232d7: am 4d0cb4c0: (-s ours) am 2ca2b9fb: (-s ours) am 417d6589: (-s ours) Merge "DO NOT MERGE - Cleanup pointer access in adapter and font."

* commit '188232d740630b6b5ab16b22961eeea8483b5fd8':
  DO NOT MERGE - Cleanup pointer access in adapter and font.
am 91c2b868: am 98743d2b: (-s ours) am f2bc81da: (-s ours) am fd729de5: (-s ours) Merge "DO NOT MERGE - Fix stale realloc pointers."

* commit '91c2b868cefb983ad64db59eb9d8e0d8c355340a':
  DO NOT MERGE - Fix stale realloc pointers.