summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYujie Qin <yujieqin@google.com>2016-02-29 14:00:29 +0100
committerYujie Qin <yujieqin@google.com>2016-02-29 15:49:51 +0100
commitc1d7b7f71ce1a55548d7e8bb32d728190e2ffd47 (patch)
tree5d40cb0846457ded4804103ec22a497ff815a783 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent42d8b7d7abe4ecab049e020c3836dae97660dd4d (diff)
Use SkFILEStream directly when possible
When decoding from a file descriptor, if the descriptor is seekable and has no offset, use SkFILEStream directly instead of wrapping in an SkFrontBufferedStream. This will let the SkRawCodec take advantage of a seekable stream. One can see 2x speed up for RAW cases. Bug: 27097104 Change-Id: I369fbb3af1170c94ec7cd9bb35e8e0007dde9fd5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions