summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2015-11-25 11:21:13 -0800
committerMiao Wang <miaowang@google.com>2016-01-25 16:12:37 -0800
commit0facf021ea1a0399d956372b9d3ad9025a9a04d2 (patch)
tree158e05cbc7e58d435a2b242503b4cf5430cc55eb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9e892f53dd489c824b6a39c45028f838123daa85 (diff)
[RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer
Bug: 25926361 Bug: 23535524 - Construct the ByteBuffer using the AllocationGetPointer. - Add an API to query the stride of the allocation. - Both ByteBuffer and Stride will be cached for normal Allocations. if using USAGE_IO, since after each ioReceive, the mallocPtr will change, getByteBuffer will always create a new one using the most up-to-date mallocPtr. Change-Id: I5e84b6690e83bb062c383043275524d0e51e46eb
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions