summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2017-04-12 11:30:41 -0400
committerMike Reed <reed@google.com>2017-04-12 11:52:22 -0400
commit2cb0826d2e9d5b5e7721a150977ef1cc5b432301 (patch)
tree3f07fc89cf3982ced933823fecfb5966897d07dd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9c58d46e1d31b50fe70eaf26d98f87ef2fdd5f9a (diff)
lockPixels is no longer virtual
See skbug.com/6481 With pixelrefs now always (logically) locked, we no longer override onNewLockPixels/onUnlockPixels. We also must now pass our address/rowBytes to the base constructor. These changes allow us to remove duplicate fields in the hwui Bitmap subclass -- mRowBytes and mColorTable, since these fields are now always available from the base-class. However, since this subclass still wants to overwrite const fields in the base-class (its reconfigure api), change the impl to use the newly added private method (android_only_reset) to encapsulate this. Test: hwui_unit_tests and CtsGraphicsTestCases pass Change-Id: I57a3af1135580513b708f35549a6defb7ac6c04e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions