summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-03-15 11:12:25 -0700
committerThe Android Automerger <android-build@android.com>2011-03-15 14:55:43 -0700
commitd506e16f472cf16c755c9f3ed7450c9988e9447b (patch)
treeb61731eefbd5f4b55ca524df329bce6abf2a06a9 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentec079ef517f7132b0c2d5f8437cfa29797881e19 (diff)
Fix disappearing edges in lists/scrollviews/etc.
Bug #4093871 This bug was introduced by a change that modified the way fade areas are cleared. The previous change relied on Rect::intersect() to empty the intersected rect when the two rects don't intersect. Unfortunately this is not what intersect() does. The fix is rather simple and sets the layer's bounds to empty when they don't intersect with the clip or the viewport. This has the side effect of ignoring the layer which is the expected result. Change-Id: Icf0038b9a476c53f8eff7084136aba3033d093e6
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions