commit | 768480c2458fda63f5eaab37c03e0671d759c514 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Sat Jan 25 17:54:22 2014 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Sat Jan 25 17:54:22 2014 -0800 |
tree | d87906af3dd184154b3c10044486fb0c631933f9 | |
parent | 3c30eff63fb33901df4e040ecce78f7755be588f [diff] |
Fix dest == src bugs in Matrix.cpp. The main bug was that the AutoJavaFloatArray autoSrc was not passing in read only. This meant that the destructor overwrote the data which the autoDst AutoJavaFloatArray had written in it's destructor. This case only happened if src == dest and the arrays were copies. Also improved performance by passing in read only a few other places. Bug: 12570144 Change-Id: Idc8764087dc165433c584b87a0f9d4ed0ec795e8