diff options
| author | Vladimir Marko <vmarko@google.com> | 2020-06-19 17:57:34 +0100 |
|---|---|---|
| committer | Vladimir Marko <vmarko@google.com> | 2020-06-24 19:15:38 +0100 |
| commit | bfac2652b0f4b02b333d38fcb6e64f88940ed291 (patch) | |
| tree | 1c7bdff434d3deec57b9d34cb8e1468fed9ff4e0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
| parent | 47e8d78857d4008ec78eed034d902b28e37c8add (diff) | |
Use @CriticalNative for writes in Parcel.
Make Parcel.nativeWrite{Int,Long,Float,Double}() return an
error code instead of throwing exceptions on error. This
allows markiong them as @CriticalNative but we must pass on
any errors from Java back to native for throwing exceptions.
This is a follow-up to commit
b148b6c3c8547143946726a4f6143106406f2fd2
ParcelPerfTest results on blueline-userdebug with little
cores at fixed frequency 1420800, big cores off and the
vendor.thermal-engine stopped:
before after
timeWriteInt_mean: 168 68
timeWriteLong_mean: 164 67
(No benchmarks for writeFloat and writeDouble.)
Test: blueline-userdebug boots.
Change-Id: Iea4ef2a933a7e8115459ab1bc4d6235282b1ceb8
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
