summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTomasz Mikolajewski <mtomasz@google.com>2015-06-12 17:13:26 -0700
committerTomasz Mikolajewski <mtomasz@google.com>2015-07-23 13:43:49 +0900
commit74fe1816e84fc097adc5af1b6e866b4a219dca91 (patch)
tree62caa4ef48ffb255f46a75af788d9a48017458c8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3b409d01b9511e196ca5ad746c44fd93925ab1b8 (diff)
Add support for efficient copy within a document provider.
Currently copying files even within the same document provider causes reading and writing all of the bytes, which is very inefficient for all network based solutions, eg. Drive where copying even huge files can be instant. This CL adds an optional copyDocument method to the DocumentProvider as well as DocumentContract so providers can implement an efficient way of copying things. If not implemented, we would fallback to copying by streaming. BUG=None Change-Id: I8f2b2c0c834717f07d42f8247cd1fc025e82239a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions