summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-03-13 18:00:10 -0700
committerRomain Guy <romainguy@google.com>2012-03-13 18:00:10 -0700
commit390f882f8905e8d1ac0d4b7f2e01aa04dccc3c16 (patch)
treee3959d0a87585b60b8c4e1bc0d16ca874cda9c23 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6810a2442b7c38a3f5d04aa91cef9c0cc5f92cb9 (diff)
Correctly compute the number of bytes written by each op.
Bug #6157792 Previously, DisplayListRenderer would compute the number of bytes written after a drawing op by looking at the difference between the start pointer of the command stream and the end pointer of the command stream. The SkWriter class used to record the commands stream allocates blocks of storage which would cause a crash when a command spanned two blocks. Change-Id: I4d79d3feeb6d72d9d4e6ab05ecebd72d004be56c
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions