am 1e5b88fb: am 45470559: (-s ours) am 12b7da69: am 6df477be: Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)"

* commit '1e5b88fb4fc52d44ededdb6b98fd7b8f7ee0a87d':
  Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
Fix potential bug with reordered size/offset arguments.

This change also cleans up a few uint32_t/size_t issues.

Change-Id: Iae0fc085c12149129b91fce0ebbc28c8cf358eaf
Fix bugs with unsigned rsAtomicCas/Max/Min.

BUG=5888007

rsAtomicMax/Min did not have proper semantics for unsigned integers. They were
always using signed comparisons. rsAtomicCas had the wrong function signature
in our math library, leading to no way to properly link/execute it.

Change-Id: I336cdd8cd9f2d8093f12e101b55b2797515f039b
Merge "Fix bugs with unsigned rsAtomicCas/Max/Min."
am caaac348: Merge "Fix bugs with unsigned rsAtomicCas/Max/Min."

* commit 'caaac348ed163f59cf1b8185bb14137050c18e7e':
  Fix bugs with unsigned rsAtomicCas/Max/Min.
Don't wait forever if there are no commands to execute.

BUG=5614887

This fixes a timing issue where we could calculate a delay of 0 (indicating
wait forever) when we have no pending commands to actually execute. In such
cases, we should just break out of the playback loop.

This also fixes a small issue with returning whether or not to redraw.

Change-Id: Id1e481679341773256b7287062c68925e2bc8f9e
Merge "Don't wait forever if there are no commands to execute."
am cee905be: Merge "Don\'t wait forever if there are no commands to execute."

* commit 'cee905be4874f6d3f112527a53b0f7ff87655c66':
  Don't wait forever if there are no commands to execute.
Add comment to confusing commands.

Change-Id: I7b84b9d8e9b3b595e0bab33d5e219842f6c86f83
Merge "Add comment to confusing commands." into graphics-dev
fix build

Change-Id: Ibdc45f1794e7ef60dc1ca0ff85c5cc4dff84c3fa
am dfbcee6c: fix build

* commit 'dfbcee6cb8ab9cf89b9052eb7498e453afdb1463':
  fix build
Merge "Fix potential bug with reordered size/offset arguments."
am 855eadf9: Merge "Fix potential bug with reordered size/offset arguments."

* commit '855eadf942c8ff5c2665d7dc3b6d4b5ba630419a':
  Fix potential bug with reordered size/offset arguments.
Remove wrapper version check assert.

This really shouldn't have been here to begin with, since the wrapper version
should be meaningless to libRS.

Change-Id: I329446ed96d1a70197247735e267b8539a8c83a2
am bb3968fe: Merge "Remove wrapper version check assert."

* commit 'bb3968fed8e7fb2b53ac32d40e26e0d21600a922':
  Remove wrapper version check assert.
Fix an incorrect assert that doesn't account for element array size.

Change-Id: Ibcb5c55d91967603391a1721137d010a85025990
Properly recover from failed compilation.

BUG=5955072

We used to call delete, which did not update the Context's view of the world,
leading to potential segfaults on Context teardown. This change also enables
exceptions to be thrown when runtime errors are encountered.

Change-Id: If63578efff2d7dd03639da1049c1a5ebc69fde35
Merge "Fix an incorrect assert that doesn't account for element array size."
am 7042613c: Merge "Fix an incorrect assert that doesn\'t account for element array size."

* commit '7042613c653fd0de253f2f659901318902fa4584':
  Fix an incorrect assert that doesn't account for element array size.