summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2013-12-03 15:10:04 -0500
committerLeon Scroggins III <scroggo@google.com>2013-12-17 15:51:33 -0500
commitb9c58ab617c257dbece105167b21e94faad67320 (patch)
tree3af5048eda33c469d252f75b7c8f3a0f2713a3bc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0a11eb10ff08ad7a683cfc7c458b6625b955df2c (diff)
Merge AssetStream with AssetStreamAdaptor.
Add enums to the constructor for AssetStreamAdaptor to choose the different behaviors used by the (former) two different classes. The old clients of AssetStream now get the following features of AssetStreamAdaptor - Debugging statements on error. - The stream is an SkStreamRewindable. - getLength() returns the correct value, and the old way of getting the length (read(NULL, 0)) is no longer implemented, since it is no longer used. - isAtEnd() returns the correct value. ToT Skia makes it pure virtual, so some implementation is necessary. Change-Id: I2a5395914e4f53830aaefee396556459083a1c56
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions