summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMatthias Thomae <matthias.thomae@teleca.com>2010-12-15 15:43:31 +0100
committerMatthias Thomae <matthias.thomae@teleca.com>2012-02-17 11:56:27 +0100
commit9962ca12fbafdf642a03ed047c496aae7a893b9a (patch)
treee6948d5ec4e6ca51f44ed0476d9f09a937501588 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent472512f6970fa170e2e1a3e1c24ac2b742e2e6b6 (diff)
Increase PDU parts buffer size for performance reasons
Changed the size of the temporary buffer used when storing a PDU part to 8192 bytes instead of the previous 256 bytes. This greatly decreases the time needed to store relatively large PDU parts. The times to store PDU parts were so long that we frequently ended up with an ANR. This change resulted in a total time usage of ~1000 ms instead of ~10000 ms for ~500 kB worth of data. Change-Id: Ia02cb28e4fd9dfe3aaa1fa30ff37659951cbed93
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions