summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptGL.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-03-21 11:09:45 -0700
committerJohn Reck <jreck@google.com>2014-03-21 18:16:18 +0000
commit91f0a455bb6670b59b8d15cc7a9adb0e6d7f146d (patch)
treed1ae665f9ea5884833b49c5892f075ed94bb77e8 /rs/java/android/renderscript/RenderScriptGL.java
parent3f5232220f2db839f690489ed272113f660daa40 (diff)
Eliminate mHasAlpha
Bug: 13580771 The cached value mHasAlpha on Bitmap could get out of sync with the real value stored in the SkBitmap. Fix this by just eliminating the cached value. This adds an extra JNI call in copy(), createBitmap(), and setPremultiplied(), none of which are going to be significantly impacted by the extra JNI call. Change-Id: I4fce069a77d9b3bbb47dde04275ff8510ce7e4f0
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions