summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-09-18 15:37:24 -0700
committerRomain Guy <romainguy@google.com>2012-09-18 15:37:24 -0700
commite91aa0fa64db892194ba82ec7d41df6fb9185471 (patch)
treed0cb8327ab5939248e369a4d7c34b5b8165b351e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta4b0e5590dc303df68256254f732ef632e6912f3 (diff)
Compute GradientDrawable's opacity correctly
The current implementation of GradientDrawable always assumes the shape needs to be blended. This causes all windows to be considered translucent by default. This change recomputes the opacity as needed to ensure windows are marked opaque when they should. Change-Id: Iaf291d889a6c5122ab00c9f5781df3e7f61547fa
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions